cjson issue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cjson issue

johnd
I now have cjson and simplejson installed.

here is a new error related to cjson



Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import qxjsonrpc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "qxjsonrpc/__init__.py", line 52, in <module>
    from qxjsonrpc._request import *
  File "qxjsonrpc/_request.py", line 24, in <module>
    from qxjsonrpc.json import *
  File "qxjsonrpc/json.py", line 224, in <module>
    json=encode(obj)
  File "qxjsonrpc/json.py", line 140, in encode
    return cjson.encode(obj, extension=dateEncoder, key2str=True)
TypeError: encode() takes no keyword arguments
>>>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel