develooper Front page | perl.perl5.porters | Postings from April 2003

Error: Unknown error

From:
Tels
Date:
April 6, 2003 13:05
Subject:
Error: Unknown error
Message ID:
perl.perl5.porters-73955@nntp.perl.org
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

hit a strange "bug" today: Changed a couple of lines in one of my pet
projects and suddenly hit this:

perl/game/SDL-App-FPS-0.20/examples # ./opengl.pl
Unknown error
Compilation failed in require at lib/SDL/App/FPS/MyOpenGL.pm line 13.
BEGIN failed--compilation aborted at lib/SDL/App/FPS/MyOpenGL.pm line 13.
Compilation failed in require at ./opengl.pl line 15.
BEGIN failed--compilation aborted at ./opengl.pl line 15.

It is NOT in my sources:

perl/game/SDL-App-FPS-0.20 # grep "Unkown error" ./* -r
[no hits]

However:
perl/game/SDL-App-FPS-0.20 # grep "Unknown error" /usr/local/lib/perl5/* -r
Binary file /usr/local/lib/perl5/5.8.0/i686-linux/CORE/libperl.a matches

When running something manually, I see Exporter complaing about things not
beeing exported by EventHandler.pm (plus an "Error: Unknow error" beeing
emitted) - however, I didn't change this module (only changed FPS.pm) and I
can't see why it suddenly shouldn't export things it exported 5 minutes ago
just fine.

perl/game/SDL-App-FPS-0.20 # perl t/myfps.t
1..45
not ok 1 - use SDL::App::MyFPS;
#     Failed test (t/myfps.t at line 13)
#     Tried to use 'SDL::App::MyFPS'.
#     Error:  Unknown error
# Compilation failed in require at SDL/App/MyFPS.pm line 10.
# BEGIN failed--compilation aborted at SDL/App/MyFPS.pm line 10.
# Compilation failed in require at (eval 1) line 2.
not ok 2 - SDL::App::MyFPS->can(...)

Stock v5.8.0 Perl. Could somebody with access to the source please grep
through and see where the "unknown error" is emitted? My code it too big to
post here, and I haven't found the trigger for it, so no small testcase
yet. I can send anybody a wrapped up package that shows the problem, if
desired.

Best wishes,

Tels


- -- 
 http://www.notcpa.org/ You still can run any code on your CPU. How long?
 Signed on Sun Apr  6 22:19:09 2003 with http://bloodgate.com/tels.asc

 perl -MDev::Bollocks -le'print Dev::Bollocks->rand()'
 professionally synergize slick segments

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBPpCLxHcLPEOTuEwVAQGmZgf7BOzKaTdPJIoiOgyxaxsoTARZZ8cXhXuo
HmbNOyTRrHSadVQgwiZ/Qd1X1hQZfQLnDlsTF3PvgDk1dhxBttyJmUzO0Mr1C+O8
CgAOHhDQ6TS40HpIlH7q8HjOXR/jA+EiAgl7mHDD/2vZdKSKr8J0aknfFyE/UjVC
t3g5NdDtFP9zRBfMlBa7Em6Q6FzEUb6wk+VX6g1qHD4m7z3W+jZtCG6A5UcPRRt+
NczZhCG1y2yqRZ/6H5Nluj89JB5fJcgFFvbghBGY7iGRJ8REshVQo01c9TcAdcRk
XbjBg/EeO/zMYzJkeYoDJ5LghWcEPmcJ2VCK50f4uNP19PAvDTR53A==
=V/+A
-----END PGP SIGNATURE-----



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About