Ticket #3104 (new defect)

Opened 4 months ago

Last modified 2 months ago

internal error (got unexpected object kind 'commit') when going to "Browse source"

Reported by: _deepfire@feelingofgreen.ru Assigned to: hvr
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

relevant software versions: trac 0.11rc1, git 1.5.5.1, latest GitPlugin, as of May 29 there appeared to be no way to get the traceback for the 0.11 version of the plugin, as opposed to the 0.10 one

the part of the logfile that seemed relevant: 2008-05-30 04:57:37,249 Trac[default_workflow] DEBUG: Workflow actions at initialization: {'resolve': {'operations': [u'set_resolution'], 'name': 'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, 'accept': {'operations': [u'set_owner_to_self'], 'name': 'accept', 'default': 0, 'newstate': u'accepted', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, 'leave': {'operations': [u'leave_status'], 'name': 'leave', 'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 'permissions': []}, 'reopen': {'operations': [u'del_resolution'], 'name': 'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], 'permissions': [u'TICKET_CREATE']}, 'reassign': {'operations': [u'set_owner'], 'name': 'reassign', 'default': 0, 'newstate': u'assigned', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': reset_workflow?, 'name': 'reset', 'default': 0, 'newstate': 'new', 'oldstates': [], 'permissions': []}}

2008-05-30 04:57:37,261 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect 2008-05-30 04:57:37,262 Trac[main] DEBUG: Dispatching <Request "GET u'/browser'"> 2008-05-30 04:57:37,345 Trac[git_fs] INFO: detected GIT version 1.5.5.1 2008-05-30 04:57:37,515 Trac[svn_fs] DEBUG: Subversion bindings imported 2008-05-30 04:57:37,568 Trac[PyGIT] DEBUG: PyGIT.Storage instance 141808716 constructed 2008-05-30 04:57:37,569 Trac[PyGIT] DEBUG: requested PyGIT.Storage instance 141808716 for '/mnt/enter/git/common-db/.git/' 2008-05-30 04:57:37,571 Trac[git_fs] INFO: enabled CachedRepository? for '/mnt/enter/git/common-db/.git/' 2008-05-30 04:57:37,748 Trac[PyGIT] DEBUG: triggered rebuild of commit tree db for 141808716 2008-05-30 04:57:38,090 Trac[PyGIT] DEBUG: rebuilt commit tree db for 141808716 with 54 entries 2008-05-30 04:57:38,098 Trac[api] DEBUG: action controllers for ticket workflow: ConfigurableTicketWorkflow? 2008-05-30 04:57:38,947 Trac[main] WARNING: 500 Trac Error (internal error (got unexpected object kind 'commit'))

Attachments

gitplugin.diff (352 bytes) - added by anonymous on 05/30/08 12:13:02.
Patch to avoid barfing on submodules

Change History

05/30/08 12:13:02 changed by anonymous

  • attachment gitplugin.diff added.

Patch to avoid barfing on submodules

05/30/08 12:13:56 changed by anonymous

I just had this happen myself. Basically GitPlugin is not handling submodules.

Here is a patch for it. I disclaim all rights to these changes. Feel free to use them under the same license as GitPlugin.

08/17/08 05:03:02 changed by anonymous

see also #3141


Add/Change #3104 (internal error (got unexpected object kind 'commit') when going to "Browse source")




Change Properties
Action