Modify

Opened 4 years ago

Closed 4 years ago

#7127 closed defect (fixed)

NameError: global name 'ProtocolError' is not defined

Reported by: thijs Owned by: olemis
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 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by thijs

comment:1 Changed 4 years ago by olemis

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

Fixed in 2bd59d4121ec

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.