Modify ↓
#12448 closed defect (fixed)
[patch] session reader failed when linked local file was compressed
| Reported by: | kolesar | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 16.02 |
| Component: | Core | Version: | tested |
| Keywords: | Cc: |
Description
What steps will reproduce the problem?
- Save a data layer in a compressed format, for example test.osm.gz
- Save session, leave setting as a "local file".
- Close layer.
- Open recently created session file.
What is the expected result?
Opens the layer just created.
What happens instead?
Error message:
Could not load layer 1 'test.osm.gz'.
Error is:
Line 1 column 1: Content is not allowed in prolog.
Similar error message for compressed GPX layer:
Could not load layer 2 'test.gpx.gz'.
Error is:
Parsing data for layer 'test.gpx.gz' failed
Please provide any additional information below. Attach a screenshot if possible.
Attached patch that fixes opening compressed files from saved session.
Attachments (1)
Change History (4)
by , 10 years ago
| Attachment: | SessionReadCompressedFile.patch added |
|---|
comment:1 by , 10 years ago
| Milestone: | → 16.02 |
|---|
comment:2 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



In 9646/josm: