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
--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail: [email protected]
Web: http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users