Closed Bug 143847 Opened 23 years ago Closed 22 years ago

bug_email failure - unable to find Token.pm

Categories

(Bugzilla :: Bugzilla-General, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: ross, Assigned: justdave)

Details

This bug is against version 2.16rc1 (not in the version list yet) Since installing 2.16rc1 my email interface (./contrib/bug_email.pl) has stopped working. My procmail_log file shows the follwoing error: [Sun May 12 08:34:37 2002] globals.pl: [Sun May 12 08:34:37 2002] bug_email.pl: [Sun May 12 08:34:37 2002] bug_email.pl: Can't locate Token.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . ../.) at .././globals.pl line 628. [Sun May 12 08:34:37 2002] globals.pl: [Sun May 12 08:34:37 2002] bug_email.pl: BEGIN failed--compilation aborted at .././globals.pl line 628. [Sun May 12 08:34:37 2002] globals.pl: Compilation failed in require. Token.pm is present in ./bugzilla directory
You probbaly need to add a |use lib qw(..)|, or something Dupe of bug 139735 - bug_email.pl cannot be run without modifications *** This bug has been marked as a duplicate of 139735 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
I don't think this is a duplicate of 139735 as marked. If I understand that bug properly it is saying you should run from contrib directory. I *am* running from that directory. Furthermore, the error I reported is totally different from the one in the other bug. My problem is that it cannot find Token.pm. However, Token.pm exists in $BUGZILLA.HOME. I note that @INC searches in the current directory *and* the parent directory, therefore it should find Token.pm. Apologies if my analysis is incorrect...
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.18
Do the patches in bug 154008 resolve this issue now?
One thing to note here is that the email scripts (bug_email and bugzilla_email_append) run with different permissions than the rest of bugzilla (and the same for the charting cronjob). You may want to check the permissions of Token.pm to make sure that it can be ran by your mail server as well as your web server.
Personal email from ross@wkwyw.net: > Forgive the personal mail rather than an entry on bugzilla. THe problem > is I don't seem to be able to log in. > > Anyway: > > The bug at http://bugzilla.mozilla.org/show_bug.cgi?id=143847 > > Can be closed, you were correct it was a permissions problem. > > Ross
Status: REOPENED → RESOLVED
Closed: 23 years ago22 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.