Opened 10 years ago

Closed 9 years ago

#1436 closed defect (fixed)

Zipped (.zip) GPXs don't upload

Reported by: Richard Owned by: Kinnison
Priority: major Milestone:
Component: website Version:
Keywords: Cc: Tom Hughes

Description

Zipped versions of

http://www.openstreetmap.org/user/Richard/traces/287243 http://www.openstreetmap.org/user/Richard/traces/287244

failed to parse, generating a failure e-mail with the error

Generic XML parse error XML parser at line 1 column 2

The gzipped versions of the same GPX have uploaded fine (as per above).

I suppose I could alternatively file a trac ticket at apple.com to ask them to change their contextual-menu compression option to produce .gz rather than .zip...

Change History (5)

comment:1 Changed 10 years ago by emj

+1

I have the same problem with GPX files zipped on Mac, haven't tried gziped gpx tracks yet though that seems like a very strange way to store GPX files.

comment:2 Changed 10 years ago by Shaun McDonald

Richard, probably best to attach the zipped versions here (or somewhere else), in case there is a problem with the version of zip on your system.

comment:3 Changed 10 years ago by Tom Hughes

This will be the same problem we had with the old rails importer - the Mac puts the resource forks of the GPX files (which are empty of course...) into the zip as MACOSX/* files.

The ruby importer was tweaked to ignore them so I guess the C one needs to as well.

comment:4 Changed 10 years ago by Tom Hughes

Blasted wiki - that file path should be:

__MACOSX/*

comment:5 Changed 9 years ago by tomhughes

Resolution: fixed
Status: newclosed

(In [20238]) Ignore the MACOSX folder in zip files. Closes #1436.

Note: See TracTickets for help on using tickets.