Description of problem: run pyOBD, select OBD-II -> Configure Version-Release number of selected component: pyobd-0.9.2.2-4.fc21 Additional info: reporter: libreport-2.5.1 cmdline: python /usr/bin/pyobd dso_list: pyserial-2.7-1.fc22.noarch executable: /usr/bin/pyobd kernel: 4.0.4-301.fc22.x86_64 runlevel: N 5 type: Python uid: 500 Truncated backtrace: serialposix.py:289:open:OSError: [Errno 13] Permission denied: '/dev/ttyS0' Traceback (most recent call last): File "/usr/bin/pyobd", line 654, in Configure ports = self.scanSerial() File "/usr/bin/pyobd", line 608, in scanSerial s = serial.Serial(i) File "/usr/lib/python2.7/site-packages/serial/serialutil.py", line 282, in __init__ self.open() File "/usr/lib/python2.7/site-packages/serial/serialposix.py", line 289, in open self.fd = os.open(self.portstr, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK) OSError: [Errno 13] Permission denied: '/dev/ttyS0' Local variables in innermost frame: self: Serial<id=0x7f74be9b1b90, open=False>(port='/dev/ttyS0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
Created attachment 1038383 [details] File: backtrace
Created attachment 1038384 [details] File: environ
*** Bug 1349316 has been marked as a duplicate of this bug. ***
Also reproducible on F23. I provided a patch to pyserial in the duplicate bug, but maybe the exception should be caught in pyobd instead.
IMHO it's currently catching serial.SerialException, and I think that pyserial should encapsulate OSError exceptions, but I am going to workaround this problem.
F22 is phasing out, moving to F23.
pyobd-0.9.3-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d37c05ce55
pyobd-0.9.3-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c3a29222dd
pyobd-0.9.3-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c3a29222dd
pyobd-0.9.3-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d37c05ce55
pyobd-0.9.3-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
pyobd-0.9.3-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.