Re: [ANNOUNCE] ugit: a pyqt-based git gui // was: Re: If you would write git from scratch now, what would you change?
- From
- Jason Sewall <jasonsewall@gmail.com>
- Date
- Dec 11, 2007, 19:14 UTC
- Message-ID
- <31e9dd080712111114t2bbdba60m18b7d6210f3f9174@mail.gmail.com>
- In-Reply-To
- <e5bfff550712111020k51829c03n5d64a94ce7c7ac2a@mail.gmail.com>
On Dec 11, 2007 1:20 PM, Marco Costalba <mcostalba@gmail.com> wrote:
Show 10 quoted lines
> Cannot start the thing... > > $ python bin/ugit.py > Traceback (most recent call last): > File "bin/ugit.py", line 6, in <module> > from ugitlibs.models import GitModel > ImportError: No module named ugitlibs.models > $ > > Some hints?
Where did you install it?
Because I had the same problem when I did ./configure because it puts the python stuff in /usr/local/python2.5/site-packages/... and python doesn't look there by default. ./configure --prefix=/usr fixed that for me (and I'm sure there's a way to tell python to look in /usr/local... too, but I can't be bothered with that.
I re-installed without the prefix and that error disappeared, but now I get
Traceback (most recent call last):
File "/usr/local/bin/ugit", line 12, in <module>
view = GitView (app.activeWindow())
File "../py/views.py", line 15, in __init__
File "default/ui/Window.py", line 43, in setupUi
AttributeError: setLeftMarginI'm too busy to poke around and see why that's happening, but hopefully someone can.
This with Python 2.5.1 and PyQt4 4.2-8 (from an up-to-date Fedora 8 install)
Jason