lad1337 / XDM

XDM: eXtendable Download Manager. Plugin based media collection manager.
xdm.lad1337.de
Other
203 stars 46 forks source link

AttributeError: 'Response' object has no attribute 'json' #115

Open speelgoedkoper opened 10 years ago

speelgoedkoper commented 10 years ago

I'm attempting to run XDM on a Synology NAS, but am stuck in the config wizard in step 2, the error message i'm seeing is:

INFO| 2014-01-28 20:52:58.837817: Checking if repo at https://raw.github.com/lad1337/XDM-main-plugin-repo/master/meta.json
   ERROR| 2014-01-28 20:52:59.236050: XDM demo https://raw.github.com/lad1337/XDM-main-plugin-repo/master/meta.json had an error during cache
Traceback:
Traceback (most recent call last):
  File "/volume1/@appstore/XDM/xdm/plugins/repository.py", line 73, in cache
    repo.cache()
  File "/volume1/@appstore/XDM/xdm/plugins/repository.py", line 393, in cache
    repo_info = r.json()
AttributeError: 'Response' object has no attribute 'json'

I'm seeing the same message for the develop repo https://raw.github.com/lad1337/XDM-main-plugin-repo/develop/meta.json

Python version is 2.7.3

speelgoedkoper commented 10 years ago

Error remains with Python 2.7.6, but pip install requests --upgrade seems to have fixed it

lad1337 commented 10 years ago

ah yes you had a globally installed requests

you could also run XDM in an empty virtual env to only use the libraries that XDM comes with and is sure to run with