#2479 closed bug (Fixed)
module' object has no attribute 'json
Reported by: | iZeus83 | Owned by: | iZeus83 |
---|---|---|---|
Priority: | minor | Milestone: | 2.x |
Component: | Web UI | Version: | develop |
Keywords: | Cc: |
Description
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.
Attachments (2)
Change History (6)
comment:1 Changed 9 years ago by iZeus83
- Owner set to iZeus83
- Status changed from new to assigned
Changed 9 years ago by iZeus83
Changed 9 years ago by iZeus83
comment:2 Changed 9 years ago by Cas
comment:3 Changed 9 years ago by Cas
- Resolution set to Fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
My bad, fixed now.