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.