Edgewall Software

Opened 11 years ago

Closed 11 years ago

#10474 closed defect (cantfix)

TypeError: 'NoneType' object is not subscriptable

Reported by: buhman Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

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

I was attempting to setup GitPlugin, and had successfully synchronized the repository using trac-admin.

[~/radio] zack@server1$ (git::master) trac-admin /var/lib/trac/ repository resync "radio" Resyncing repository history for radio… 26 revisions cached.2b63d275d1e16bbef08353] Done.

Request parameters:


User agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0

System Information

Trac 0.12.2
Babel 0.9.6 (translations unavailable)
Docutils 0.8.1
Genshi 0.6
Pygments 1.4
pysqlite 2.6.0
Python 2.7.2+ (default, Aug 16 2011, 07:03:08)
[GCC 4.6.1]
pytz 2011h
setuptools 0.6
SQLite 3.7.7
Subversion 1.6.17 (r1128011)
jQuery 1.4.2

Enabled Plugins

tracext.git.git-fs N/A
TracMasterTickets 3.0.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 511, in _dispatch_request
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.7/dist-packages/trac/timeline/web_ui.py", line 142, in process_request
    available_filters += event_provider.get_timeline_filters(req) or []
  File "/usr/lib/python2.7/dist-packages/trac/versioncontrol/web_ui/changeset.py", line 861, in get_timeline_filters
    repositories = rm.get_real_repositories()
  File "/usr/lib/python2.7/dist-packages/trac/versioncontrol/api.py", line 588, in get_real_repositories
    repos = self.get_repository(reponame)
  File "/usr/lib/python2.7/dist-packages/trac/versioncontrol/api.py", line 526, in get_repository
    repos = connector.get_repository(rtype, rdir, repoinfo.copy())
  File "/usr/lib/python2.7/dist-packages/tracext/git/git_fs.py", line 162, in get_repository
  File "/usr/lib/python2.7/dist-packages/tracext/git/git_fs.py", line 180, in __init__
  File "/usr/lib/python2.7/dist-packages/trac/versioncontrol/api.py", line 732, in __init__
    self.reponame = params['name']
TypeError: 'NoneType' object is not subscriptable

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 11 years ago

Resolution: cantfix
Status: newclosed

PluginIssue (git plugin).

Modify Ticket

Change Properties
Set your email in Preferences
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.