Hi,

I recently updated my Bugzilla to 4.0 final and used Yavor's patch (bug 1498) 
to allow me to continue using Scmbug. 

I found, after many hours of frustration, that a change to the Bugzilla.pm in 
the Bugzilla 4.0 source was stopping the Scmbug daemon from running. 

I'd run the Scmbug-server.bat file and it would just return to the command 
prompt. Checking the activity.log file the only entry would be that it read the 
configuration file. 
Entering debug statements in the daemon.pm file indicated that it was crashing 
out at the daemonize routine when creating the thread.

I had to revert the following code in the Bugzilla.pm file in the Bugzilla 
source in order to get Scmbug daemon to run...

87      7257    
    if (Bugzilla->usage_mode == USAGE_MODE_CMDLINE) {
88              
        init_console();
89              
    }
90              
    elsif (Bugzilla->params->{'utf8'}) {
91              
        binmode STDOUT, ':utf8';
92              
    }

This was reverted to the code from 3.6.4

87      5334    
    (binmode STDOUT, ':utf8') if Bugzilla->params->{'utf8'};


This solution worked for me but would there be a fix to the daemonize routine 
for other users in my situation?

Thanks for a fantastic piece of software in Scmbug!

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

Reply via email to