Hello,
thank you for the help. I remove the patches and apply them again with the 
right –p option you said and now it is working.
Regards,
Afi

From: [email protected] 
[mailto:[email protected]] On Behalf Of Yavor Nikolov
Sent: Wednesday, June 29, 2011 10:24 AM
To: [email protected]
Subject: Re: [scmbug-users] Bugzilla 4.0.1 Support Problems

Hi Afi,


def_or is a subroutine defined in scmbug_bugzilla_custom_status_workflow.patch 
patch. If patch has been applied correctly - you should see it in 
scmbug/lib/Scmbug/Common.pm.

I think the proper steps to apply the patches should be something like that:
cd /usr/share/scmbug/lib/Scmbug/
patch -p4 < ~/Downloads/scmbug-customization-0.26.22.patch
patch -p3 < ~/Downloads/scmbug_bugzilla_use_lib_with_Factory.patch
patch -p3 < ~/Downloads/scmbug_bugzilla_custom_status_workflow.patch

(And you shouldn't get any errors from the patch command).

Yep, PERL5LIB is not supposed to be needed (unless some really basic modules 
are missing globally but present in Bugzilla/lib).

Regards,
Yavor
On Wed, Jun 29, 2011 at 11:20, Amouzou, Afi 
<[email protected]<mailto:[email protected]>> wrote:

Hello,

My company is using Bugzilla for a long time now and we have already update our 
Productive Bugzilla to version 4.0.1 with a custom bug status workflow. We want 
to integrate it now with scmbug and I am testing the integration in a test 
system. So I need the support for Bugzilla 4.0.1.

I will try to remove the patches and apply them again. Is there any special 
recommendation for how to apply them, because I apply them with path -p1 
>patch-name

Thanks


-----Original Message-----
From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Thorsten Schöning
Sent: Wednesday, June 29, 2011 9:48 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [scmbug-users] Bugzilla 4.0.1 Support Problems

Guten Tag Amouzou, Afi,
am Dienstag, 28. Juni 2011 um 18:09 schrieben Sie:

> I added the export PERL5LIB=/path/to/Bugzilla/lib to my scmbug start script.

I would have thought that this is unnecessary with the already
applied patch 
http://www.mail-archive.com/[email protected]/msg02666.html

Scmbug ERROR>> Bugzilla.pm:549:Scmbug::Daemon::Bugzilla::bug_status_map - 
Undefined subroutine &Scmbug::Daemon::Bugzilla::def_or called at 
/usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 549.
[...]
> I think it can be also a configuration error because I new to
> scmbug, so I don´t know how to configurate it propaly. Can you
> please told me what I did wrong in my config files? The config file are 
> attached.

This is no configuration error, I think your patches are missing
something or weren't applied properly. There surely is missing code
regarding bug_status_map.

Is it really necessary to run Bugzilla 4 instead of the supported 3.6?
Upgrades of Bugzilla re pretty easy and if you just want to start I
would suggest using Bugzilla 3.6, which is officially supported by
SCMBug and Bugzilla.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig

Telefon: Potsdam: 0331-743881-0<tel:0331-743881-0>
E-Mail:  [email protected]<mailto:[email protected]>
Web:     http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow

_______________________________________________
scmbug-users mailing list
[email protected]<mailto:[email protected]>
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
_______________________________________________
scmbug-users mailing list
[email protected]<mailto:[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

Reply via email to