Opened 7 weeks ago
Last modified 6 weeks ago
#24330 needinfo defect
cannot open saved session
Reported by: | dieterdreist | Owned by: | dieterdreist |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | session | Cc: |
Description
Could not load session file '20250521_josm.joz'. Error is: java.util.zip.ZipException: zip END header not found
I got this twice (for 2 different saved files)
Attachments (1)
Change History (8)
comment:1 by , 7 weeks ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 7 weeks ago
I can confirm:
unzip -l 20250521_josm.joz Archive: 20250521_josm.joz End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of 20250521_josm.joz or 20250521_josm.joz.zip, and cannot find 20250521_josm.joz.ZIP, period.
comment:3 by , 7 weeks ago
Owner: | removed |
---|---|
Status: | needinfo → new |
comment:4 by , 7 weeks ago
I tried it now, saved a new session into a new file ("Save session as"), and I get a corrupted archive
comment:5 by , 7 weeks ago
Owner: | set to |
---|---|
Status: | new → needinfo |
Add StatusInfo and exact procedure how to reach a corrupted files with as litte data/steps as possible. Attach the defective file.
comment:6 by , 6 weeks ago
I am not able to reproduce it from scratch, what makes it break is opening the attached session, delete the only data layer, then "save session as", and then try to reopen the session, it fails every time I think.
I had attached the status report here, but it made my post be rejected as spam, that's why I now deleted it again. Please fix your server so I can attach the status report.
by , 6 weeks ago
Attachment: | 20250527_josm.joz added |
---|
session that will break when removing data layer and saving as new name
comment:7 by , 6 weeks ago
what worked:
- open saved session
- saveAs newName (without modification)
- select all data in the data layer and purge
- save session again (not save as)
what did not work was:
either delete the data layer before using "save as session" or uncheck the data layer when using "save as session"
Looks like the files are corrupt. Try unzip -l 20250521_josm.joz (or rename to .zip if needed) to check if that is the case.