Opened 17 years ago
Closed 14 years ago
#3104 closed defect (fixed)
[Patch] Internal error (got unexpected object kind 'commit') when going to "Browse source"
Reported by: | Owned by: | Herbert Valerio Riedel | |
---|---|---|---|
Priority: | normal | Component: | GitPlugin |
Severity: | blocker | Keywords: | |
Cc: | Tim Niemueller | Trac Release: | 0.12 |
Description (last modified by )
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 (1)
Change History (9)
Changed 17 years ago by
Attachment: | gitplugin.diff added |
---|
comment:1 Changed 17 years ago by
comment:3 Changed 15 years ago by
Cc: | Tim Niemueller added; anonymous removed |
---|
Recently ran into this. Is there a chance this simple and effective patch is applied?
comment:4 Changed 15 years ago by
Severity: | normal → blocker |
---|---|
Trac Release: | 0.11 → 0.12 |
I installed 0.12 (tar and svn) and got the same issue. I can`t find the git_fs-file anymore. Any idea where to fix this commit-issue?
Cheers
comment:5 Changed 14 years ago by
Would you please apply this patch until a real patch is done? At least you can browse your code with this applied.
comment:6 Changed 14 years ago by
im having this problem as well, could you please provide a work-around until its fixed.
comment:7 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Summary: | internal error (got unexpected object kind 'commit') when going to "Browse source" → [Patch] Internal error (got unexpected object kind 'commit') when going to "Browse source" |
comment:8 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Finally applied in 9e9bcbd6cabff046df0ef3147c905fe26366c266
Patch to avoid barfing on submodules