fogleman/axi

ValueError: invalid literal for int() with base 10: "!8 Err: Unknown command 'QS:5153'"

nestcodehouse opened this issue · 11 comments

axi goto 10 10
Traceback (most recent call last):
File "/usr/local/bin/axi", line 9, in
load_entry_point('axi==0.1', 'console_scripts', 'axi')()
File "/Users/jojiabraham/code/axi/axi/main.py", line 34, in main
device.goto(x, y)
File "/Users/jojiabraham/code/axi/axi/device.py", line 97, in goto
px, py = self.read_position()
File "/Users/jojiabraham/code/axi/axi/device.py", line 124, in read_position
a, b = map(int, response.split(','))
ValueError: invalid literal for int() with base 10: "!8 Err: Unknown command 'QS:5153'"

Is this AxiDraw v3? Have you gotten any commands to work?

Yes , it is AxiDraw3 , only when I issued "axi on" I heard some noise from the AxiDraw , Any command that involves movement failing with this error

@oskay any ideas? My code only sends QS but this error says !8 Err: Unknown command 'QS:5153'

oskay commented

Outdated firmware?

oskay commented

The QS command was only added in 2.4.3 (very recent) and isn't used in any of the software that we're publishing.

so is it recommended to update the firmware to fix this issue or remove the usage of QS from the axi python module ?

@oskay Did any AxiDraw v3's ship with older firmware? @nestcodehouse Did you change the firmware on your device?

No , I am using the firmware it came with

I'm suspicious of the ":5153" part, but I have no idea where that would be coming from.

oskay commented

Try running the firmware update, and see if that helps.

I had the same issue using an Axidraw V2. Updating the firmware fixed it for me.