QNET /sbbs/data/STARFRON.qwk doesn't contain MESSAGES.DAT (/sbbs/temp/event/MESSAGES.DAT)
Why would a QWK not contain a MESSAGES.DAT?
I've got a few .bad QWK files in my /sbbs/data directory.
When I rename them back to their original name (removing the random characters and the .bad) then force the job to import them, I get this error:
QNET /sbbs/data/STARFRON.qwk doesn't contain MESSAGES.DAT (/sbbs/temp/event/MESSAGES.DAT)
Why would a QWK not contain a MESSAGES.DAT?
Re: .bad QWK files
By: Bob Roberts to All on Wed
Jul 14 2021 11:44 am
QNET /sbbs/data/STARFRON.qwk doesn't contain MESSAGES.DAT (/sbbs/temp/event/MESSAGES.DAT)
Why would a QWK not contain a MESSAGES.DAT?
When I manually unzip the file I get:
Archive: STARFRON.qwk.60ef4892.bad
inflating: HEADERS.DAT
inflating: MESSAGES.DAT
inflating: VOTING.DAT
error: invalid zip file with overlapped components (possible zip bomb)
The MESSAGES.DAT that is extracted, seems to be valid.... I see a row with a message in it.
See if you can view or extract the archive with exec/archive.js
(e.g. 'jsexec archive list /path/to/*.bad') or replace 'list' with extract to try and extract it. This will use the libarchive support built-into SBBS v3.19. It's possible the archive is corrupt even though at least some of it can be extracted successfully using unzip. --
Re: .bad QWK files
By: Digital Man to Bob Roberts on
Wed Jul 14 2021 05:31 pm
See if you can view or extract the archive with exec/archive.js
(e.g. 'jsexec archive list /path/to/*.bad') or replace 'list' with extract to try and extract it. This will use the libarchive support built-into SBBS v3.19. It's possible the archive is corrupt even though at least some of it can be extracted successfully using unzip. --
If I "archive list"
!STARFRON.qwk.60ef3032.bad: Unsupported archive format
Reading script from /sbbs/exec/archive.js
/sbbs/exec/archive.js compiled in 0.00 seconds
!JavaScript /sbbs/exec/archive.js line 38: Error: archive_read_next_header returned -30: Invalid central directory signature (after extracting 0 items successfully)
So looks like something is wrong with the Zips coming from STARFRON.
I
uploaded three of them (in a zip) here, if you want to take a look?
https://hovalbbs.com/temp/STARFRONbads.zip
See if you can view or extract the archive with exec/archive.js
(e.g. 'jsexec archive list /path/to/*.bad') or replace 'list' with
extract to try and extract it. This will use the libarchive
support built-into SBBS v3.19. It's possible the archive is
corrupt even though at least some of it can be extracted
successfully using unzip. --
If I "archive list"
!STARFRON.qwk.60ef3032.bad: Unsupported archive format
I added a little bit more debug (log the exception), and I see:
Error: archive_read_next_header() returned -30: Invalid central directory signature !STARFRON.qwk.60ef3032.bad: Unsupported archive format
Reading script from /sbbs/exec/archive.js
/sbbs/exec/archive.js compiled in 0.00 seconds
!JavaScript /sbbs/exec/archive.js line 38: Error:
archive_read_next_header returned -30: Invalid central directory
signature (after extracting 0 items successfully)
I see the same.
So looks like something is wrong with the Zips coming from STARFRON.
I agree.
I
uploaded three of them (in a zip) here, if you want to take a look?
https://hovalbbs.com/temp/STARFRONbads.zip
I see the same errors reported by 'unzip -t' (using UnZip 6.00):
$ unzip -t STARFRON.qwk.60d4*
Archive: STARFRON.qwk.60d4e861.bad
testing: HEADERS.DAT OK
testing: MESSAGES.DAT OK
testing: VOTING.DAT OK
error: invalid zip file with overlapped components (possible zip bomb)
and I see something interesting with PkUNZIP -test (v2.50):
Testing files from .ZIP: STARFRON.qwk.60ef3032.bad
Testing: HEADERS.DAT OK
Testing: OK
Testing: MESSAGES.DAT OK
Testing: VOTING.DAT OK
See that blank file entry? That's suspicious.
I guess more information is needed from the sysop of Star Frontiers.
It's interestingly hosted at synchronetbbs.org, so other hosted BBSes there might have the same or similar issue (!). --
digital man
So looks like something is wrong with the Zips coming from STARFRON.
I agree.
It's interestingly hosted at synchronetbbs.org, so other hosted BBSes there might have the same or similar issue (!).
Re: .bad QWK files
By: Digital Man to Bob Roberts on Thu Jul 15 2021 05:36 pm
So looks like something is wrong with the Zips coming from STARFRON.
I agree.
It's interestingly hosted at synchronetbbs.org, so other hosted BBSes there might have the same or similar issue (!).
I will look into it but haven't heard of this issue before... If you come up with some suggestions I will be glad to hear them!
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:45:33 |
Calls: | 7,895 |
Calls today: | 1 |
Files: | 12,968 |
Messages: | 5,792,151 |