Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 3152
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: johanl [...] bahnhof.se
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.70
Fixed in: (no value)



Subject: Unhelpful error message when the archive can't be extracted
I recently received a bug report for an app I have deployed in a test environment with no monitoring of disk space, so the application log accidently filled the disk. When that happened, the program could (obviously) not extract itself to be run. The error message on the command line is this: Invalid argument at par.pl line 256. which is that a temp file couldn't be created. I also had reports that on the Windows console, a dialog box popped up: "The application or DLL C:\DOCUME ...etc... \par_priv.2156.tmp\perl56.dll is not a valid Windows image. Please check this against your installation diskette." I think this simply indicates that the program tried to load a broken .DLL file, a result of the above problem. Wish-list item: The problem here is the non-helpful error message. If it was a tad more informative this wouldn't be a big problem. " Could not extract and run program $0: Could not create temporary file 'XXX': Invalid argument at par.pl line 256. " Or something like that could possibly be useful.
On Mo. 04. Aug. 2003, 08:23:09, guest wrote: Show quoted text
> I recently received a bug report for an app I have deployed in a test > environment with no monitoring of disk space, so the application log > accidently filled the disk. > > When that happened, the program could (obviously) not extract itself > to be run. The error message on the command line is this: > > Invalid argument at par.pl line 256. > > which is that a temp file couldn't be created. > > I also had reports that on the Windows console, a dialog box popped > up: > > "The application or DLL C:\DOCUME ...etc... > \par_priv.2156.tmp\perl56.dll is not a valid Windows image. Please > check this against your installation diskette." > > I think this simply indicates that the program tried to load a broken > .DLL file, a result of the above problem. > > Wish-list item: The problem here is the non-helpful error message. If > it was a tad more informative this wouldn't be a big problem. > > " > Could not extract and run program $0: Could not create temporary file > 'XXX': Invalid argument at par.pl line 256. > " > > Or something like that could possibly be useful.
Using the most current PAR, I get this (on Linux): ./t: creation of /tmp/par-tsee/cache-c8b90e5099fc1ad810155da6a6f3ec068b4acf81/libperl.so.5.8 failed - aborting with 13. (This happens if /tmp/par-$USER isn't accessible.) the "aborting with 13" part might be a little cryptic, but in general, this should point the user in the right direction, don't you think? Steffen