Hello !<br><br>J'utilise l'application Sport Tracker pour prendre des traces depuis mon Nokia N95, les premier jours d'utilisation j'arrivais à importer les traces mais depuis quelque jours je n'arrive plus :(<br>
Bref que-ce qui ne va pas ?<br><br>Extrais d'un des fichiers importés :<br><?xml version="1.0" encoding="UTF-8"?><br><gpx xmlns="<a href="http://www.topografix.com/GPX/1/1">http://www.topografix.com/GPX/1/1</a>" version="1.1" creator="Nokia Sports Tracker" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://www.topografix.com/GPX/1/1">http://www.topografix.com/GPX/1/1</a> <a href="http://www.topografix.com/GPX/1/1/gpx.xsd">http://www.topografix.com/GPX/1/1/gpx.xsd</a>"><br>
<metadata><br><name>19.05.2008 07:56</name><br><desc>Cycling</desc><br><author><name>Stephane</name></author><br><time>2008-05-19T08:00:18.93</time><br></metadata><br>
<trk><br><name>19.05.2008 07:56</name><br><trkseg><br><trkpt lat="46.506072" lon="6.674308"><br><ele>443.5</ele><br><speed>0.8</speed><br><course>58.0</course><br>
<desc>Speed 0.8 km/h Distance 0.00 km</desc><br><time>2008-05-19T08:00:19.43</time><br><name>1</name><br></trkpt><br><trkpt lat="46.506077" lon="6.674320"><br>
<ele>443.5</ele><br><speed>0.9</speed><br><course>137.5</course><br><desc>Speed 0.9 km/h Distance 0.00 km</desc><br><time>2008-05-19T08:00:20.31</time><br><name>2</name><br>
</trkpt><br><br>Il semble correct et pourtant cela ne fonctionne pas :(<br><br>Ci-joins mail d'erreur reçu.<br><br>CU et merci <br>Sarge<br><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername"></b> <<a href="https://mail.google.com/mail?view=cm&tf=0&ui=1&to=webmaster@openstreetmap.org" target="_blank">webmaster@openstreetmap.org</a>><br>Date: Tue, May 20, 2008 at 11:53 AM<br>
Subject: [OpenStreetMap] GPX Import failure<br>To: <a href="https://mail.google.com/mail?view=cm&tf=0&ui=1&to=stephane.brunner@gmail.com" target="_blank">stephane.brunner@gmail.com</a><br><br><br>Hi,<br>
<br>
It looks like your GPX file<br>
<br>
W20080519161214.gpx<br>
<br>
with the description<br>
<br>
test<br>
<br>
and no tags.<br>
<br>
failed to import. Here's the error:<br>
<br>
undefined method `[]' for nil:NilClass<br>
/usr/lib/ruby/1.8/rexml/source.rb:131:in `initialize'<br>
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:126:in `stream='<br>
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:100:in `initialize'<br>
/usr/lib/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `initialize'<br>
/var/www/rails/lib/osm.rb:106:in `points'<br>
/var/www/rails/app/models/trace.rb:190:in `import'<br>
/var/www/rails/lib/daemons/gpx_import.rb:21<br>
/var/www/rails/lib/daemons/gpx_import.rb:15<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application.rb:159:in `start_load'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application.rb:236:in `start'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:51:in `watch'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:51:in `watch'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:45:in `watch'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:44:in `watch'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:84:in `start_with_pidfile'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:64:in `start_with_pidfile'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/monitor.rb:111:in `start'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application_group.rb:111:in `create_monitor'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application.rb:223:in `start'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/controller.rb:69:in `run'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons.rb:136:in `run'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/cmdline.rb:105:in `catch_exceptions'<br>
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons.rb:135:in `run'<br>
lib/daemons/gpx_import_ctl:20<br>
<br>
More information about GPX import failures and how to avoid<br>
them can be found at:<br>
<br>
<a href="http://wiki.openstreetmap.org/index.php/GPX_Import_Failures" target="_blank">http://wiki.openstreetmap.org/index.php/GPX_Import_Failures</a><br>
</div><br><br clear="all"><br>-- <br>Stéphane Brunner<br>mail : <a href="https://mail.google.com/mail?view=cm&tf=0&ui=1&to=stephane.brunner@gmail.com" target="_blank">stephane.brunner@gmail.com</a><br>messageries instantanées : <a href="https://mail.google.com/mail?view=cm&tf=0&ui=1&to=stephane.brunner@gmail.com" target="_blank">stephane.brunner@gmail.com</a> (<a href="http://talk.google.com/" target="_blank">http://talk.google.com</a>)<br>
--------------------------------------<br><a href="http://www.ubuntu-fr.org/" target="_blank">http://www.ubuntu-fr.org</a> - Distribution Linux<br><a href="http://fr.wikipedia.org/" target="_blank">http://fr.wikipedia.org</a> - Encyclopédie communautaire<br>
<a href="http://mozilla-europe.org/" target="_blank">http://mozilla-europe.org</a> - Navigateur internet / Client de messagerie<br><a href="http://framasoft.net/" target="_blank">http://framasoft.net</a> - Annuaire de logiciel libre (gratuit)<br>
<a href="http://jeuxlibres.net/" target="_blank">http://jeuxlibres.net</a> - Jeux Libres (gratuit)<br>
--------------------------------------<br>Il existe 10 sortes de personnes : celles qui connaissent le binaire, et les autres.<br>Si Microsoft inventait un truc qui plante pas, ce serait un clou.<br><br>Si un jour on te reproche que ton travail n'est pas un travail de professionnel, dis toi que :<br>
Des amateurs ont construit l'arche de Noé, et des professionnels le Titanic.