Frank,
I suggest you remove the cjson dependency and instead use simplejson:
http://pypi.python.org/pypi/simplejson/
At least in Python 2.6, this is included in the standard distribution
(as just “json”), and is really fast.
http://inkdroid.org/journal/2008/10/24/json-vs-pickle/
See attached patch; I don’t have time to test it, but it should work.
Bruce
Once you also remove the cjson dependency on gen_set_style_json.py 
Except, I get no results from the wget script.
Bruce
It seems there’s some problem with the bridge on my install, as
running the tests fails with a .Bus error. Have no clue what the
problem is.
Bruce
See attached patch; I don’t have time to test it, but it should work.
Once you also remove the cjson dependency on gen_set_style_json.py 
Except, I get no results from the wget script.
It seems there’s some problem with the bridge on my install, as
running the tests fails with a .Bus error. Have no clue what the
problem is.
The tests for python-spidermonkey produce a single error. It should
work nonetheless.
Your patch used json.load (load from file i/o object) instead of
json.loads (load from string). Fixing that produces an error instead
of empty output from wgetdemo.sh.
See attached patch; I don’t have time to test it, but it should work.
Once you also remove the cjson dependency on gen_set_style_json.py 
Except, I get no results from the wget script.
It seems there’s some problem with the bridge on my install, as
running the tests fails with a .Bus error. Have no clue what the
problem is.
The tests for python-spidermonkey produce a single error. It should
work nonetheless.
What version of python are you using? I get problems on 2.6 and 2.5
(and don’t want to hassle with 2.4 just to test this).
…
What version of python are you using? I get problems on 2.6 and 2.5
(and don’t want to hassle with 2.4 just to test this).
2.5, Ubuntu install
I have a feeling this is an OS X issue, since it often is when dealing
with dynamic libraries.
Bruce
…
What version of python are you using? I get problems on 2.6 and 2.5
(and don’t want to hassle with 2.4 just to test this).
2.5, Ubuntu install
I have a feeling this is an OS X issue, since it often is when dealing
with dynamic libraries.
It ran for Sean in OSX, with cjson, but the cause was a stupid mistake
in my code; I was feeding the bridge the python object directly, which
Python must have serialized to the object’s display string used for debugging.
With cjson, that just worked by accident, but with simplejson and json
(which are more correct), it broke. If you update from svn, the latest
version should just work for you.