Opened 7 years ago

Closed 7 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


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/", line 172, in _rpc_process
    protocol.send_rpc_error(req, e)
  File "/usr/local/src/trac-plugins/trac-rpcext/trac-dev/rpcext/tracrpcext/", 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 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by thijs

comment:1 Changed 7 years ago by olemis

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

Fixed in 2bd59d4121ec

Add Comment

Modify Ticket

as closed The owner will remain olemis.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.