Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Python 3.x support #51

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

Python 3.x support #51

rkakrik opened this issue Sep 22, 2012 · 1 comment

Comments

@rkakrik
Copy link

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
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants