Modify

Opened 6 years ago

Closed 6 years ago

#3279 closed defect (duplicate)

IndexError: list index out of range

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

Description

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/console.py", line 1249, in run
    return admin.onecmd(command)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/admin/console.py", line 104, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
    return func(arg)
  File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/admin/console.py", 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/cache.py", line 195, in sync
    for path,kind,action,bpath,brev in cset.get_changes():
  File "build/bdist.linux-i686/egg/tracext/git/git_fs.py", line 424, in get_changes
  File "build/bdist.linux-i686/egg/tracext/git/PyGIT.py", line 639, in diff_tree
IndexError: list index out of range

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by anonymous

  • Trac Release changed from 0.10 to 0.11

I have to mention that I'm using gitplugin 0.11

comment:2 Changed 6 years ago by anonymous

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

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.