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

RESOLVED FIXED

Status

Webtools Graveyard
Despot
RESOLVED FIXED
11 years ago
a year ago

People

(Reporter: justdave, Assigned: reed)

Tracking

Details

Attachments

(2 attachments)

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).
(Assignee)

Comment 1

11 years ago
Created attachment 239314 [details] [diff] [review]
Add use lib qw(.)

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+
(Assignee)

Comment 2

11 years ago
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
Last Resolved: 11 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

11 years ago
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. :)
(Assignee)

Comment 5

11 years ago
Created attachment 248539 [details] [diff] [review]
Fix two other files - v1

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+
(Assignee)

Comment 7

11 years ago
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
Last Resolved: 11 years ago11 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.