Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#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)

error json.jpg (146.5 KB) - added by iZeus83 10 years ago.
error json.zip (121.3 KB) - added by iZeus83 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by iZeus83

  • Owner set to iZeus83
  • Status changed from new to assigned

Changed 10 years ago by iZeus83

Changed 10 years ago by iZeus83

comment:2 Changed 10 years ago by Cas

My bad, fixed now.

comment:3 Changed 10 years ago by Cas

  • Resolution set to Fixed
  • Status changed from assigned to closed

comment:4 Changed 7 years ago by Cas

  • Milestone changed from 2.0.x to 2.x

Milestone renamed

Note: See TracTickets for help on using tickets.