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

Could not load gpx file #1275

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

Could not load gpx file #1275

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

Comments

@openstreetmap-trac
Copy link

Reporter: rmikke
[Submitted to the original trac issue database at 4.17pm, Friday, 17th October 2008]

Here is the error message while trying to upload GPX file
Maybe something is wrong with the file, so I attach it to this ticket

It looks like your GPX file

rmikke.gpx

with the description

Janow Lubelski serwis rowerowy

  • Ukryj cytowany tekst -

and the following tags:

bicycle

service

shop

failed to import. Here's the error:

Entity: line 11:

/home/rails/config/initializers/libxml.rb:6

/var/lib/gems/1.8/gems/libxml-ruby-0.8.3/lib/libxml/parser.rb:36:in `call'

/var/lib/gems/1.8/gems/libxml-ruby-0.8.3/lib/libxml/parser.rb:36:in `xml_error_func_handler'

/home/rails/lib/gpx.rb:26:in `read'

/home/rails/lib/gpx.rb:26:in `points'

/home/rails/app/models/trace.rb:188:in `import'

/home/rails/lib/daemons/gpx_import.rb:21

/home/rails/lib/daemons/gpx_import.rb:15:in `each'

/home/rails/lib/daemons/gpx_import.rb:15

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in `load'

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:176:in `start_load'

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:257:in `start'

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/controller.rb:69:in `run'

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:139:in `run'

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `call'

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `catch_exceptions'

/var/lib/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:138:in `run'

lib/daemons/gpx_import_ctl:20

=====================================

@openstreetmap-trac
Copy link
Author

Author: rmikke
[Added to the original trac issue at 5.25pm, Saturday, 18th October 2008]

Wait a moment, the most probable reasin is that I have spoiler boundaries tag when adding rimestamp to trackpoints...
I'll check this tonight.

@openstreetmap-trac
Copy link
Author

Author: rmikke
[Added to the original trac issue at 9.53am, Thursday, 30th October 2008]

That was that.

I have just replaced all '/>' with:

some time tag

and I haven't noticed that there is one more "singular" XML tag, not only ...

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