Opened 3 years ago

Closed 3 years ago

#8519 closed defect (duplicate)

Trac GitPlugin Error

Reported by: cristian@… Owned by: hvr
Priority: normal Component: GitPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.12


After I've installed GitPlugin I get this errors:

2011-02-18 18:57:48,378 Trac[loader] DEBUG: Loading tracopt.ticket.deleter from c:\python26\lib\site-packages\trac-0.12.2-py2.6-win32.egg
2011-02-18 18:57:48,378 Trac[default_workflow] DEBUG: Workflow actions at initialization: {u'resolve': {u'operations': [u'set_resolution'], 'name': u'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, u'accept': {u'operations': [u'set_owner_to_self'], 'name': u'accept', 'default': 0, 'newstate': u'accepted', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, u'leave': {u'operations': [u'leave_status'], 'name': u'leave', u'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 'permissions': []}, u'reopen': {u'operations': [u'del_resolution'], 'name': u'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], u'permissions': [u'TICKET_CREATE']}, u'reassign': {u'operations': [u'set_owner'], 'name': u'reassign', 'default': 0, 'newstate': u'assigned', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 'oldstates': [], 'permissions': []}}

2011-02-18 18:57:48,378 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect
2011-02-18 18:57:48,378 Trac[main] DEBUG: Dispatching <Request "GET '/prefs'">
2011-02-18 18:57:48,471 Trac[git_fs] INFO: detected GIT version 1.7.4.msysgit.0
2011-02-18 18:57:48,471 Trac[svn_fs] DEBUG: Subversion bindings imported
2011-02-18 18:57:48,471 Trac[pygit] DEBUG: PyGIT.Storage instance 61837600 constructed
2011-02-18 18:57:48,471 Trac[pygit] DEBUG: requested weak PyGIT.Storage instance 61837600 for 'e:/projects/gitrepo/test1.git/.git'
2011-02-18 18:57:48,471 Trac[main] ERROR: Internal Server Error: 
Traceback (most recent call last):
  File "c:\users\admini~1\appdata\local\temp\easy_install-rtpgnw\Trac-0.12.2-py2.6-win32.egg.tmp\trac\web\", line 511, in _dispatch_request
  File "c:\users\admini~1\appdata\local\temp\easy_install-rtpgnw\Trac-0.12.2-py2.6-win32.egg.tmp\trac\web\", line 202, in dispatch
  File "c:\users\admini~1\appdata\local\temp\easy_install-rtpgnw\Trac-0.12.2-py2.6-win32.egg.tmp\trac\web\", line 344, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "c:\users\admini~1\appdata\local\temp\easy_install-rtpgnw\Trac-0.12.2-py2.6-win32.egg.tmp\trac\versioncontrol\", line 330, in pre_process_request
    repo = self.get_repository(reponame)
  File "c:\users\admini~1\appdata\local\temp\easy_install-rtpgnw\Trac-0.12.2-py2.6-win32.egg.tmp\trac\versioncontrol\", line 526, in get_repository
    repos = connector.get_repository(rtype, rdir, repoinfo.copy())
  File "build\bdist.win32\egg\tracext\git\", line 162, in get_repository
  File "build\bdist.win32\egg\tracext\git\", line 180, in __init__
    Repository.__init__(self, "git:"+path, None, log)
  File "c:\users\admini~1\appdata\local\temp\easy_install-rtpgnw\Trac-0.12.2-py2.6-win32.egg.tmp\trac\versioncontrol\", line 732, in __init__
    self.reponame = params['name']
TypeError: 'NoneType' object is unsubscriptable

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by bsavelev

  • Resolution set to duplicate
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from hvr. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.