Modify

Opened 7 years ago

Closed 7 years ago

#7127 closed defect (fixed)

NameError: global name 'ProtocolError' is not defined

Reported by: Thijs Triemstra Owned by: Olemis Lang
Priority: high Component: TracRpcProtocolsPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

When trying out the example I'm getting this error:

2010-05-14 11:14:43,583 Trac[web_ui] ERROR: RPC(AMF) Unhandled protocol error
Traceback (most recent call last):
  File "/usr/local/src/trac-plugins/xmlrpcplugin/tracrpc/web_ui.py", line 172, in _rpc_process
    protocol.send_rpc_error(req, e)
  File "/usr/local/src/trac-plugins/trac-rpcext/trac-dev/rpcext/tracrpcext/_amf.py", line 145, in send_rpc_error
    if isinstance(e, ProtocolError):
NameError: global name 'ProtocolError' is not defined

Attached patch fixes that.

Attachments (1)

exception.patch (975 bytes) - added by Thijs Triemstra 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Thijs Triemstra

Attachment: exception.patch added

comment:1 Changed 7 years ago by Olemis Lang

Resolution: fixed
Status: newclosed

Fixed in 2bd59d4121ec

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Olemis Lang.
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.