Opened 10 years ago

Closed 10 years ago

#3279 closed defect (duplicate)

IndexError: list index out of range

Reported by: anonymous Owned by: Herbert Valerio Riedel
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: tuxmaster@… Trac Release: 0.11


I got this error when I tried to resync my environment with trac-admin

Resyncing repository history... 
Traceback (most recent call last):87f6ceb6]
  File "/usr/bin/trac-admin", line 8, in <module>
    load_entry_point('Trac==0.11', 'console_scripts', 'trac-admin')()
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/admin/", line 1249, in run
    return admin.onecmd(command)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/admin/", line 104, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib/python2.5/", line 219, in onecmd
    return func(arg)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/admin/", line 632, in do_resync
    repos = env.get_repository().sync(self._resync_feedback)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/versioncontrol/", line 195, in sync
    for path,kind,action,bpath,brev in cset.get_changes():
  File "build/bdist.linux-i686/egg/tracext/git/", line 424, in get_changes
  File "build/bdist.linux-i686/egg/tracext/git/", line 639, in diff_tree
IndexError: list index out of range

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by anonymous

Trac Release: 0.100.11

I have to mention that I'm using gitplugin 0.11

comment:2 Changed 10 years ago by anonymous

Resolution: duplicate
Status: newclosed

Patch of #2807 worked for me too, I just closed this ticket you can refer to #2807

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.