Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Python 3.x support #51

Open
rkakrik opened this Issue Sep 22, 2012 · 1 comment

Comments

2 participants

rkakrik commented Sep 22, 2012

File "/home/krik/LBE3/lib/python3.2/site-packages/asyncmongo/connection.py", line 82
except socket.error, error:
^
SyntaxError: invalid syntax

  File "/home/krik/LBE3/lib/python3.2/site-packages/asyncmongo/cursor.py", line 47
    return u'%s.%s' % (self.__dbname, self.__collection)
                  ^
SyntaxError: invalid syntax

  File "/home/krik/LBE3/lib/python3.2/site-packages/asyncmongo/errors.py", line 44
    return u'IntegrityError: %s code:%s' % (self.msg, self.code or '')
                                       ^
SyntaxError: invalid syntax

shiny commented Jul 5, 2013

import asyncmongo

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.3/site-packages/asyncmongo/__init__.py", line 37, in <module>
    from errors import (Error, InterfaceError, AuthenticationError, DatabaseError, RSConnectionError,
ImportError: No module named 'errors'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment