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.
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages git-cola depends on:
> ii  git [git-core]    1:2.1.4-2.1
> ii  libjs-jquery      1.7.2+dfsg-3.2
> ii  libjs-modernizr   2.6.2+ds1-1
> ii  libjs-underscore  1.7.0~dfsg-1
> ii  python-qt4        4.11.4+dfsg-1
> pn  python:any        <none>
> 
> Versions of packages git-cola recommends:
> ii  gitk    1:2.1.4-2.1
> ii  xxdiff  1:4.0+hg437+dfsg-2
> 
> Versions of packages git-cola suggests:
> pn  python-pyinotify   <none>
> ii  python-simplejson  3.7.3-1

Hmm, that's odd.  Does it work if you do e.g.

    python2 /usr/bin/git-cola
?

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

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

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

I'm starting a dist-upgrade now.  I'll see if I can repro the
problem tonight once I'm upgraded, but this is surprising.

Thanks for the report.

cheers,
-- 
David


-- 
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