GPX - Import Error

This looks pretty bad imo:

Hi,

It looks like your GPX file

failed to import. Here's the error:

  end of file reached
/usr/local/lib/ruby/1.8/rexml/source.rb:153:in `readline'
/usr/local/lib/ruby/1.8/rexml/source.rb:153:in `initialize'
/usr/local/lib/ruby/1.8/rexml/source.rb:16:in `new'
/usr/local/lib/ruby/1.8/rexml/source.rb:16:in `create_from'
/usr/local/lib/ruby/1.8/rexml/parsers/baseparser.rb:130:in `stream='
/usr/local/lib/ruby/1.8/rexml/parsers/baseparser.rb:107:in `initialize'
/usr/local/lib/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `new'
/usr/local/lib/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `initialize'
/var/www/rails/lib/daemons/../../config/../lib/osm.rb:89:in `new'
/var/www/rails/lib/daemons/../../config/../lib/osm.rb:89:in `points'
/var/www/rails/lib/daemons/../../config/../app/models/trace.rb:185:in `import'
/var/www/rails/lib/daemons/gpx_import.rb:21
/var/www/rails/lib/daemons/gpx_import.rb:15:in `each'
/var/www/rails/lib/daemons/gpx_import.rb:15
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application.rb:158:in `start_load'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application.rb:235:in `start'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application_group.rb:121:in `start_all'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application_group.rb:120:in `fork'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application_group.rb:120:in `start_all'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application_group.rb:119:in `each'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application_group.rb:119:in `start_all'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/controller.rb:79:in `run'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons.rb:136:in `run'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/cmdline.rb:105:in `call'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/cmdline.rb:105:in `catch_exceptions'
/usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons.rb:135:in `run'
lib/daemons/gpx_import_ctl:15

The file i tried to import was exported from a garmin gps with gpsbabel. I used the same scripts as i did with working imports before …

GPX uploading still functions, so I guess your GPX file has probably a bad format. Mostly this means that the datetime stamp is missing.

this would mean that this script uses the wrong parameters for gpsbabel … is that right?

my time format in the gpx file is

2007-11-03T13:15:58Z

is that incorrect?

Hmm, ok I think it’s better you’d post this, including a copy of the GPX file to the talk mailing list. I don’t know whats going on here. Or you can post a link to your gpx file here and I’ll forward this to the mailinglist.