Hi!

On 23 February 2011 17:40, John de la Garza <[email protected]> wrote:

> AssertionError: No package found to encode python objects to JSON!
> Please install a supported package. See INSTALL file for more
> information.
>
> i changed json.py to have this:
> use_python_cjson=False
>
  Would you not have to install the respective Python package for JSON
support?

  I do not use Python, but instead I use Ruby which is very similar to
Python. There I just invoke my script via Apache/lighttpd and use a
CGI-object to fiddle out the JSON-string from the HTTP request. That
JSON-string is then passed into a JSON-parser which returns me a Ruby
representation of the JSON-object. The Ruby gems for that are 'cgi' and
'json'. You should be able to do something similar for Python.

  Hope that helps.

Joachim
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to