Changes between Initial Version and Version 1 of Ticket #12408, comment 14


Ignore:
Timestamp:
Oct 7, 2016, 9:25:09 PM (8 years ago)
Author:
Jun Omae
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12408, comment 14

    initial v1  
    1 Proposed changes in https://github.com/jun66j5/xmlrpcplugin/commit/72d511afd48de658e5f712d26785faa705c3424d.
     1Proposed changes in https://github.com/jun66j5/xmlrpcplugin/commit/t12408.
    22
    33After the changes, the logging would be like this:
     
    111103:31:34 AM Trac[web_ui] WARNING: RPC(JSON-RPC) [192.168.11.27] QuerySyntaxError: Query filter requires field and constraints separated by a "="
    121203:31:54 AM Trac[web_ui] WARNING: RPC(JSON-RPC) [192.168.11.27] PermissionError: XML_RPC privileges are required to perform this operation. You don't have the required permissions.
     1306:21:11 AM Trac[web_ui] ERROR: RPC(JSON-RPC) [192.168.11.27] Exception caught while calling ticket.get(*[u'a']) by admin
     14Traceback (most recent call last):
     15  File "/src/xmlrpcplugin.git/tracrpc/web_ui.py", line 158, in _rpc_process
     16    result = (XMLRPCSystem(self.env).get_method(method_name)(req, args))[0]
     17  File "/src/xmlrpcplugin.git/tracrpc/api.py", line 197, in __call__
     18    result = self.callable(req, *args)
     19  File "/src/xmlrpcplugin.git/tracrpc/ticket.py", line 154, in get
     20    t = model.Ticket(self.env, id)
     21  File "/venv/trac/py27/1.0.13/local/lib/python2.7/site-packages/trac/ticket/model.py", line 69, in __init__
     22    tkt_id = int(tkt_id)
     23ValueError: invalid literal for int() with base 10: 'a'
     2406:21:11 AM Trac[web_ui] WARNING: RPC(JSON-RPC) [192.168.11.27] ServiceException: ServiceException details : invalid literal for int() with base 10: 'a'
    1325}}}