Found the solution, well a workaround.
I do not know why but in Common.pm, I put in the line about use lib
C:/Bugzilla but then right after I added the line Require Bugzilla; (I
read some perl site that said it would load up the module after I called
require so I wanted to see if it could see the package if I called it
manually) and now the daemon works fine checking bug ids and status of
the bug before commit but there is a comments problem.
The comments get added to mysql but are not showing up in the bugzilla
ui. I have a feeling that is a bugzilla problem not scmbug because the
comments are showing up in the bugs_fulltext table and you can search on
the file checked in and it will find the bug but if you look at the bug
it doesn't show the comments.
If anyone has any information on that would be great and feel free to
email me directly.
Thanks
-Pete
From: [email protected]
[mailto:[email protected]] On Behalf Of Peter Howells
Sent: Tuesday, May 05, 2009 4:02 PM
To: [email protected]
Subject: Re: [scmbug-users] Bugzilla 3.2.3 daemon starting problem
Here is some follow up info as well, I dumped off the @INC and $self to
a file and here is what it has
$VAR1 = 'C:/Bugzilla';
$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.2.3',
'installed_locally' => 1,
'installation_directory' => 'C:/Bugzilla',
'port' => '3306',
'username' => 'bugs',
'version_type' => 'latest',
'database' => 'mysql',
'password' => ****,
'bug_url_prefix' =>
'http://127.0.0.1:8080/show_bug.cgi?id='
}, 'Scmbug::Daemon::Bugzilla' );
So the path is there and it should be able to see it, and whenever I
skip the check for Bugzilla, every other package works fine. I can edit
the perl code but I am not familiar with how perl's class loader works.
This will be the last update until reply, sorry for the spam.
-Pete
From: [email protected]
[mailto:[email protected]] On Behalf Of Peter Howells
Sent: Tuesday, May 05, 2009 1:55 PM
To: [email protected]
Subject: [scmbug-users] Bugzilla 3.2.3 daemon starting problem
I have completed this change for the append comment change
http://lists.mkgnu.net/pipermail/scmbug-users/2009-February/002378.html
And am trying to get this to work but the comment at the end of the
following post is not working.
http://bugzilla.mkgnu.net/show_bug.cgi?id=1073#c4
The only way I could get the daemon to work is to hardcode it to
Bugzilla::Bug as in
http://www.mail-archive.com/[email protected]/msg01839.html
but then when it runs it and the hook gets fired I get this error
"Can't locate object method "dbh" via package "Bugzilla" at
C:/Bugzilla/Bugzilla/Object.pm line 60, <GEN2> line 34"
Which I guess is because that package was never found even tho I did put
in the use lib "C:/Bugzilla"; in the Common.pm file in Scmbug.
I even duplicated the Bugzilla.pm into C:/Bugzilla/Bugzilla.pm to see if
that was the class path issue but it seems to be more along the lines as
it sees Bugzilla.pm and just ignores that it the right file because no
matter what I do I can't get it to see Bugzilla.pm. It seems like this
mailing list has a question like this every month but no matter what I
have seen I cannot get this to work correctly.
Anyone have any idea on how to get scmbug daemon working with bugzilla
3.2.3, subversion 1.6.1, and scmbug 0-26-13. Or have instructions to
run scmbug from scratch to get it working?
-Peter Howells
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is
strictly prohibited. If you have received this communication in error,
please notify me immediately by replying to this message and deleting it
and all
copies and backups thereof.
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is
strictly prohibited. If you have received this communication in error,
please notify me immediately by replying to this message and deleting it
and all
copies and backups thereof.
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error, please
notify me immediately by replying to this message and deleting it and all
copies and backups thereof._______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users