sumatra No Version control systems found error (Mac OS X 10.7.2)

125 views
Skip to first unread message

Grace L

unread,
Dec 11, 2011, 5:08:51 PM12/11/11
to sumatra-users
Hi Andrew,

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

Andrew Davison

unread,
Dec 12, 2011, 3:54:54 AM12/12/11
to sumatr...@googlegroups.com
Hi Grace,


In a Python shell, can you try:

>>> import git
>>> import sumatra.versioncontrol._git

and let me know what happens.

Thanks,

Andrew

Michele Mattioni

unread,
Dec 12, 2011, 5:34:23 AM12/12/11
to sumatr...@googlegroups.com
Hi Grace,

following your command, it seems you don't have created a git repo in
test directory

Cheers,
Michele.

Grace Li

unread,
Dec 13, 2011, 12:37:49 AM12/13/11
to sumatr...@googlegroups.com
Hi Andrew,

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

Grace Li

unread,
Dec 13, 2011, 12:43:46 AM12/13/11
to sumatr...@googlegroups.com
Hi Andrew,

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

Reply all
Reply to author
Forward
0 new messages