Opened 5 years ago

Closed 4 years ago

#1167 closed defect (fixed)

Some @INC manipulation seems to be incorrect in Padre

Reported by: szabgab Owned by:
Priority: major Milestone:
Component: editor Version: 0.84
Keywords: Cc:


I have an installed version 0.78 of Padre and I was trying to run the release candidate of 0.84 using

perl -Ilib script/padre

It launched well but when I tried to turn on syntax checking Padre crashed with this:

Bareword "Padre::Wx::ID_TIMER_SYNTAX" not allowed while "strict subs" in use at /home/gabor/perl5/lib/perl5/Padre/Wx/ line 193.
Bareword "Padre::Wx::ID_TIMER_SYNTAX" not allowed while "strict subs" in use at /home/gabor/perl5/lib/perl5/Padre/Wx/ line 203.
Compilation failed in require at lib/Padre/Wx/ line 609.

Which indicates it was trying to load an installed module instead of the one from the local directory. I can reproduce it this way

  • run perl -Ilib script/padre share/examples/absolute_beginner/
  • press F5 to run the script
  • Turn on Syntax Checking
  • kaboom

I added the printing of @INC on the line before the crashing line in


which imho does not explain the problem.

Change History (1)

comment:1 Changed 4 years ago by bowtie

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.