Closed Bug 353459 Opened 19 years ago Closed 19 years ago

Unable to load config.pl if the GTop perl module is installed.

Categories

(Webtools Graveyard :: Despot, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justdave, Assigned: reed)

Details

Attachments

(2 files)

We couldn't get despot to work on landfill because the config failed to load. After much pulling of hair we discovered there was another config.pl in the @INC search path. [root@landfill despot]# rpm -q --whatprovides /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/config.pl perl-GTop-0.16-1 Adding a "use lib qw(.);" near the top of despot.cgi fixes the problem (by putting . at the top of the @INC search path instead of the bottom).
Add a "use lib qw(.);" statement to the top of despot.cgi.
Assignee: justdave → reed
Status: NEW → ASSIGNED
Attachment #239314 - Flags: review?(justdave)
Attachment #239314 - Flags: review?(justdave) → review+
Checking in despot.cgi; /cvsroot/mozilla/webtools/despot/despot.cgi,v <-- despot.cgi new revision: 1.38; previous revision: 1.37 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
The patch doesn't fix it completely. New patch to fix the rest of the files coming soon.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
we should just name the config file something else. despot.conf or something maybe. :)
Fix checkandwhine.pl and syncit.pl, too.
Attachment #248539 - Flags: review?(justdave)
Comment on attachment 248539 [details] [diff] [review] Fix two other files - v1 this is fine though
Attachment #248539 - Flags: review?(justdave) → review+
Checking in checkandwhine.pl; /cvsroot/mozilla/webtools/despot/checkandwhine.pl,v <-- checkandwhine.pl new revision: 1.8; previous revision: 1.7 done Checking in syncit.pl; /cvsroot/mozilla/webtools/despot/syncit.pl,v <-- syncit.pl new revision: 1.37; previous revision: 1.36 done
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: