Yes, the installation_directory variable was set correctly (H:/Bugzilla in my case). Adding the two lines to scmbug-daemon.pl was the only modification I made to my system between it not working and working.
I think the daemon would not have started if it could not find the bugzilla installation, correct? Brian On Tue, Dec 16, 2008 at 4:55 PM, Kristis Makris <[email protected]>wrote: > Did you have the installation_directory variable configured properly > (Set to 'D:/Bugzilla') ? > > On Tue, 2008-12-16 at 16:32 -0500, Michael Marshall wrote: > > The daemon seems not to be able to load the Bugzilla API. I bypassed > > this > > > > problem inserting these two lines in scmbug-daemon.pl: > > > > > > > > use lib "D:/Bugzilla"; > > > > use Bugzilla; > > > > > > > > I found the above patch in a forum and it worked for me. Everything > > seems to be working at this point. > > > > Also this is running on Windows with svn, scmbug, and bugzilla all on > > the same box. > > > > > > Thanks, > > Brian > > > > On Tue, Dec 16, 2008 at 4:21 PM, Kristis Makris > > <[email protected]> wrote: > > Hi Marshall, > > > > This is certainly a bug: > > > > http://bugzilla.mkgnu.net/show_bug.cgi?id=1301 > > > > It is similar to: > > > > http://bugzilla.mkgnu.net/show_bug.cgi?id=1246 > > > > where it was suggested to add a "use Bugzilla" statement, > > somewhere. Can > > you have a look at 1246 and see if that works ? > > > > > > > > On Tue, 2008-12-16 at 11:48 -0500, Michael Marshall wrote: > > > I am integrating svn and bugzilla for the first time. > > > > > > I am using > > > scmbug 0.26.9 > > > Bugzilla 3.0.6 > > > > > > > > > When I make a svn commit the daemon records the following > > error in > > > activity.log > > > > > > 2008/12/16 10:29:23 Scmbug WARN> > > > > > Process.pm:886:Scmbug::Daemon::Process::process_activity_verify - > > > 127.0.0.1:2348 Processing an 'activity_verify' for bug id > > '2' from SCM > > > user 'marshallb' > > > 2008/12/16 10:29:23 Scmbug ERROR> Daemon.pm:633:main:: - > > thread failed > > > to start: Can't locate object method "new" via package > > "Bugzilla::Bug" > > > at C:/Program > > Files/Scmbug/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm > > > line 785, <GEN5> line 33. > > > > > > > > > This occurs when it is trying to use the Bugzilla Perl > > interface, > > > correct? > > > If the paths were wrong to the bugzilla source, the daemon > > would have > > > failed to launch. corrent? > > > > > > Also, I commented out the following in Bugzilla.pm where is > > it is > > > checking for the DBI module. It is installed correctly and > > I saw a > > > forum post that said commenting this out worked. > > > > > > # > > > # Require DBI version 1.50 on Windows. Earlier versions > > have > > > # threading issues. > > > # > > > # if ($PRODUCT_ON_WINDOWS) { > > > # $package_name = "DBI"; > > > # $package_version = "1.50"; > > > # my $package_exists_retval; > > > # my $package_exists_version_found = ""; > > > # ( $package_exists_retval, > > $package_exists_version_found ) = > > > package_exists( $package_name, $package_version ); > > > # if ( $package_exists_retval == 0 ) { > > > # if ( $package_exists_version_found eq "" ) { > > > # return ( 2, "Package '" . $package_name . "' not > > found. v > > > $package_version is needed.\n" . > > > package_installation_instructions( $package_name ) ); > > > # } else { > > > # return ( 2, "Package '" . $package_name . "' v > > > $package_version not found. v$package_exists_version_found > > found > > > instead.\n" . > > package_installation_instructions( $package_name ) ); > > > # } > > > # } > > > # } > > > > > > > > > > > > > > _______________________________________________ > > > scmbug-users mailing list > > > [email protected] > > > http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users > > >
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
