Tigge/antfs-cli

Sometimes fail to find and connect to watch

Opened this issue · 3 comments

Just endless streams of:

2012-04-12 11:56:21,256 - garmin : DEBUG - Reading message...
2012-04-12 11:56:22,258 - garmin : WARNING - , (110, 'Operation timed out')

2012-05-04 14:48:18,375  garmin.ant.base  WARNING   <class 'usb.core.USBError'>, (110, 'Operation timed out')
2012-05-04 14:48:19,376  garmin.ant.base  WARNING   <class 'usb.core.USBError'>, (110, 'Operation timed out')
2012-05-04 14:48:20,377  garmin.ant.base  WARNING   <class 'usb.core.USBError'>, (110, 'Operation timed out')
2012-05-04 14:48:21,378  garmin.ant.base  WARNING   <class 'usb.core.USBError'>, (110, 'Operation timed out')
2012-05-04 14:48:22,379  garmin.ant.base  WARNING   <class 'usb.core.USBError'>, (110, 'Operation timed out')
2012-05-04 14:48:23,380  garmin.ant.base  WARNING   <class 'usb.core.USBError'>, (110, 'Operation timed out')

I'm experiencing this aswell. First try it started during "searching" the next time it happened during "Downloading index..."

Currently using:

pyusb                     - Python USB access module
  INSTALLED: 1.0.0a2 (latest)

The issue where it hangs forever at "Searching..." is probably related to issue #15, which was fixed recently (for me at least).

The issue where it hangs at "Downloading index..." could be related to issue #17.

I'm afraid it still hangs sometimes when "Searching..." but most of the time it moves along just fine, last updates might have done it.

I'm not so sure it's related to #17 cause every third to fourth try I get pass that step and it starts to download my activities. It even skips the first 4 activities (as intended) because they have already been downloaded but with 100+ activities to download, this will take some time =)


I've posted two logs as a gist over at https://gist.github.com/2729372. The first one never downloaded anything but the second one started to download one activity but didn't complete it.


While I'm at it, is there any way to stop a running python script with a keyboard command? It seems that neither ctrl+c nor ctrl+d stops this python script.