On Dec 11, 2007 11:33 AM, Marco Costalba <mcostalba@xxxxxxxxx> wrote: > On Dec 11, 2007 8:14 PM, Jason Sewall <jasonsewall@xxxxxxxxx> wrote: > > On Dec 11, 2007 1:20 PM, Marco Costalba <mcostalba@xxxxxxxxx> wrote: > > > ./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. > > > > ./configure --prefix=$HOME/bin > > (half) worked thanks. > Hello To allow python to find the libs you just have to set $PYTHONPATH to include $PREFIX/lib/python2.4/site-packages (change that 2.4 to 2.5 if you're on python2.5). Of course in a packaged form that wouldn't be an issue since $PREFIX=/usr, but for test-driving it you'd probably need to set PYTHONPATH. Are there any distros that don't use $PREFIX/lib/python2.x/site-packages? If not, it wouldn't hurt to add an assumption about the installation layout into the main script. > > 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: setLeftMargin As for the setLeftMarginError -- That could be because you have py/qt 4.2. The ui files were generated with designer-qt4 (4.3.x) so you might need a more recent pyqt4. I'll see if I can grab an older version of pyqt and use it for all of the ui designs (.ui files are probably forward but not backwards compatible). - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html