module' object has no attribute 'json
Hi.
It seems deluged works fine but if I launch deluge-web then I see this error in chrome browser:
web.Server Traceback (most recent call last):
exceptions.AttributeError: 'module' object has no attribute 'json'
/usr/lib64/python2.7/site-packages/twisted/web/server.py:156 in process
155 resrc = self.site.getResourceFor(self)
156 self.render(resrc)
157 except:
/usr/lib64/python2.7/site-packages/twisted/web/server.py:191 in render
190 try:
191 body = resrc.render(self)
192 except UnsupportedMethod, e:
/usr/lib/python2.7/site-packages/deluge-1.4.0.dev219-py2.7.egg/deluge/ui/web/server.py:559 in render
558 config = dict([(key, web_config[key]) for key in UI_CONFIG_KEYS])
559 js_config = common.json.dumps(config)
560 return template.render(scripts=scripts, stylesheets=self.stylesheets,
exceptions.AttributeError: 'module' object has no attribute 'json'
I have Centos 7 OS with python 2.7.
My bad, fixed now.