Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when executing main logic of my Python program #3

Open
Saijin-Naib opened this issue Apr 4, 2019 · 1 comment
Open

Crash when executing main logic of my Python program #3

Saijin-Naib opened this issue Apr 4, 2019 · 1 comment

Comments

@Saijin-Naib
Copy link

I know you're moved on from PyIrToy, but I'm curious if you could help me understand what this crash could mean:

Traceback (most recent call last):
File "STL_simple.py", line 466, in
pIRT = pIRt.IrToy(serialDevice)
File "/usr/local/lib/python3.5/dist-packages/irtoy_nohs.py", line 48, in init
hardware, revision = self.firmware_revision()
File "/usr/local/lib/python3.5/dist-packages/irtoy_nohs.py", line 66, in firmware_revision
hardwareVersion = int(versionString[1:2])
ValueError: invalid literal for int() with base 10: b'\xff'

@crleblanc
Copy link
Owner

It looks like it failing to parse the version information from the IR toy. I haven't used this device in a long time so can't offer much help. My guess is once it starts misbehaving it will return garbage information for almost any command, including the version information.

I see there's only one post on the IR Toy forum for 2019 with no replies. That's about as dead as the parrot in the old Monty Python skit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants