Hi all,
I searched the mailing list and found a couple of previous posts about
this error. But they didn't solve my problem.
I'm using:
Subversion 1.5.6
TortoiseSVN 1.5.6
Bugzilla 3.0.8
ScmBug 0.26.15
The ScmBug activity log posts the following:
*2009/07/24 09:40:33 Scmbug WARN>
Daemon.pm:659:Scmbug::Daemon::Daemon::connection_handler_thread -
127.0.0.1:1132 Processing connection from NUL NUL SOH
2009/07/24 09:40:33 Scmbug WARN>
Process.pm:885:Scmbug::Daemon::Process::process_activity_verify -
127.0.0.1:1132 Processing an 'activity_verify' for bug id '1' from SCM
user 'Administrator'
2009/07/24 09:40:33 Scmbug DEBUG>
Integration.pm:115:Scmbug::Daemon::Integration::process_activity_verify
- 127.0.0.1:1132 Entering process_activity_verify.
2009/07/24 09:40:33 Scmbug DEBUG>
Integration.pm:125:Scmbug::Daemon::Integration::process_activity_verify
- 127.0.0.1:1132 Will perform verification on bug 1.
2009/07/24 09:40:33 Scmbug DEBUG>
Integration.pm:130:Scmbug::Daemon::Integration::process_activity_verify
- 127.0.0.1:1132 valid_product_name is enabled.
2009/07/24 09:40:33 Scmbug ERROR> Daemon.pm:634:main:: - Thread 8
terminated abnormally: Can't locate object method "dbh" via package
"Bugzilla" at D:/Bugzilla/Bugzilla/Object.pm line 53, <GEN7> line 33.*
The glue activity log posts this:
*Commit blocked by pre-commit hook (exit code 1) with output:
Scmbug notice: ---------------------------------------------------------
Scmbug INFO> Glue.pm:110:Scmbug::Glue::Glue::process - Read
configuration file 'J:\SVN\repos/hooks/etc/scmbug/glue.conf'
Scmbug DEBUG> Glue.pm:111:Scmbug::Glue::Glue::process - Arguments
are$VAR1 = 'activity_verify';
$VAR2 = 'J:\\SVN\\repos';
$VAR3 = '24-1a';
Scmbug INFO> Glue.pm:207:Scmbug::Glue::Glue::check_configuration -
Checking configuration
Scmbug INFO> Subversion.pm:100:Scmbug::Glue::Subversion::detect_version -
Detected Subversion version 1.5.6
Scmbug notice: Preparing for VERIFICATION
Scmbug INFO>
Subversion.pm:199:Scmbug::Glue::Subversion::prepare_activity_verify_or_commit
-
Calling 'svnlook.exe info' to collect activity information
Scmbug INFO>
Subversion.pm:215:Scmbug::Glue::Subversion::prepare_activity_verify_or_commit
-
Reading the log message
Scmbug INFO>
Subversion.pm:236:Scmbug::Glue::Subversion::prepare_activity_verify_or_commit
-
This is a commit activity, and we must find the new version number using
transaction number '24-1a'
Scmbug INFO>
Subversion.pm:237:Scmbug::Glue::Subversion::prepare_activity_verify_or_commit
-
Calling 'svnlook.exe youngest' to find the current repository revision
Scmbug INFO>
Subversion.pm:249:Scmbug::Glue::Subversion::prepare_activity_verify_or_commit
-
Calling 'svnlook.exe changed' to find the list of affected files
Scmbug DEBUG>
Subversion.pm:261:Scmbug::Glue::Subversion::prepare_activity_verify_or_commit
-
Found file_state 'A' for file_name 'Spectralux/Simulations/VDLSim/Source
Code/1 Ethernet_Client.cpp'
Scmbug DEBUG> Activity.pm:205:Scmbug::Activity::prepare_product_name - Will
consider the special case of '(.*)' for the product name.
Scmbug DEBUG> Activity.pm:218:Scmbug::Activity::prepare_product_name -
Must not
autodetect the product name. It was manually defined with the special
case of '(.*)'
Scmbug INFO>
Subversion.pm:414:Scmbug::Glue::Subversion::is_labeling_operation
- Identifying a labeling operation for
'Spectralux/Simulations/VDLSim/Source
Code/1 Ethernet_Client.cpp'.
Scmbug DEBUG>
Subversion.pm:533:Scmbug::Glue::Subversion::is_labeling_operation
- This isn't a labeling operation. It's a commit after a labeling
directory,
after a product directory.
Scmbug DEBUG>
Subversion.pm:533:Scmbug::Glue::Subversion::is_labeling_operation
- This isn't a labeling operation. It's a commit after a labeling
directory,
after a product directory.
Scmbug DEBUG>
Subversion.pm:541:Scmbug::Glue::Subversion::is_labeling_operation
- Found no label_name.
Scmbug DEBUG> SCM.pm:319:Scmbug::Glue::SCM::prepare_final_log_message - The
original log message was 'Bug 1: Initial revision
'
Scmbug DEBUG> SCM.pm:321:Scmbug::Glue::SCM::prepare_final_log_message -
presence_of_bug_ids is 'required'.
Scmbug INFO> SCM.pm:329:Scmbug::Glue::SCM::prepare_final_log_message -
Searching for resolution bug ids
Scmbug INFO> SCM.pm:458:Scmbug::Glue::SCM::prepare_final_log_message -
Searching for log bug ids
Scmbug DEBUG> SCM.pm:493:Scmbug::Glue::SCM::prepare_final_log_message -
The log
message with the resolution removed is 'Bug 1: Initial revision
'
Scmbug DEBUG> SCM.pm:520:Scmbug::Glue::SCM::prepare_final_log_message -
The new
modified log message is 'Initial revision
'
Scmbug INFO> Glue.pm:126:Scmbug::Glue::Glue::process - Detecting the
branch name
Scmbug DEBUG>
Subversion.pm:594:Scmbug::Glue::Subversion::detect_branch_name -
Detecting branch name for file 'Spectralux/Simulations/VDLSim/Source
Code/1 Ethernet_Client.cpp'.
Scmbug DEBUG>
Subversion.pm:681:Scmbug::Glue::Subversion::detect_branch_name -
The branch name detected was 'Cannot_be_determined'.
Scmbug INFO> Glue.pm:454:Scmbug::Glue::Glue::check_policies - Checking
the policies
Scmbug notice: Processing activity
Scmbug INFO> Connection.pm:304:Scmbug::Connection::submit_request -
Preparing
to submit request
Scmbug INFO> Connection.pm:325:Scmbug::Connection::submit_request -
Connecting
to the daemon at 127.0.0.1:3872
Scmbug notice: Submitting request
Scmbug notice: Request submission was not replied to
Scmbug ERROR> Connection.pm:366:Scmbug::Connection::submit_request -
*******************************************
**
**
** Scmbug error 24: The daemon-spawned connection handler exited
abnormally.
Please check the daemon error logs.
**
**
********************************************
I got this from a previous post about this issue (for Bugzilla 3.1.3).
*
Nope, that's not the issue. What you can do, manually, for debugging to
is modify Bugzilla.pm to add code like:
open FILEOUT, ">>/tmp/debug";
print FILEOUT "Got to this point -- 1\n";
close FILEOUT;
Also modify the line:
my $userid = Bugzilla::User::login_to_id( $username );
to read:
use Bugzilla::User;
my $userid = Bugzilla::User::login_to_id( $username );*
I tried this but it didn't work.
I think I have something else going on here as well. I followed the
following two guides to get my system working (and used the ScmBug
manual as a reference):
http://whaleback.posterous.com/installing-scmbug-with-subvers
http://blog.loftninjas.org/2008/04/15/bugzilla-and-subversion-integration-with-scmbug/
But I had an issue that I don't think I handled properly and I think it
may be the cause of my current problem. In my daemon.conf I set the
installation_directory to:
*installation_directory => 'C:/ScmBug/share/scmbug/lib/Scmbug/Daemon'*
even though Bugzilla is actually installed at "*D:/Bugzilla*". I did
this because the Scmbug daemon refused to load if I set to:
*installation_directory => 'D:/Bugzilla'*
And if I copied "*C:/ScmBug/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm*"
to "*D:/Bugzilla*" then Bugzilla refused to load.
I've read section 6.1 of the manual and tried every combination I can think.
Is my problem my settings in daemon.conf? Or is it something else?
--
*Martin Goff*
Software Development Alternatives, Inc.
[email protected] <mailto:[email protected]>
928-632-9946 (work)
928-632-9943 (fax)
"Effective teaching is the essence of leadership..."
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users