--
The day Micro$oft sells something that doesn't SUCK
is the day they start selling vacuum cleaners.
http://www.geocities.com/tsahi_75



----- Original Message ----
> From: Kristis Makris <[email protected]>
> To: Tsahi Asher <[email protected]>
> Cc: scmbug-users <[email protected]>
> Sent: Thursday, February 12, 2009 7:53:53 PM
> Subject: Re: [scmbug-users] Scmbug error 79: Package 'Bugzilla' not found
> 
> On Wed, 2009-02-11 at 23:45 -0800, Tsahi Asher wrote:
> > Alright, looking at how I did it the last time, I noticed a missing ">" at 
> > the 
> "open" statement, so I wrote it like
> > 
> >     open OUTFILE, "> D:/debug.txt";
> >     print OUTFILE Dumper( @INC );
> >     close OUTFILE;
> > 
> > and got this at debug.txt:
> > 
> > $VAR1 = 'C:/Program Files (x86)/Apache Software 
> Foundation/Apache2.2/htdocs/bugs';
> > $VAR2 = 'C:/Program Files/Scmbug/share/scmbug/lib';
> > $VAR3 = 'C:/Perl/site/lib';
> > $VAR4 = 'C:/Perl/lib';
> > $VAR5 = '.';
> 
> Right. So it looks like the Bugzilla libraries have not been included in
> the @INC.
> 
> 
> Are you sure you added the above debugging statement AFTER the following
> in Bugzilla.pm:init_specific ??
> 
>    # Include the bugzilla libraries
>     unshift @INC, $self->installation_directory();
>     chdir $self->installation_directory();
> 

Yes, I'm sure. I checked again now.

> Can you also add:
> 
>     print OUTFILE Dumper( $self );
> 
> ?? I don't understand why the installation_directory you specified in
> daemon.conf is not listed in the @INC. This is the problem.

this is what i got this time (after modifying the "open" statement to open 
OUTFILE, ">> D:/debug.txt";):

$VAR1 = 'C:/Program Files (x86)/Apache Software 
Foundation/Apache2.2/htdocs/bugs';
$VAR2 = 'C:/Program Files/Scmbug/share/scmbug/lib';
$VAR3 = 'C:/Perl/site/lib';
$VAR4 = 'C:/Perl/lib';
$VAR5 = '.';
$VAR1 = bless( {
                 'database_vendor' => 'mysql',
                 'location' => '127.0.0.1',
                 'version' => '3.0.0',
                 'installed_locally' => 1,
                 'installation_directory' => 'C:/Program Files (x86)/Apache 
Software Foundation/Apache2.2/htdocs/bugs',
                 'port' => '3306',
                 'username' => 'bugs',
                 'version_type' => 'latest',
                 'database' => 'bugs',
                 'password' => '*******', # I deleted that
                 'bug_url_prefix' => 
'http://devserver:8080/bugs/show_bug.cgi?id='
               }, 'Scmbug::Daemon::Bugzilla' );

note that the installation_directory is listed at VAR1.

tsahi


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

Reply via email to