Modify ↓
      
        Opened 15 years ago
Closed 15 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)
Change History (2)
Changed 15 years ago by
| Attachment: | exception.patch added | 
|---|
comment:1 Changed 15 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Note: See
        TracTickets for help on using
        tickets.
    


Fixed in 2bd59d4121ec