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

traceback when trying to connect to an ip. #732

Duality4Y opened this Issue Apr 4, 2016 · 0 comments


None yet
1 participant

Duality4Y commented Apr 4, 2016

hi there another traceback sorry for that!
but this time when i try and connect to my printer but when the ip is not available.
(I haven't connected to the acces point yet)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/printrun/", line 1057, in connect
    if not self.connect_to_printer(port, baud, self.settings.dtr):
  File "/usr/lib/python2.7/site-packages/printrun/", line 720, in connect_to_printer
    self.p.connect(port, baud, dtr)
  File "/usr/lib/python2.7/site-packages/printrun/", line 46, in inner
    return f(*args, **kw)
  File "/usr/lib/python2.7/site-packages/printrun/", line 187, in connect
    "\n" + e.strerror)
TypeError: coercing to Unicode: need string or buffer, NoneType found

@kliment kliment closed this in 7ca952d Apr 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment