You are not logged in.

#1 2007-11-03 16:15:09

v29a
Member
Registered: 2007-10-05
Posts: 96

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

Last edited by v29a (2007-11-03 16:16:21)

Offline

#2 2007-11-03 20:30:10

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

Re: GPX - Import Error

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


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#3 2007-11-04 16:14:17

v29a
Member
Registered: 2007-10-05
Posts: 96

Re: GPX - Import Error

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

my time format in the gpx file is

<time>2007-11-03T13:15:58Z</time>

is that incorrect?

Offline

#4 2007-11-04 16:30:59

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

Re: GPX - Import Error

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.


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

Board footer

Powered by FluxBB