On Mon, 2011-03-07 at 12:06 +0100, Thorsten Schöning wrote:
> Guten Tag Marcel Loose,
> am Montag, 7. März 2011 um 11:12 schrieben Sie:
> 
> > Can't call method "installation_directory" on an undefined value
> > at /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 142.
> 
> We had that before, don't know why $self is undefined in that
> context. Try with the following:
> 
>     if ($self->is_version_up_to_3_4() || $self->is_version_latest()) {
>         use Cwd ();
>         use lib Cwd::getcwd().'lib';
>         #unshift @INC, $self->installation_directory() . "/lib";
>     }
> 
> This doesn't give an error and the current working directory is set
> right before the alternative. If that works, use Cwd can go to the
> head of the file.
> 
> Mit freundlichen Grüßen,
> 
> Thorsten Schöning
> 

Hi Thorsten,

Unfortunately, it doesn't work. I still get Scmbug error 79.

I was a bit surprised to find this line

2011/03/07 14:12:45 Scmbug ERROR> 
Bugzilla.pm:168:Scmbug::Daemon::Bugzilla::init_specific - Argument "" isn't 
numeric in numeric eq (==) at /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm 
line 168.

in the /var/log/scmbug/activity.log. I'm not sure it was in there
before. However, it's still there after I completed removed and
reinstalled scmbug. It could be a result of, rather than a cause of, the
"Package 'Bugzilla' not found ..." error.

BTW: Up until now we've been trying to get <bugzilla-dir>/lib into the
search path, however Bugzilla.pm resides in <bugzilla-dir>. Are we
trying to accomplish the wrong thing?

Cheers,
Marcel Loose.


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

Reply via email to