pyRserve python3 syntax error

Skip to first unread message

Стас Иванов

Sep 4, 2015, 12:55:33 PM9/4/15
to pyRserve
In the current version of pyRserve (install from pip3, ubuntu 14.04 x32, fedora 22 x64, python3.4) I've get this syntax error:

Traceback (most recent call last):
    import pyRserve
  File "/usr/lib/python3.4/site-packages/pyRserve/", line 9, in <module>
    from .rconn import connect
  File "/usr/lib/python3.4/site-packages/pyRserve/", line 79
    except socket.error, msg:
SyntaxError: invalid syntax

After replacing line 79 in to:
except socket.error as msg:

everything works.

Ralph Heinkel

Sep 4, 2015, 1:00:27 PM9/4/15
to pyRserve
I've received a patch some days ago which fixes this problem.
A new version of pyRserve has just been uploaded to pypi, so please upgrade your package from there to get a working version for Python 3.4.

Reply all
Reply to author
0 new messages