2012-10-22, 15:35
Hi Baryho, It seems there is something amiss with your systems python json module. This error in your log -
This can happen if somehow you have a file/script in your $PATH named json.py that isn't the actual module.
You can check by opening a command window, go to start type cmd in search, select cmd.exe. Enter the following one at a time.
This should print something like -
A crude fix is to edit the add-on's default.py, near the top you will find -
change this to
This isn't optimal though, it will be overwritten if updated, you may/will have the same error with other add-on's, python code.
Code:
data = json.loads(getRequest(url))
AttributeError: 'module' object has no attribute 'loads'
This can happen if somehow you have a file/script in your $PATH named json.py that isn't the actual module.
You can check by opening a command window, go to start type cmd in search, select cmd.exe. Enter the following one at a time.
Code:
python
import json
print json.__file__
exit()
Code:
>>> print json.__file__
C:\Python26\lib\json\__init__.pyc
A crude fix is to edit the add-on's default.py, near the top you will find -
Code:
try:
import json
except:
import simplejson as json
Code:
import simplejson as json
This isn't optimal though, it will be overwritten if updated, you may/will have the same error with other add-on's, python code.