Hello,

I'm having trouble starting web2py.py on my local machine.

I'm using web2py 1.76.5, Python 2.5.4 on Windows 7.

I have simplejson 2.1.1 installed in site-packages. If I remove it,
web2py.py launches fine.

Here's the traceback:

Traceback (most recent call last):
  File "C:\Users\Alexei\Documents\web2py\web2py-1.76.5\web2py.py", line 17, in <
module>
    import gluon.widget
  File "C:\Users\Alexei\Documents\web2py\web2py-1.76.5\gluon\widget.py", line 29
, in <module>
    from main import HttpServer
  File "gluon\main.py", line 35, in <module>
    from globals import Request, Response, Session
  File "gluon\globals.py", line 18, in <module>
    from compileapp import run_view_in
  File "gluon\compileapp.py", line 28, in <module>
    from sql import SQLDB, SQLField, DAL, Field
  File "C:\Users\Alexei\Documents\web2py\web2py-1.76.5\gluon\sql.py", line 43, i
n <module>
    from serializers import json
  File "C:\Users\Alexei\Documents\web2py\web2py-1.76.5\gluon\serializers.py", li
ne 9, in <module>
    import contrib.simplejson as simplejson
  File "C:\Users\Alexei\Documents\web2py\web2py-1.76.5\gluon\contrib\simplejson\
__init__.py", line 238, in <module>
    _default_decoder = JSONDecoder(encoding=None, object_hook=None)
  File "C:\Users\Alexei\Documents\web2py\web2py-1.76.5\gluon\contrib\simplejson\
decoder.py", line 322, in __init__
    self.scan_once = make_scanner(self)
AttributeError: 'JSONDecoder' object has no attribute 'object_pairs_hook'

-- 
Alexei Vinidiktov

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to