Forwarding to the list. Hmm... Try setting your installation_directory to either "/usr/share/bugzilla", "/usr/share/perl5", or
"/usr/share/bugzilla:/usr/share/perl5".
In any case, in Bugzilla.pm in the Scmbug distribution, try to:
push @INC $dir_name;
for both of these directories.
On Sat, 2008-09-20 at 07:39 -0700, Rob wrote:
> I was looking in the wrong directory for the Bugzilla perl files.
>
> [EMAIL PROTECTED]:/usr/share/perl5# grep -irnH pushglobalsqlstate *
> Bugzilla/FlagType.pm:138: &::PushGlobalSQLState();
> Bugzilla/FlagType.pm:265: &::PushGlobalSQLState();
> Bugzilla/FlagType.pm:304: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:144: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:177: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:211: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:770: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:898: &::PushGlobalSQLState();
> Bugzilla/DB.pm:45: PushGlobalSQLState
> PopGlobalSQLState)
> Bugzilla/DB.pm:131:sub PushGlobalSQLState {
> Bugzilla/DB.pm:1549:PushGlobalSQLState
> Bugzilla/User.pm:840: &::PushGlobalSQLState();
> Bugzilla/User.pm:854: &::PushGlobalSQLState();
> Bugzilla/User.pm:888: &::PushGlobalSQLState();
>
> The globals.pl file is in a different directory from those
> Bugzilla files.
>
> [EMAIL PROTECTED]:/usr/share/bugzilla# !g
> grep -irnH pushglobalsqlstate *
> globals.pl:339: PushGlobalSQLState();
> globals.pl:360: PushGlobalSQLState();
> globals.pl:383: PushGlobalSQLState();
> globals.pl:419: PushGlobalSQLState();
> globals.pl:443: PushGlobalSQLState();
> globals.pl:454: PushGlobalSQLState();
> globals.pl:464: PushGlobalSQLState();
> globals.pl:476: PushGlobalSQLState();
> globals.pl:598: PushGlobalSQLState();
> globals.pl:664: PushGlobalSQLState();
> globals.pl:731: PushGlobalSQLState();
> globals.pl:743: PushGlobalSQLState();
> globals.pl:752: PushGlobalSQLState();
> globals.pl:761: PushGlobalSQLState();
> globals.pl:775: PushGlobalSQLState();
>
>
> Does it matter that the package installer put them in a
> different directory structure?
>
> I'll go through and double check my settings to see if I screwed
> something up.
>
> Thanks
>
> Rob
>
>
>
>
>
> ----- Original Message ----
> From: Kristis Makris <[EMAIL PROTECTED]>
> To: Rob <[EMAIL PROTECTED]>
> Cc: [email protected]
> Sent: Wednesday, September 17, 2008 1:16:18 AM
> Subject: Re: [scmbug-users] Scmbug error 24?
>
> That's not what I'm getting with 2.22.0.
>
> $ grep -irnH pushglobalsqlstate *
> Bugzilla/DB.pm:45: PushGlobalSQLState
> PopGlobalSQLState)
> Bugzilla/DB.pm:131:sub PushGlobalSQLState {
> Bugzilla/DB.pm:1549:PushGlobalSQLState
> Bugzilla/FlagType.pm:138: &::PushGlobalSQLState();
> Bugzilla/FlagType.pm:265: &::PushGlobalSQLState();
> Bugzilla/FlagType.pm:304: &::PushGlobalSQLState();
> Bugzilla/User.pm:798: &::PushGlobalSQLState();
> Bugzilla/User.pm:812: &::PushGlobalSQLState();
> Bugzilla/User.pm:846: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:144: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:177: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:211: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:770: &::PushGlobalSQLState();
> Bugzilla/Flag.pm:898: &::PushGlobalSQLState();
> globals.pl:338: PushGlobalSQLState();
> globals.pl:359: PushGlobalSQLState();
> globals.pl:382: PushGlobalSQLState();
> globals.pl:416: PushGlobalSQLState();
> globals.pl:440: PushGlobalSQLState();
> globals.pl:451: PushGlobalSQLState();
> globals.pl:461: PushGlobalSQLState();
> globals.pl:473: PushGlobalSQLState();
> globals.pl:594: PushGlobalSQLState();
> globals.pl:660: PushGlobalSQLState();
> globals.pl:727: PushGlobalSQLState();
> globals.pl:739: PushGlobalSQLState();
> globals.pl:748: PushGlobalSQLState();
> globals.pl:757: PushGlobalSQLState();
> globals.pl:771: PushGlobalSQLState();
>
> Can you verify this ? I can't imagine this being removed in 2.22.1.
>
> On Tue, 2008-09-16 at 18:35 -0700, Rob wrote:
>
> > > &Scmbug::Daemon::Bugzilla::PushGlobalSQLState
>
>
> But it seems that this function is not loaded correctly. It seems that
> globals.pl is not loaded, even though we:
>
> do 'globals.pl';
>
> somewhere in there.
>
>
>
>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
