Traceback (most recent call last):


 "/tmp/GitPython/git/test/test_repo.py", line 768, in test_rev_parse

assert rev_parse('@{1}') != head.commit


 "/tmp/GitPython/git/repo/fun.py", line 263, in rev_parse

raise IndexError("Invalid revlog index: %i" % revlog_index)
IndexError: Invalid revlog index: -2

Traceback (most recent call last):

 "/usr/lib/python2.7/site-packages/syncthing_gtk/watcher.py", line 103, in _process_events
notifier.process_events()

 "/usr/lib/python2.7/site-packages/pyinotify.py", line 1287, in process_events
self._default_proc_fun(revent)

 "/usr/lib/python2.7/site-packages/syncthing_gtk/watcher.py", line 92, in _process
self._report_changed(event.pathname)

 "/usr/lib/python2.7/site-packages/syncthing_gtk/watcher.py", line 120, in _report_changed
self.daemon.rescan(folder_id, relpath)

 "/usr/lib/python2.7/site-packages/syncthing_gtk/daemon.py", line 1282, in rescan
self._rest_post("db/scan?folder=%s&sub=%s" % (folder_id, path_enc), {}, lambda *a: a, on_error, folder_id)NameError: global name 'on_error' is not defined