Modify

Opened 2 years ago

Last modified 21 months ago

#10039 new defect

TypeError: 'NoneType' object is unsubscriptable

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

Description

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/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 200, in dispatch
    chosen_handler)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/main.py", 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/api.py", 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/api.py", 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/svnsyncplugin.py", 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/svn_fs.py", 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/api.py", line 730, in __init__
    self.reponame = params['name']
TypeError: 'NoneType' object is unsubscriptable

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by rjollos

  • Component changed from SELECT A HACK to SvnsyncPlugin
  • Owner set to hanki

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.