AttributeError: 'module' object has no attribute 'dumps' due to simplejson dependency
|Reported by:||jbeilicke||Owned by:||richard|
At first, thx for the plugin! :)
Unfortunately I cannot get it started in Trac 0.12. After compiling the plugin and setting everything up, I was able to define some basic templates. When trying to create a new ticket, Trac behaves like there is no TracTicketTemplatePlugin installed.
I realized that simplejson is required, so I installed it afterwards. No change.
The trac.log reveals an error:
2011-03-02 09:56:32,863 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 513, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 235, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-x86_64/egg/tickettemplate/ttadmin.py", line 258, in process_request jsonstr = simplejson.dumps(result) AttributeError: 'module' object has no attribute 'dumps'
Any hint how to solve this issue?
Thx in advance!
Change History (6)
comment:2 Changed 6 years ago by hasienda
- Keywords json dependency added
- Severity changed from blocker to major
- Summary changed from Plugin not working: AttributeError: 'module' object has no attribute 'dumps' to AttributeError: 'module' object has no attribute 'dumps' due to simplejson dependency
comment:3 follow-up: ↓ 5 Changed 6 years ago by richard
- Resolution set to fixed
- Status changed from new to closed