Modify

Opened 18 years ago

Closed 18 years ago

#563 closed defect (fixed)

list of exported functions not displayed anymore

Reported by: Steffen Pingel Owned by: Alec Thomas
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by Alec Thomas)

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 18 years ago by Alec Thomas

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 18 years ago by Steffen Pingel

Thanks for the fix. It works now.

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

comment:3 Changed 18 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [1157]) Fixes #563.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.