Opened 13 years ago

Last modified 11 years ago

#8393 closed defect

Tried to use trac 0.12 with gitplugin failes cause of a Oops: read_commit called with empty commit_id — at Version 3

Reported by: cornbob@… Owned by: Herbert Valerio Riedel
Priority: high Component: GitPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

hello,

I got a error everytime I try to use the "browse source code" …

Trac detected an internal error:  GitError:  read_commit called with empty commit_id

Any help would be appreciated.

I looked into the egg, started also a modified one, cause the version for 0.12 was buggy for me. It does not do its job, cause it was complaining about the used git version.

2011-01-11 13:05:18,106 Trac[git_fs] ERROR: GitError: Could not retrieve GIT version (tried to execute/parse '/usr/bin/git-receive-pack --version' but got ValueError('need more than 0 values to unpack',))

So I return true for the version check for git in my modified version of gitplugin, which brought me to the next error (this one here). I've tried and searched, but I did not know, what is the problem with the committer id

today I tried on my host the trac version 0.11 + gitplugin without any problems. (done in 12min)

some infos:

openSUSE 11.2 (x86_64)
git version 1.6.4.2

cheers, chris

Change History (3)

comment:1 Changed 13 years ago by anonymous

seems you set git_bin to /usr/bin/git-receive-pack instead of /usr/bin/git

comment:2 in reply to:  1 Changed 13 years ago by cornbob@…

Replying to anonymous:

seems you set git_bin to /usr/bin/git-receive-pack instead of /usr/bin/git

it is set to git_bin = /usr/bin/git

I can post the old trac.ini for debug purposes, pls ask about it

comment:3 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.