Comments (6)
I recently removed the Python 2.7 support since it has reached end of life at the end of last year. Please try with Python 3.6 or above.
from antfs-cli.
Right, I should have tried Python 3 of course. The installation worked fine. Thx!
But now I get another message when I try to pair my 910xt.
Of course there is something I have missed, could you help me with this one as well?
Driver available: [<class 'ant.base.driver.USB2Driver'>, <class 'ant.base.driver.USB3Driver'>]
- Using: <class 'ant.base.driver.USB2Driver'>
Request basic information...
Capabilities: array('B', [8, 3, 0, 186, 54, 0])
Starting system...
Key done...
Searching...
Exception in thread ant.base:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/ant/base/ant.py", line 180, in _worker
and message.data[1] == 0x01
AttributeError: 'Message' object has no attribute 'data'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/antfs_cli-0.4-py3.8.egg/antfs_cli/program.py", line 384, in main
g.start()
File "/usr/local/lib/python3.8/dist-packages/ant/fs/manager.py", line 223, in start
self._main()
File "/usr/local/lib/python3.8/dist-packages/ant/fs/manager.py", line 150, in _main
if self.on_link(beacon):
File "/usr/local/lib/python3.8/dist-packages/antfs_cli-0.4-py3.8.egg/antfs_cli/program.py", line 167, in on_link
self.link()
File "/usr/local/lib/python3.8/dist-packages/ant/fs/manager.py", line 383, in link
self._send_command(LinkCommand(self._frequency, 4, self._serial_number))
File "/usr/local/lib/python3.8/dist-packages/ant/fs/manager.py", line 199, in _send_command
self._channel.send_acknowledged_data(data)
File "/usr/local/lib/python3.8/dist-packages/ant/easy/channel.py", line 119, in send_acknowledged_data
self.wait_for_event([Message.Code.EVENT_TRANSFER_TX_COMPLETED])
File "/usr/local/lib/python3.8/dist-packages/ant/easy/channel.py", line 50, in wait_for_event
return wait_for_event(ok_codes, self._node._events, self._node._event_cond)
File "/usr/local/lib/python3.8/dist-packages/ant/easy/filter.py", line 73, in wait_for_event
return wait_for_message(match, process, queue, condition)
File "/usr/local/lib/python3.8/dist-packages/ant/easy/filter.py", line 62, in wait_for_message
raise AntException("Timed out while waiting for message")
ant.easy.exception.AntException: Timed out while waiting for message
Interrupted: Timed out while waiting for message
from antfs-cli.
I just merged a pull request to openant which might have fixed this. Could you try installing again? If not it should be possible to use openant commit ae9e7366fb78b2c39467e1a028b34cfb0c64ffd7.
from antfs-cli.
installed the update on pi3b+ and got follow error:
**
pi@pi:~/garmin/antfs-cli $ antfs-cli Traceback (most recent call last): File "/usr/local/bin/antfs-cli", line 11, in <module> load_entry_point('antfs-cli==0.4', 'console_scripts', 'antfs-cli')() File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 561, in load_entry_point File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 2631, in load_entry_point File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 2291, in load File "build/bdist.linux-armv7l/egg/pkg_resources/__init__.py", line 2297, in resolve File "/usr/local/lib/python2.7/dist-packages/antfs_cli-0.4-py2.7.egg/antfs_cli/program.py", line 181 print(" - Passkey:", end=" ") ^ SyntaxError: invalid syntax
**
from antfs-cli.
Hi, have reinstalled both Kali and Python3. Get this Timed Out message.
Looks like it finds the USB when running lsusb, but I'm thinking about a faulty Ant stick...?
Any opinions?
Perhaps using USB3 driver?
──(anon㉿kali)-[~]
└─$ antfs-cli --pair
Driver available: [<class 'ant.base.driver.USB2Driver'>, <class 'ant.base.driver.USB3Driver'>]
- Using: <class 'ant.base.driver.USB2Driver'>
Request basic information...
Capabilities: array('B', [8, 3, 0, 186, 54, 0])
Starting system...
Key done...
Searching...
Exception in thread ant.base:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/dist-packages/ant/base/ant.py", line 180, in _worker
and message.data[1] == 0x01
AttributeError: 'Message' object has no attribute 'data'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/antfs_cli-0.4-py3.8.egg/antfs_cli/program.py", line 384, in main
g.start()
File "/usr/local/lib/python3.8/dist-packages/ant/fs/manager.py", line 223, in start
self._main()
File "/usr/local/lib/python3.8/dist-packages/ant/fs/manager.py", line 150, in _main
if self.on_link(beacon):
File "/usr/local/lib/python3.8/dist-packages/antfs_cli-0.4-py3.8.egg/antfs_cli/program.py", line 167, in on_link
self.link()
File "/usr/local/lib/python3.8/dist-packages/ant/fs/manager.py", line 383, in link
self._send_command(LinkCommand(self._frequency, 4, self._serial_number))
File "/usr/local/lib/python3.8/dist-packages/ant/fs/manager.py", line 199, in _send_command
self._channel.send_acknowledged_data(data)
File "/usr/local/lib/python3.8/dist-packages/ant/easy/channel.py", line 119, in send_acknowledged_data
self.wait_for_event([Message.Code.EVENT_TRANSFER_TX_COMPLETED])
File "/usr/local/lib/python3.8/dist-packages/ant/easy/channel.py", line 50, in wait_for_event
return wait_for_event(ok_codes, self._node._events, self._node._event_cond)
File "/usr/local/lib/python3.8/dist-packages/ant/easy/filter.py", line 73, in wait_for_event
return wait_for_message(match, process, queue, condition)
File "/usr/local/lib/python3.8/dist-packages/ant/easy/filter.py", line 62, in wait_for_message
raise AntException("Timed out while waiting for message")
ant.easy.exception.AntException: Timed out while waiting for message
Interrupted: Timed out while waiting for message
┌──(anon㉿kali)-[~]
└─$
from antfs-cli.
@L150 There should be a new openant out with a fix for this
@bluebaer7 Looks like you are also running Python 2.7. It is now unsupported.
from antfs-cli.
Related Issues (20)
- DriverNotFound? HOT 4
- [CRITICAL] Login Failure: No login ticket HOT 3
- Resume partially completed transfers HOT 3
- legacy session url not found HOT 5
- upload to strava HOT 3
- Not finding SPEED_CELL HOT 1
- fail to upload with fit file of 0 byte
- Download files to $XDG_DATA_HOME, not $XDG_CONFIG_HOME HOT 2
- Refresh Strava OAuth token before uploading HOT 2
- multiple python tracebacks on Ubuntu HOT 1
- Unable to paring and sync
- After upgrade to Ubuntu 20.10 the GFR610 is not found by antfs-cli (which it did before) HOT 2
- Error running antfs-cli - array index out of range. HOT 3
- Antfs-cli saving files in /root HOT 1
- ANT-FS Device scanner
- Timeout occurs when attempting to download the file that comes after a 'large' file HOT 1
- Launching antfs-cli fails
- Neither XDG_CONFIG_HOME nor HOME found in the environment HOT 3
- Timed out while waiting for message HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antfs-cli.