I just found out about sumatra (and I'm very excited to try it for my
own work!). I've got git, gitpython, pygit, sumatra and other
dependencies properly installed (as far as I know). I did:
mkdir test
cd test
smt init test
and I got
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/Sumatra-0.3.0-py2.6.egg/EGG-INFO/scripts/smt:35:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
print "Error:", err.message
Error: No version control systems found.
Not sure what's going on here? I've only seen one post but it was on
Windows.
I'm using OS X, 10.7.2, python 2.6
thanks!
Grace
In a Python shell, can you try:
>>> import git
>>> import sumatra.versioncontrol._git
and let me know what happens.
Thanks,
Andrew
following your command, it seems you don't have created a git repo in
test directory
Cheers,
Michele.
Here are the messages that I get based on what you've requested.
Perhaps there is something wrong with my pygit install?
grace@Graces-iMac~/github/test$ smt init test
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Sumatra-0.3.0-py2.6.egg/EGG-INFO/scripts/smt:35:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
print "Error:", err.message
Error: No version control systems found.
grace@Graces-iMac~/github/test$ python
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import git
>>> import sumatra.versioncontrol._git
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Sumatra-0.3.0-py2.6.egg/sumatra/versioncontrol/_git.py",
line 25, in <module>
from git.exc import InvalidGitRepositoryError
ImportError: No module named exc
I think I just figured it out. I installed both pygit and gitpython
packages and Sumatra uses gitpython, but import git imported pygit,
and so sumatra was failing. I removed pygit, and now it seems to be
"working"!
Thanks,
Grace