Opened 12 years ago

Closed 12 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/", line 335, in dispatch_request
  File "/home/stp/.local/lib/python2.3/site-packages/trac/web/", line 220, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracrpc/", line 55, in process_request
TypeError: int() argument must be a string or a number

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

Attachments (0)

Change History (3)

comment:1 Changed 12 years ago by Alec Thomas

Description: modified (diff)

Try this on line

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

Resolution: fixed
Status: newclosed

(In [1157]) Fixes #563.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.