Opened 15 years ago
Closed 15 years ago
#5745 closed defect (fixed)
Error with package python-json on debian lenny
Reported by: | Owned by: | osimons | |
---|---|---|---|
Priority: | low | Component: | XmlRpcPlugin |
Severity: | critical | Keywords: | python-json |
Cc: | Trac Release: | 0.11 |
Description
Error with package python-json on debian 5 (lenny)
Package: python-json Version: 3.4-2
" Internal Server Error
TracError: AttributeError: 'module' object has no attribute 'JSONEncoder' "
Attachments (0)
Change History (3)
comment:1 follow-up: 2 Changed 15 years ago by
comment:2 Changed 15 years ago by
Priority: | high → low |
---|
Replying to osimons:
The supported JSON is simplejson - the package that the Python 2.6+ JSON is based on.
Could you see if you can find a python-simplejson in your package manager?
I'll add another check in the code to make sure it is the right
json
that is discovered.
Yes, I have python-simplejson in my repo and work ok. Just wanna report the error.
Thank you!
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [6486]) XmlRpcPlugin: Adding additional check for actually locating the correct JSON library. Closes #5745.
The supported JSON is simplejson - the package that the Python 2.6+ JSON is based on.
Could you see if you can find a python-simplejson in your package manager?
I'll add another check in the code to make sure it is the right
json
that is discovered.