Opened 6 years ago

Closed 6 years ago

#263 closed defect (fixed)

Padre 0.29 die and not start.

Reported by: hdias Owned by:
Priority: major Milestone:
Component: editor Version: 0.29
Keywords: Cc:

Description

$ padre
"catfile" is not exported by the File::Spec module
Can't continue after import errors at /usr/lib64/perl5/site_perl/5.8.8/Padre/Config/Human.pm line 12
BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/Padre/Config/Human.pm line 12.
Compilation failed in require at /usr/lib64/perl5/site_perl/5.8.8/Padre/Config.pm line 20.
BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/Padre/Config.pm line 20.
Compilation failed in require at /usr/lib64/perl5/site_perl/5.8.8/Padre.pm line 31.
BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/Padre.pm line 31.
Compilation failed in require at /usr/bin/padre line 56.

$ make test
...
t/00-compile.t ......... 1/210
# Failed test 'STDERR of Padre.pm'
# at t/00-compile.t line 30.
# got: '"catfile" is not exported by the File::Spec module
# Can't continue after import errors at /home/hdias/software/Padre-0.29/blib/lib/Padre/Config/Human.pm line 12
# BEGIN failed--compilation aborted at /home/hdias/software/Padre-0.29/blib/lib/Padre/Config/Human.pm line 12.
# Compilation failed in require at /home/hdias/software/Padre-0.29/blib/lib/Padre/Config.pm line 20.
# BEGIN failed--compilation aborted at /home/hdias/software/Padre-0.29/blib/lib/Padre/Config.pm line 20.
# Compilation failed in require at /home/hdias/software/Padre-0.29/blib/lib/Padre.pm line 31.
# BEGIN failed--compilation aborted at /home/hdias/software/Padre-0.29/blib/lib/Padre.pm line 31.
# Compilation failed in require at -e line 1.
# '
# expected:
Bailout called. Further testing stopped: Test failed. BAIL OUT!.
FAILED--Further testing stopped: Test failed. BAIL OUT!.
make: * [test_dynamic] Error 255

$ perl -v

This is perl, v5.8.8 built for x86_64-linux-thread-multi

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

$ perl -MWx -le'print "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()'
Wx Version: 0.89 wxWidgets 2.8.8

Change History (5)

comment:1 Changed 6 years ago by szabgab

wow, that's a stupid bug.

Can you please just remove the line

use File::Spec    qw{ catfile            };

from lib/Padre/Config/Human.pm and let us know if it works?

I fixed that in trunk but it would be nice to see if your perl catches more of these.

comment:2 Changed 6 years ago by jquelin

argh, my bad. sorry for this remnant. it seems that i did not forget others.

comment:3 follow-up: Changed 6 years ago by szabgab

While removing that line should help, could please tell us the version of File::Spec on your system?

perl -MFile::Spec -e'print $File::Spec::VERSION'

comment:4 in reply to: ↑ 3 Changed 6 years ago by puudeli

Replying to szabgab:

While removing that line should help, could please tell us the version of File::Spec on your system?

perl -MFile::Spec -e'print $File::Spec::VERSION'

I got this same error when upgrading from 0.25 to 0.29 with cpan on Kubuntu 8.10

I removed the suggested

use File::Spec    qw{ catfile            };

line and it allowed the upgrade to continue. My File::Spec version is 3.2701

comment:5 Changed 6 years ago by tsee

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in trunk.

Note: See TracTickets for help on using tickets.