You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am installing gitup at Debian 7 stable and found this error
za@github:~/$ gitup planpin
gitup: the git-repo-updater
Directory "/home/za/github/planpin" is a git repository:
planpin:
Fetching originTraceback (most recent call last):
File "/usr/local/bin/gitup", line 9, in <module>
load_entry_point('gitup==0.2.2', 'console_scripts', 'gitup')()
File "build/bdist.linux-i686/egg/gitup/script.py", line 90, in run
File "build/bdist.linux-i686/egg/gitup/script.py", line 82, in main
File "build/bdist.linux-i686/egg/gitup/update.py", line 288, in update_directories
File "build/bdist.linux-i686/egg/gitup/update.py", line 274, in _update_directory
File "build/bdist.linux-i686/egg/gitup/update.py", line 231, in _update_repository
File "build/bdist.linux-i686/egg/gitup/update.py", line 90, in _fetch_remotes
File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/remote.py", line 591, in fetch
kwargs = add_progress(kwargs, self.repo.git, progress)
File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/remote.py", line 79, in add_progress
v = git.version_info
File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/cmd.py", line 250, in version_info
return self._version_info
File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/cmd.py", line 226, in __getattr__
return LazyMixin.__getattr__(self, name)
File "/usr/local/lib/python2.7/dist-packages/gitdb-0.5.4-py2.7-linux-i686.egg/gitdb/util.py", line 238, in __getattr__
self._set_cache_(attr)
File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/cmd.py", line 233, in _set_cache_
self._version_info = tuple(int(n) for n in version_numbers.split('.')[:4])
File "/usr/local/lib/python2.7/dist-packages/GitPython-0.3.2.RC1-py2.7.egg/git/cmd.py", line 233, in <genexpr>
self._version_info = tuple(int(n) for n in version_numbers.split('.')[:4])
ValueError: invalid literal for int() with base 10: 'rc0'
The text was updated successfully, but these errors were encountered:
Hi. This looks like a bug in GitPython involving your version of git.
I found gitpython-developers/GitPython#123, which is the same thing. Seeing as that issue's been open for almost nine months, I wouldn't wait around for a fix. If it's possible to upgrade your git to a release without a RC tag, that would solve the problem.
Otherwise, I'm not sure what help to offer. A workaround for the error in my code would be a very ugly and unreliable monkey patch, so I won't attempt it. Sorry.
Hello,
I am installing gitup at Debian 7 stable and found this error
The text was updated successfully, but these errors were encountered: