Hi, > this fails completely on my device ... logging is not providing any > useful information but i did look through the source code for the > garmintools module and found the part where you are trying to read the > output of "garmin_get_info" to read which device is connected > > on my system that command outputs the correct data but there appear to > be 2 weird characters in the text in the "product_description" tag - > specifically the </product_description> tag is preceeded by what appears > to be a tab character > > another appears a few lines further down in the middle of the xml data > > this appears to be throwing off the import as it seems to be choking the > xml parser (maybe?) > > would it be possible to remove invalid chars (below ascii 32) before > trying the parsing?
The "getDeviceInfo" method shouldn't impact on import process. Actually it shows ERROR|garmintools_full|getDeviceInfo|Not able to identify GPS device. Continuing anyway... when trying to import from my Garmin Forerunner 305. I find it strange that logging provides no useful information. Did you try to start pytrainer in debug mode ($pytrainer -d)? Regards, David ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel