Hi. I have upgraded my bugzilla to version 3.2rc1 and installed scmbug
to integrate scmbug and svn

 

I encounter the error of version not supported.

I changed the setting in Bugzilla.pm in Daemon folder to force it
through.

But now I receive another error which I hope someone could help me.

 

I encounter this error first

2008/09/08 14:08:00 Scmbug ERROR> Bugzilla.pm:518 - Undefined subroutine
&Bugzilla::User::login_to_id called at
/usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 518, <DATA> line
253.

I   have got to the code and the error is in this line  

 

my $userid = login_to_id( $username );

 

Based on some other mails, I tried by using bugzilla.pm first before
user.pm as follows:

 

       use Bugzilla

        my $userid = Bugzilla::User::login_to_id( $username );

 

However, I get another error

 

Starting SCM to bug-tracking integration daemon: scmbug_daemonBase class
package "Template::Parser" is empty.

    (Perhaps you need to 'use' the module which defines that package
first.)

 at /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 40

BEGIN failed--compilation aborted at
/usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 40.

 

I tried this

 

       use Bugzilla::user

        my $userid = Bugzilla::User::login_to_id( $username );

 

I get this error

2008/09/10 09:54:45 Scmbug ERROR> Bug.pm:1593 - Can't locate object
method "dbh" via package "Bugzilla" at Bugzilla/user.pm line 1593,
<DATA> line 253.

 

After that, I tried to bypass this line by specifying the value of
userid

        my $userid = '62';

 

however, when I run it I got another error

2008/09/08 14:08:00 Scmbug ERROR> Bugzilla.pm:518 - Undefined subroutine
& Bugzilla::Bug::AppendComment called at
/usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 520, <DATA> line
255.

 

Trying the above method

use Bugzilla

        Bugzilla::Bug::AppendComment( '10612', $userid, $comment );

 

However, I get another error

 

Starting SCM to bug-tracking integration daemon: scmbug_daemonBase class
package "Template::Parser" is empty.

    (Perhaps you need to 'use' the module which defines that package
first.)

 at /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 40

BEGIN failed--compilation aborted at
/usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 40.

 

I tried this

 

       use Bugzilla::Bug

        Bugzilla::Bug::AppendComment( '10612', $userid, $comment );

 

2008/09/10 09:54:45 Scmbug ERROR> Bug.pm:1593 - Can't locate object
method "params" via package "Bugzilla" at Bugzilla/Bug.pm line 1593,
<DATA> line 253.

 

 

Could anyone help? Thanks and regards,

Wee Young

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

Reply via email to