[OSM-talk] compressed gpx file failed import

Johan Huysmans johan.huysmans at inuits.be
Thu Mar 6 12:03:05 GMT 2008


Hi All,

I'm trying to upload my traces. It is a gziped file.

But I receive a mail with the message that the import has failed.

I tried to upload the same file, but uncompressed and it imported
successfully.

Is there anything wrong with the gzip support?

Greetings Johan

-------- Original Message --------
Subject: 	[OpenStreetMap] GPX Import failure
Date: 	Thu, 6 Mar 2008 11:56:50 +0000
From: 	webmaster at openstreetmap.org
To: 	johan.huysmans at inuits.be



Hi,

It looks like your GPX file

  200802.gpx.gz

failed to import. Here's the error:

  Tempfile is not a valid input stream.  It must be
either a String, IO, StringIO or Source.
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:100:in `initialize'
/usr/lib/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `initialize'
/var/www/rails/lib/osm.rb:106:in `points'
/var/www/rails/app/models/trace.rb:188:in `import'
/var/www/rails/lib/daemons/gpx_import.rb:21
/var/www/rails/lib/daemons/gpx_import.rb:15
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application.rb:159:in 
`start_load'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application.rb:236:in 
`start'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:51:in 
`watch'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:51:in 
`watch'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:45:in 
`watch'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:44:in 
`watch'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:84:in 
`start_with_pidfile'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:64:in 
`start_with_pidfile'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:111:in 
`start'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application_group.rb:111:in 
`create_monitor'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application.rb:223:in 
`start'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/controller.rb:69:in 
`run'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons.rb:136:in `run'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/cmdline.rb:105:in 
`catch_exceptions'
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons.rb:135:in `run'
lib/daemons/gpx_import_ctl:20

More information about GPX import failures and how to avoid
them can be found at:

  http://wiki.openstreetmap.org/index.php/GPX_Import_Failures






More information about the talk mailing list