Modify

Opened 5 years ago

Closed 5 years ago

#5745 closed defect (fixed)

Error with package python-json on debian lenny

Reported by: jhoanir@… 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: Changed 5 years ago by 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.

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

  • Priority changed from high to 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 5 years ago by osimons

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.