samuraisam / django-json-rpc

JSON-RPC Implementation for Django
MIT License
286 stars 83 forks source link

Django 1.8 Support? #64

Closed bartmika closed 9 years ago

bartmika commented 9 years ago

Hi, I ran:

pip3 install django-json-rpc

and I get the following error:

Downloading django-json-rpc-0.6.3.tar.gz (101kB): 101kB downloaded
  Running setup.py (path:/Users/bartlomiejmika/Developer/comicscantina/py-ecantina/env/build/django-json-rpc/setup.py) egg_info for package django-json-rpc

Requirement already satisfied (use --upgrade to upgrade): Django>=1.0 in /Users/bartlomiejmika/Developer/comicscantina/py-ecantina/env/lib/python3.4/site-packages (from django-json-rpc)
Installing collected packages: django-json-rpc
  Running setup.py install for django-json-rpc
      File "/Users/bartlomiejmika/Developer/comicscantina/py-ecantina/env/lib/python3.4/site-packages/jsonrpc/__init__.py", line 45
        except Exception, e:
                        ^
    SyntaxError: invalid syntax

      File "/Users/bartlomiejmika/Developer/comicscantina/py-ecantina/env/lib/python3.4/site-packages/jsonrpc/proxy.py", line 45
        print '%s error %r' % (self.service_name, y)
                          ^
    SyntaxError: invalid syntax

      File "/Users/bartlomiejmika/Developer/comicscantina/py-ecantina/env/lib/python3.4/site-packages/jsonrpc/site.py", line 170
        except TypeError, exc:
                        ^
    SyntaxError: invalid syntax

Can you fix this?

samuraisam commented 9 years ago

We dont support python3 yet but django 1.8 works fine. Accepting pull requests.