On Fri, 2015-06-19 at 09:00 -0700, David Aguilar wrote:
> On Fri, Jun 19, 2015 at 10:52:37AM +0200, Martin Erik Werner wrote:
> > Package: git-cola
> > Version: 2.1.2-1
> > Severity: important
> > 
> > git-cola fails to start with:
> > 
> >   Sorry, you do not seem to have PyQt4 installed.
> >   Please install it before using git-cola.
> >   e.g.: sudo apt-get install python-qt4
> > 
> > even though python-qt4 is installed.
> > 

(...)

> Hmm, that's odd.  Does it work if you do e.g.
> 
>     python2 /usr/bin/git-cola
> ?

No, same error.

> I'm wondering whether it's possible that python-qt4 is installed
> for a different version of Python.
> 
> I'm also on sid and I was just able to launch the version from
> `master` from its source tree (./bin/git-cola) without issues.
> Does the latest version from github work for you?
> 
>     git clone git://github.com/git-cola/git-cola.git &&
>     ./git-cola/bin/git-cola

Same error there.

> git-cola is just doing the following in python.
> Can you launch these commands inside a python shell and let me
> know what happens?
> 
>     import sip
>     from PyQt4 import QtGui

$ python
Python 2.7.10 (default, Jun  1 2015, 16:21:46) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sip
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named sip
>>> from PyQt4 import QtGui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named sip
>>> 

> Lastly, what does `python --version` print?

Python 2.7.10

Based on the errors about sip above I tried just installing python-sip,
and then it works, seemingly without any further issues. So I guess
this needs to be added to the dependencies.

--
Martin Erik Werner <martinerikwer...@gmail.com>


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to