Modify

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)

20250527_josm.joz (754.5 KB ) - added by dieterdreist 6 weeks ago.
session that will break when removing data layer and saving as new name

Download all attachments as: .zip

Change History (8)

comment:1 by stoecker, 7 weeks ago

Owner: changed from team to dieterdreist
Status: newneedinfo

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.

comment:2 by dieterdreist, 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 dieterdreist, 7 weeks ago

Owner: dieterdreist removed
Status: needinfonew

comment:4 by dieterdreist, 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 stoecker, 7 weeks ago

Owner: set to dieterdreist
Status: newneedinfo

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 dieterdreist, 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 dieterdreist, 6 weeks ago

Attachment: 20250527_josm.joz added

session that will break when removing data layer and saving as new name

comment:7 by dieterdreist, 6 weeks ago

what worked:

  1. open saved session
  2. saveAs newName (without modification)
  1. select all data in the data layer and purge
  2. 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"

Modify Ticket

Change Properties
Set your email in Preferences
Action
as needinfo The owner will remain dieterdreist.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from dieterdreist to the specified user. Next status will be 'new'.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from dieterdreist to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.