Skip to content

Broken pipe #34

@interSAP

Description

@interSAP

Hello,
on raspberry PI, the response I have is:
sudo python ./temper.py
Traceback (most recent call last):
File "/home/admin/scripts/./temper.py", line 472, in
main()
File "/home/admin/scripts/./temper.py", line 469, in main
sys.exit(temper.main())
^^^^^^^^^^^^^
File "/home/admin/scripts/./temper.py", line 462, in main
results = self.read(args.verbose)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/scripts/./temper.py", line 379, in read
results.append({ **info, **usbread.read() })
^^^^^^^^^^^^^^
File "/home/admin/scripts/./temper.py", line 304, in read
return self._read_hidraw(self.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/scripts/./temper.py", line 181, in _read_hidraw
firmware = self._read_hidraw_firmware(fd, self.verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/scripts/./temper.py", line 149, in _read_hidraw_firmware
os.write(fd, query)
BrokenPipeError: [Errno 32] Broken pipe

and the response if requesting a --list is
sudo python ./temper.py --list
Bus 001 Dev 001 1d6b:0002 xHCI Host Controller ['hidraw0']
Bus 001 Dev 002 2109:3431 USB2.0 Hub ['hidraw0']
Bus 001 Dev 003 1a86:e025 * TEMPerX232 ['hidraw0']
Bus 002 Dev 001 1d6b:0003 xHCI Host Controller
Bus 002 Dev 012 1058:107c Elements 107C

not sure why. Thanks for your kind support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions