Bug#727768: [Pytrainer-devel] Bug#727768: pytrainer: fails to import gpx files
Hi Johannes, Thanks for the info, please find my comments inline. 2013/11/3 Johannes Rohr jor...@gmail.com: On Do, Okt 31, 2013 at 12:38:13 +0100, David García Granda wrote: Hi, Pytrainer tries to validate every xml document before import and unfortunately xml 1.0 is not supported. Some questions trying to find root cause: 1.- Does gpx file validate? $ xmllint --noout --schema schema_involved gpx_file Here is what happens: [..] 2013-10-26_14-05-38.gpx:25889: element speed: Schemas validity error : Element '{http://www.topografix.com/GPX/1/1}speed': This element is not expected. Expected is ( ##other{http://www.topografix.com/GPX/1/1}* ). 2013-10-26_14-05-38.gpx:25896: element speed: Schemas validity error : Element '{http://www.topografix.com/GPX/1/1}speed': This element is not expected. Expected is ( ##other{http://www.topografix.com/GPX/1/1}* ). 2013-10-26_14-05-38.gpx fails to validate jr@Erwin:~/ownCloud/osmtracker$ Obviously, the offending part is the speed element. Here is there corresponding code in the xml file: trkpt lat=52.39175298 lon=13.13240081 ele79.415258789/ele time2013-10-26T12:05:50Z/time extensions speed1.25/speed /extensions /trkpt Is this an incorrect whay of recording the speed? Here is the header of the GPX file: ?xml version=1.0 encoding=UTF-8 ? gpx xmlns=http://www.topografix.com/GPX/1/1; version=1.1 creator=OSMTracker for Android™ - http://osmtracker-android.googlecode.com/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation =http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd It seems that despite valid xml format (syntax), gpx file does not valid provided schemas. According to 1.1 gpx schema, you can add extend GPX by adding your own elements from another schema in extensions (see http://www.topografix.com/GPX/1/1/#type_extensionsType), but we miss the definition of the element provided. For example, pytrainer adds heartrate data using this feature: trkpt lat=43.5407522 lon=-5.6508772 ele14.400/ele time2013-07-17T07:53:19Z/time extensions gpxdata:hr101/gpxdata:hr /extensions /trkpt 2.- Did you Johannes change some packages on your local installation in last weeks? I am using Debian Testing, so the system keeps changing all the time. No worries, it was just to discard other root sources, but I think we have already found it. 3.- Are you aware of any changes of mentioned app (OSM Tracker)?. I know few people who got invalid exports from Garmin Connect some days ago :| According to the changelog at https://code.google.com/p/osmtracker-android/wiki/Changelog v0.6.5: Export speed information in GPX thanks to andyhelp. Is this extensions element something that could be accommodated by pytrainer, or is it invalid xml? Although I am not an expert, I still think is a good idea to validate data upfront and from my point of view the issue is on the OSMTracker guys who should provide a valid gpx file. Best regards, David -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#727768: [Pytrainer-devel] Bug#727768: pytrainer: fails to import gpx files
Hi, Pytrainer tries to validate every xml document before import and unfortunately xml 1.0 is not supported. Some questions trying to find root cause: 1.- Does gpx file validate? $ xmllint --noout --schema schema_involved gpx_file 2.- Did you Johannes change some packages on your local installation in last weeks? 3.- Are you aware of any changes of mentioned app (OSM Tracker)?. I know few people who got invalid exports from Garmin Connect some days ago :| Best regards, David PS: sorry for top posting, not really familiar with Debian's bug tracking system 2013/10/26 Johannes Rohr jor...@gmail.com: Package: pytrainer Version: 1.10.1-2 Severity: normal As of today, pytrainer no longer imports gpx files generated by OSM Tracker. (I last tried a couple of weeks back, it always used to work flawlessly.) Here is what I see on the console: running pytrainer from egg installation data_path: /usr/share/pytrainer/ gettext_path: /usr/share/locale site_path: /usr/lib/python2.7/site-packages ERROR:root:Failed when retrieving Max Heartrate value: invalid literal for int() with base 10: '' ERROR:root:Failed when retrieving Min Heartrate value: invalid literal for int() with base 10: '' No bp log location saved, using default. [000:000] Cpu: 6.23.10, x2, 2801Mhz, 3898MB [000:000] Computer model: Not available [000:000] Browser XEmbed support present: 1 [000:000] Browser toolkit is Gtk2. [000:000] Using Gtk2 toolkit No bp log location saved, using default. [000:000] Cpu: 6.23.10, x2, 2801Mhz, 3898MB [000:000] Computer model: Not available [000:001] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:001] No bp log location saved, using default. [000:002] Cpu: 6.23.10, x2, 2801Mhz, 3898MB [000:002] Computer model: Not available [000:002] Browser XEmbed support present: 1 [000:002] Browser toolkit is Gtk2. [000:002] Using Gtk2 toolkit [000:001] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:001] No bp log location saved, using default. [000:001] Cpu: 6.23.10, x2, 2801Mhz, 3898MB [000:001] Computer model: Not available java version 1.7.0_25 OpenJDK Runtime Environment (IcedTea 2.3.12) (7u25-2.3.12-4) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) ERROR:root:GPS Device import not yet implemented ERROR:root:GPS Device import not yet implemented UNIVERSAL-import is deprecated and will be removed in a future perl at /usr/share/pytrainer/plugins/garmin-fit/bin/Garmin/FIT.pm line 6. ::#612@/usr/share/pytrainer/plugins/garmin-fit/bin/fit2tcx: main::Garmin::FIT::fetch_header#538@/usr/share/pytrainer/plugins/garmin-fit/bin/Garmin/FIT.pm: /media/jr/3732-3235/osmtracker/2013-10-26_14-05-38/2013-10-26_14-05-38.gpx: not a .FIT header (\x72\x73\x69\x6F ne '.FIT') UNIVERSAL-import is deprecated and will be removed in a future perl at /usr/share/pytrainer/plugins/garmin-fit/bin/Garmin/FIT.pm line 6. ::#612@/usr/share/pytrainer/plugins/garmin-fit/bin/fit2tcx: main::Garmin::FIT::fetch_header#538@/usr/share/pytrainer/plugins/garmin-fit/bin/Garmin/FIT.pm: /home/jr/ownCloud/osmtracker/2013-10-25_22-05-28.gpx: not a .FIT header (\x72\x73\x69\x6F ne '.FIT') ERROR:root:GPS Device import not yet implemented ERROR:root:GPS Device import not yet implemented ERROR:root:GPS Device import not yet implemented ERROR:root:GPS Device import not yet implemented UNIVERSAL-import is deprecated and will be removed in a future perl at /usr/share/pytrainer/plugins/garmin-fit/bin/Garmin/FIT.pm line 6. ::#612@/usr/share/pytrainer/plugins/garmin-fit/bin/fit2tcx: main::Garmin::FIT::fetch_header#538@/usr/share/pytrainer/plugins/garmin-fit/bin/Garmin/FIT.pm: /home/jr/ownCloud/osmtracker/2013-10-25_22-05-28.gpx: not a .FIT header (\x72\x73\x69\x6F ne '.FIT') -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (450, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pytrainer depends on: ii gpsbabel 1.4.3-1 ii iceweasel 24.0-2 ii python 2.7.5-5 ii python-glade2 2.24.0-3+b1 ii python-gtk22.24.0-3+b1 ii python-libxml2 2.9.1+dfsg1-3 ii python-lxml3.2.0-1+b1 ii python-matplotlib 1.1.1~rc2-1 ii python-migrate 0.7.2-6 ii python-numpy 1:1.7.1-3 ii python-pysqlite2 2.6.3-3 ii python-scipy 0.12.0-3 ii python-soappy 0.12.0-4 ii python-support 1.0.15 ii python-webkit 1.1.8-3 ii zenity 3.8.0-1 pytrainer recommends no packages. pytrainer suggests no packages. -- no debconf information -- October Webinars: Code for Performance Free Intel webinars can help you accelerate
Bug#685250: [Pytrainer-devel] Bug#685250: [Pkg-running-devel] Bug#685250: pytrainer: showing track in OpenStreetMap fails
Hi there, It works for me fine locally. I guess the issue is related to what Jason (spacyjase) reported and fixed some time ago: https://github.com/pytrainer/pytrainer/pull/4 Yep, I know we should release a new version of pytrainer... Best regards, David 2012/8/19 Christian PERRIER bubu...@debian.org: Quoting Johannes Rohr (jor...@gmail.com): Package: pytrainer Version: 1.9.1-2 Severity: normal I have imported a GPX file generated with OSM Tracker on Android. Everything is fine, including that the track is nicely displayed in the maps tab. However, on clicking OpenStreetMap, which in my opinion should be the default anyway, the map pane remains empty. This is the console output: ** Message: console message: undefined @0: TypeError: 'undefined' is not a constructor I confirm this. I noticed that once or twice and should have reported it already. Thanks for taking care to do it. As upstream reads Debian bug, I guess we'll soon have some input about this issue. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Pytrainer-devel mailing list pytrainer-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#647671: [Pytrainer-devel] Bug#647671: pytrainer: PyTrainer does not start
Hi, Package: pytrainer Version: 1.7.2-1 Severity: important I install pytrainer and it does not run, only prints some info: robo@sunstone:/usr/bin$ ./pytrainer data_path: /usr/share/pytrainer/ DIR: /usr/share/locale site_path: /usr/lib/python2.6/site-packages robo@sunstone:/usr/bin$ Hmmm, upstream developers (upstream devel mailing list is subscribed to Debian bug reports), any idea abou thow to debug this? It reminds me another reported bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581991 Anyway, it is possible to start pytrainer in debug mode (pytrainer -d from command line, without quotes) and get what is written to ~/.pytrainer/.log.out[.1-5]? This is apparently (from the below information) on Debian stable (squeeze). I'll try toreproduce this but my only squeeze machine is...my home server..:-) -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (400, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pytrainer depends on: ii gpsbabel 1.4.0-1 GPS file conversion plus transfer ii iceweasel 3.5.16-10 Web browser based on Firefox ii python 2.6.6-3+squeeze6 interactive high-level object-orie ii python-glade2 2.17.0-4 GTK+ bindings: Glade support ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge ii python-gtkmozembed 2.25.3-7 Python bindings for the GtkMozEmbe ii python-libxml2 2.7.8.dfsg-2+squeeze1 Python bindings for the GNOME XML ii python-lxml 2.2.8-2 pythonic binding for the libxml2 a ii python-matplotlib 0.99.3-1 Python based plotting system in a ii python-numpy 1:1.4.1-5 Numerical Python adds a fast array ii python-pysqlite2 2.6.0-1 Python interface to SQLite 3 ii python-scipy 0.7.2+dfsg1-1 scientific tools for Python ii python-soappy 0.12.0-4 SOAP Support for Python ii zenity 2.30.0-1 Display graphical dialog boxes fro pytrainer recommends no packages. pytrainer suggests no packages. -- no debconf information Regards, David -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#647671: [Pytrainer-devel] Bug#647671: pytrainer: log.out
Hi, Package: pytrainer Version: 1.7.2-1 Severity: normal 2011-11-05 12:25:19,516|ERROR|profile|__init__|Seems no data available in local configuration file: /home/robo/.pytrainer/conf.xml, please check 2011-11-05 12:25:19,516|ERROR|profile|__init__|Fatal error, exiting Thanks for log entries, we can now confirm this is a duplicate of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581991 Regards, David -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#645960: [Pytrainer-devel] Bug#645960: pytrainer: [INTL:pt] Portuguese translation for package messages
Hi, I have just added it: http://pytrainer.svn.sourceforge.net/pytrainer/?rev=896view=rev Thanks! David 2011/10/20 Traduz - Portuguese Translation Team tra...@debianpt.org: Package:pytrainer Version: 1.8.0 Tags: l10n, patch Severity: wishlist Portuguese translation for pytrainer's messages. Translator: Pedro Ribeiro p.m42.ribeiro _at_ gmail.com Feel free to use it. For translation updates please contact 'Last Translator' or the Portuguese Translation Teamtraduz _at_ debianpt.org. -- Best regards, Rui Branco Traduz - Portuguese Translation Team http://www.DebianPT.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org