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

Unhandled SerialException #1

Open
maslovw opened this issue Jul 7, 2022 · 0 comments
Open

Unhandled SerialException #1

maslovw opened this issue Jul 7, 2022 · 0 comments

Comments

@maslovw
Copy link
Owner

maslovw commented Jul 7, 2022

Traceback (most recent call last):
  File "/home/cgw3bswtest/.local/bin/ssp9081", line 8, in <module>
    sys.exit(main())
  File "/home/cgw3bswtest/.local/lib/python3.10/site-packages/ssp_9081/bin/ssp9081.py", line 84, in main
    print("getI: ", power.getI())
  File "/home/cgw3bswtest/.local/lib/python3.10/site-packages/ssp_9081/control.py", line 53, in getI
    _,i = self.getUI()
  File "/home/cgw3bswtest/.local/lib/python3.10/site-packages/ssp_9081/control.py", line 38, in getUI
    res, resp = self.send('GETD')
  File "/home/cgw3bswtest/.local/lib/python3.10/site-packages/ssp_9081/control.py", line 34, in send
    return self.connection.recv()
  File "/home/cgw3bswtest/.local/lib/python3.10/site-packages/ssp_9081/interfaces.py", line 52, in recv
    resp = self.serial.read_until(b'\r')
  File "/home/cgw3bswtest/.local/lib/python3.10/site-packages/serial/serialutil.py", line 663, in read_until
    c = self.read(1)
  File "/home/cgw3bswtest/.local/lib/python3.10/site-packages/serial/serialposix.py", line 595, in read
    raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
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

1 participant