Hi Kristis,

I made that change, but I now get this  upon starting the daemon:

C:\Program Files\Scmbug\etc\init.d>scmbug-server.bat
Starting SCM to bug-tracking integration daemon: scmbug_daemon
Can't call method "installation_directory" on an undefined value at
C:/Program Files/Scmbug/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line
131.
BEGIN failed--compilation aborted at C:/Program
Files/Scmbug/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 131.
Compilation failed in require at C:/Program
Files/Scmbug/share/scmbug/lib/Scmbug/Daemon/Daemon.pm line 22.
BEGIN failed--compilation aborted at C:/Program
Files/Scmbug/share/scmbug/lib/Scmbug/Daemon/Daemon.pm line 22.
Compilation failed in require at C:\Program
Files\Scmbug\sbin\scmbug_daemon.pl line 25.
BEGIN failed--compilation aborted at C:\Program
Files\Scmbug\sbin\scmbug_daemon.pl line 25.


If I hard code the path directly to either:

use lib qw(d:/internal applications/bugzilla/bugzilla-3.4.5);
or
use lib qw(d:/internal applications/bugzilla/bugzilla-3.4.5/lib);

It goes back to giving me the original error (can't find package
'Bugzilla').

Thanks,
James.

-----Original Message-----
From: Kristis Makris [mailto:[email protected]] 
Sent: 21 June 2010 18:20
To: James Thorpe
Cc: scmbug-users
Subject: Re: [scmbug-users] scmbug 0-26-18, bugzilla 3.4.5 - daemon
startuperror

Hi James,

> My bugzilla.pm already has this block:
> 
>     if ($self->is_version_latest()) {
>         unshift @INC, $self->installation_directory() . "/lib";
>     }

As Michal suggested, can you try the following (or hardcode the path) ?

if ($self->is_version_latest()) {
         use lib $self->installation_directory() . "/lib";
         #use lib qw(my_path_to_bugzilla/lib);
}

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to