Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 9545
Status: open
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: pcg [...] goof.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.982
Fixed in: (no value)



Date: Sat, 8 Jan 2005 23:26:28 +0100
From: <pcg [...] goof.com ( Marc) (A.) (Lehmann )>
To: bug-par [...] rt.cpan.org
Subject: problems running "pp" in certain directories
Hi! The straightforward execution of "pp extractor", where extractor is a perl script, lead to: IO error: opening ppOdsOj.par for read : No such file or directory at /localvol/opt/perl/lib/perl5/Archive/Zip.pm line 927 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x729638)', 'ppOdsOj.par') called at /localvol/opt/perl/lib/perl5/Archive/Zip.pm line 522 Archive::Zip::Archive::new('Archive::Zip::Archive', 'ppOdsOj.par') called at /localvol/opt/perl/lib/perl5/Archive/Zip.pm line 220 Archive::Zip::new('Archive::Zip', 'ppOdsOj.par') called at -e line 388 eval {...} called at -e line 164 __par_pl::BEGIN() called at -e line 776 eval {...} called at -e line 776 It turned out that this happened when the current directory is "/localvol/root/src/internetx-tküv/extractor". As an strace showed, par correctly reads the file: /localvol/root/src/internetx-tküv/extractor But then tries to create a par file here: /localvol/root/src/internetx-tküv/extractor/ppMQ3HR.par This directory does not exist (and is probably the result of transliterating the filename from latin1 (which it isn't) to utf-8). LC_CTYPE is set to "de_DE.UTF-8", the directory name is also encoded in UTF-8, the perl version is 5.8.6 and PERL_UNICODE is set to "SAL". HTH, just ask if you need more information or want me to debug things. -- The choice of a -----==- _GNU_ ----==-- _ generation Marc Lehmann ---==---(_)__ __ ____ __ pcg@goof.com --==---/ / _ \/ // /\ \/ / http://schmorp.de/ -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE