Modify

Opened 8 years ago

Closed 8 years ago

#5745 closed defect (fixed)

Error with package python-json on debian lenny

Reported by: jhoanir@… Owned by: Odd Simon Simonsen
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 Changed 8 years ago by Odd Simon Simonsen

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.

comment:2 in reply to:  1 Changed 8 years ago by jhoanir@…

Priority: highlow

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 8 years ago by Odd Simon Simonsen

Resolution: fixed
Status: newclosed

(In [6486]) XmlRpcPlugin: Adding additional check for actually locating the correct JSON library. Closes #5745.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Odd Simon Simonsen.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.