[openstreetmap/openstreetmap-website] GPX import fails with multi trace archives (#2253)
Tom Hughes
notifications at github.com
Tue Jun 11 09:42:37 UTC 2019
The new rails GPX import fails if given an archive containing multiple traces:
```
Traceback (most recent call last):
7: from (irb):1
6: from app/models/trace.rb:287:in `import'
5: from app/models/trace.rb:287:in `each_slice'
4: from app/models/trace.rb:287:in `each'
3: from lib/gpx.rb:28:in `points'
2: from lib/gpx.rb:28:in `read'
1: from config/initializers/libxml.rb:4:in `block in <main>'
LibXML::XML::Error (Fatal error: XML declaration allowed only at the start of the document at :1422.)
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2253
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190611/45594503/attachment-0001.html>
More information about the rails-dev
mailing list