Opened 6 years ago

Last modified 6 years ago

#10039 new defect

TypeError: 'NoneType' object is unsubscriptable

Reported by: admin Owned by: Christof Hanke
Priority: normal Component: SvnsyncPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


How to Reproduce

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

(please provide additional details here)

Request parameters:


User agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0

System Information

Trac 0.12
Babel 0.9.6
Genshi 0.6
MySQL server: "5.1.52", client: "5.1.52", thread-safe: 1
MySQLdb 1.2.3
Pygments 1.1.1
Python 2.6.6 (r266:84292, Dec 7 2011, 20:38:36)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
pytz 2010h
setuptools 0.6
Subversion 1.6.11 (r934486)
Subversion 1.6.11 (r934486)
jQuery 1.4.2

Enabled Plugins

svnsyncplugin 0.1.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/", line 513, in _dispatch_request
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/", line 200, in dispatch
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/", line 346, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/versioncontrol/", line 330, in pre_process_request
    repo = self.get_repository(reponame)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/versioncontrol/", line 526, in get_repository
    repos = connector.get_repository(rtype, rdir, repoinfo.copy())
  File "/usr/lib/python2.6/site-packages/svnsyncplugin-0.1.2-py2.6.egg/svnsyncplugin/", line 37, in get_repository
    repos = SubversionRepository(repos_dir, None, self.log)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/versioncontrol/", line 344, in __init__
    Repository.__init__(self, name, params, log)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/versioncontrol/", line 730, in __init__
    self.reponame = params['name']
TypeError: 'NoneType' object is unsubscriptable

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Ryan J Ollos

Component: SELECT A HACKSvnsyncPlugin
Owner: changed from anonymous to Christof Hanke

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Christof Hanke.

Add Comment

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

Note: See TracTickets for help on using tickets.