Opened 12 years ago
Last modified 9 years ago
#9552 closed defect
TypeError: 'NoneType' object is not subscriptable — at Version 6
Reported by: | Owned by: | Herbert Valerio Riedel | |
---|---|---|---|
Priority: | normal | Component: | GitPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
How to Reproduce
While doing a GET operation on /timeline
, Trac issued an internal error.
please provide additional details here
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
|
GIT | 1.7.7.1
|
Pygments | 1.4
|
pysqlite | 2.6.0
|
Python | 2.7.2 default, Aug 16 2011, 07:03:08 br 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 dispatcher.dispatch req 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
Change History (6)
comment:1 Changed 12 years ago by
comment:3 Changed 12 years ago by
easy_install http://github.com/hvr/trac-git-plugin/tarball/master
as described on GitPlugin.
comment:4 Changed 12 years ago by
I have the same issue. Installed trac and git-trac from Ubuntu repos. Set up trac.ini file as follows:
repository_dir = /path/to/repos/.git repository_type = git tracrpc.* = enabled tracext.git.* = enabled cached_repository = false persistent_cache = false shortrev_len = 6 wiki_shortrev_len = 7 git_bin = /usr/bin/git git_fs_encoding = utf-8 trac_user_rlookup = false use_committer_id = true use_committer_time = false
comment:5 Changed 12 years ago by
I have also the same issue when using trac-git with Ubuntu Oneiric.
comment:6 Changed 12 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
Sorry, my WikiFormatting got eaten.
I originally submitted this at http://trac.edgewall.org/ticket/10474 which is formatted properly.