Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Zipped (.zip) GPXs don't upload #1436

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Closed

Zipped (.zip) GPXs don't upload #1436

openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Richard
[Submitted to the original trac issue database at 8.51pm, Friday, 2nd January 2009]

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...

@openstreetmap-trac
Copy link
Author

Author: emj
[Added to the original trac issue at 2.17pm, Sunday, 4th January 2009]

+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.

@openstreetmap-trac
Copy link
Author

Author: smsm1
[Added to the original trac issue at 3.50pm, Wednesday, 7th January 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 2.28pm, Monday, 1st June 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 2.29pm, Monday, 1st June 2009]

Blasted wiki - that file path should be:

__MACOSX/*

@openstreetmap-trac
Copy link
Author

Author: tomhughes
[Added to the original trac issue at 1.36pm, Monday, 1st March 2010]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant