Modify

Opened 8 years ago

Closed 8 years ago

#563 closed defect (fixed)

list of exported functions not displayed anymore

Reported by: steffenp@… Owned by: athomas
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by athomas)

When trying to access /trac/xmlrpc from a web browser I get the following exception:

2006-08-02 01:50:18,449 Trac[main] ERROR: int() argument must be a string or a number
Traceback (most recent call last):
  File "/home/stp/.local/lib/python2.3/site-packages/trac/web/main.py", line 335, in dispatch_request
    dispatcher.dispatch(req)
  File "/home/stp/.local/lib/python2.3/site-packages/trac/web/main.py", line 220, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracrpc/web_ui.py", line 55, in process_request
TypeError: int() argument must be a string or a number

Undoing the change that was made to tracrpc/web_ui.py in revision 1076 fixes the problem.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by athomas

  • Description modified (diff)

Try this on line web_ui.py:32:

        if content_type is None or 'text/xml' not in content_type:

(It's r1070 BTW, and please block quote tracebacks in future. It makes life a lot easier.)

comment:2 Changed 8 years ago by steffenp@…

Thanks for the fix. It works now.

(I am getting too used to Bugzilla which lacks integrated Wiki support.)

comment:3 Changed 8 years ago by athomas

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

(In [1157]) Fixes #563.

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.