henkelis / sonospy

Sonospy is a UPnP control point and Windows Media proxy for the Sonos multi-room audio system.
GNU General Public License v3.0
113 stars 16 forks source link

simpleJSON install breaks distributed version of web2py #54

Open henkelis opened 13 years ago

henkelis commented 13 years ago

If simpleJSON is installed (for example in Fedora 15 or macports), the version of web2py distributed with Sonospy won't run. This is fixed in a more recent version of web2py.

michaelnt commented 13 years ago

Is this the error that is displayed (running on Ubuntu 11.04 with simplejson 2.1.2)

AttributeError: 'JSONDecoder' object has no attribute 'object_pairs_hook'

henkelis commented 13 years ago

Yes. You can overcome it by installing the latest version of web2py. Note that the web2py folder in sonospy also contains the sonospy web2py app (sonospy/web2py/applications/sonospy/*), so you need to copy that back into the newly installed web2py install. You also need to copy in options.py from the web2py folder (that contains sonospy specific config).

On 09/02/2011 04:09 PM, michaelnt wrote:

Is this the error that is displayed (running on Ubuntu 11.04 with simplejson 2.1.2)

AttributeError: 'JSONDecoder' object has no attribute 'object_pairs_hook'