Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#12103 closed defect (cantfix)

Exception: testmanager.listRootCatalogs: object of type 'type' has no len()

Reported by: ixolt@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /rpc, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36

System Information

Trac 1.0.6post2
Docutils 0.10
Genshi 0.7 (without speedups)
mod_wsgi 3.5 (WSGIProcessGroup WSGIApplicationGroup trac.biddocsonline.com|)
MySQL server: "5.5.40", client: "5.5.40", thread-safe: 1
MySQLdb 1.2.3c1
Pygments 1.6
Python 2.7.6 (default, Jan 22 2015, 15:49:12)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
pytz 2014.4
RPC 1.1.3
setuptools 7.0
jQuery 1.7.2
jQuery UI 1.8.21
jQuery Timepicker 1.0.1

Enabled Plugins

EstimationTools 0.3dev-r11777
TestManager 1.8.2
TracGenericClass 1.1.6
TracGenericWorkflow 1.0.5
TracXMLRPC 1.1.3

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 534, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 227, in dispatch
    resp = chosen_handler.process_request(req)
  File "/opt/***/python/lib/python2.7/site-packages/TracXMLRPC-1.1.3-py2.7.egg/tracrpc/web_ui.py", line 72, in process_request
    return self._dump_docs(req)
  File "/opt/***/python/lib/python2.7/site-packages/TracXMLRPC-1.1.3-py2.7.egg/tracrpc/web_ui.py", line 111, in _dump_docs
    str(e), out.getvalue()))
Exception: testmanager.listRootCatalogs: object of type 'type' has no len()
Traceback (most recent call last):
  File "/opt/***/python/lib/python2.7/site-packages/TracXMLRPC-1.1.3-py2.7.egg/tracrpc/web_ui.py", line 101, in _dump_docs
    (method.signature,
  File "/opt/***/python/lib/python2.7/site-packages/TracXMLRPC-1.1.3-py2.7.egg/tracrpc/api.py", line 230, in _get_signature
    if len(sig) < len(sigcand):
TypeError: object of type 'type' has no len()

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 10 years ago

Resolution: cantfix
Status: newclosed
Summary: Exception: testmanager.listRootCatalogs: object of type 'type' has no len()Traceback (most recent call last): File "/opt/bitnami/python/lib/python2.7/site-packages/TracXMLRPC-1.1.3-py2.7.egg/tracrpc/web_ui.py", line 101, in _dump_docs (method.signature, File "/opt/bitnami/python/lib/python2.7/site-packages/TracXMLRPC-1.1.3-py2.7.egg/tracrpc/api.py", line 230, in _get_signature if len(sig) < len(sigcand):TypeError: object of type 'type' has no len()Exception: testmanager.listRootCatalogs: object of type 'type' has no len()

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.