Opened 10 years ago

Closed 9 years ago

#11811 closed defect (fixed)

Exception on calling listRootCatalogs

Reported by: Michael.Lipaczewski@… Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: major Keywords:
Cc: Mark Potter Trac Release: 1.0


Following Exception occurs when opening the API documentation page of the rpc plugin (

Exception: testmanager.listRootCatalogs: object of type 'type' has no len() Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/tracrpc/", line 101, in _dump_docs (method.signature, File "build/bdist.linux-x86_64/egg/tracrpc/", line 230, in _get_signature if len(sig) < len(sigcand): TypeError: object of type 'type' has no len()

Most recent call:

File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/web/", line 497, in _dispatch_request
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/web/", line 214, in dispatch
  resp = chosen_handler.process_request(req)
File "build/bdist.linux-x86_64/egg/tracrpc/", line 72, in process_request
  return self._dump_docs(req)
File "build/bdist.linux-x86_64/egg/tracrpc/", line 111, in _dump_docs
  str(e), out.getvalue()))

Trac Version 1.0.1 RPC Version 1.1.2-r13776 TestManager 1.8.1

Ticket #11462 sounds similar, but was already released in 1.8.1 and did not fixed (or even brought up) the issue.

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by Roberto Longobardi

Hi Michael, I'm working on the 2.0 release (lots of changes) and I think I've fixed this issue inside that.

BTW, the release will feature a command line interface that uses the XML-PRC interface. That's why I'm pretty sure this issue has been fixed.

The release may be ready in a month or so.

If you really need this fix urgently, I may release a patch here earlier.

Let me know.

Ciao, Roberto

comment:2 Changed 10 years ago by Michael.Lipaczewski@…


thanks for the reply. I disabled the rpc feature for the TestManager to make it work again. For now, this works great but wanted to inform you about the issue.

looking forward to the release.

best regards Michael

comment:3 Changed 10 years ago by Mark Potter

Cc: Mark Potter added; anonymous removed

comment:4 Changed 9 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

Fixed with 1.8.2.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Roberto Longobardi.
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.