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

gpstest.py broken pipe error #4

Open
dima72 opened this issue Aug 28, 2020 · 1 comment
Open

gpstest.py broken pipe error #4

dima72 opened this issue Aug 28, 2020 · 1 comment

Comments

@dima72
Copy link

dima72 commented Aug 28, 2020

https://github.com/sixfab/Sixfab_RPi_3G-4G-LTE_Base_Shield/blob/master/tutorials/GPS/gpstest.py

Connecting port
Receiving GPS data
Traceback (most recent call last):
  File "gpstest.py", line 48, in <module>
    ser = serial.Serial(port, baudrate = 115200, timeout = 0.5)
  File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
    self.open()
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 286, in open
    self._update_dtr_state()
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 634, in _update_dtr_state
    fcntl.ioctl(self.fd, TIOCMBIS, TIOCM_DTR_str)
IOError: [Errno 32] Broken pipe
@dima72
Copy link
Author

dima72 commented Aug 28, 2020

reinstall pyserial2.7 worked for me to solve 'Broken Pipe' problem

sudo pip install --force-reinstall pyserial==2.7

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