Debian Bug report logs -
#550720
Fails to launch, with runtime error about sip API version
Reported by: jedd <jedd@progsoc.org>
Date: Mon, 12 Oct 2009 14:00:02 UTC
Severity: normal
Found in version eric/4.3.7.1-1
Done: "Gudjon I. Gudjonsson" <gudjon@gudjon.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, gudjon@gudjon.org (Gudjon I. Gudjonsson):
Bug#550720; Package eric.
(Mon, 12 Oct 2009 14:00:05 GMT) (full text, mbox, link).
Acknowledgement sent
to jedd <jedd@progsoc.org>:
New Bug report received and forwarded. Copy sent to gudjon@gudjon.org (Gudjon I. Gudjonsson).
(Mon, 12 Oct 2009 14:00:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: eric
Version: 4.3.7.1-1
Hi Gudjon,
I know there's been a few errors about scintilla the past few
months, but this doesn't seem related. I've followed some of
the similar suggestions, but haven't got past this error.
I want to run python3, of course, and so have pulled this in
from testing, along with the various dependencies and suggests.
I'm running an almost pristine Debian unstable box - with a
couple of ubuntu packages that don't seem likely to be interfering
(mysql-workbench-oss, and php-doc). I'm using KDE4 from
unstable.
Running eric gives me this error:
~$ eric
Traceback (most recent call last):
File "/usr/share/eric/modules/eric4.py", line 46, in <module>
from KdeQt.KQApplication import KQApplication
File "/usr/share/eric/modules/KdeQt/__init__.py", line 20, in <module>
import Preferences
File "/usr/share/eric/modules/Preferences/__init__.py", line 26, in <module>
from PyQt4 import Qsci
RuntimeError: the sip module implements API v6.0 but the PyQt4.Qsci module
requires API v5.0
dpkg version listing:
ii eric 4.3.7.1-1 full
featured Python IDE
ii eric-api-files 4.3.7.1-1 API
description files for use with eric
ii bicyclerepair 0.9-6 A
refactoring tool for python
ii idle-python3.1 3.1-1 An
IDE for Python (v3.1) using Tkinter
ii libapache2-mod-python 3.3.1-8
Python-embedding module for Apache 2
ii libboost-python1.38.0 1.38.0-7+b1
Boost.Python Library
ii libboost-python1.40.0 1.40.0-2
Boost.Python Library
ii plasma-scriptengine-python 4:4.3.2-1
Python script engine for Plasma
ii python 2.5.4-2 An
interactive high-level object-oriented la
ii python-beagle 0.3.9-1
Python bindings for beagle
ii python-cairo 1.8.6-1
Python bindings for the Cairo vector graphic
ii python-central 0.6.11
register and build utility for Python packag
ii python-chardet 1.0.1-1.1
universal character encoding detector
ii python-crypto 2.0.1+dfsg1-4
cryptographic algorithms and protocols for P
ii python-cups 1.9.31-1.1
Python bindings for CUPS
ii python-cupsutils 1.0.0-6
Python utility modules around the CUPS print
ii python-dbus 0.83.0-1
simple interprocess messaging system (Python
ii python-gconf 2.28.0-1
Python bindings for the GConf configuration
ii python-glade2 2.16.0-1 GTK+
bindings: Glade support
ii python-gnomedesktop 2.28.0-1
Python bindings for the GNOME desktop librar
ii python-gnomekeyring 2.28.0-1
Python bindings for the GNOME keyring librar
ii python-gobject 2.20.0-1
Python bindings for the GObject library
ii python-gtk2 2.16.0-1
Python bindings for the GTK+ widget set
ii python-gtksourceview2 2.8.0-1
Python bindings for the GtkSourceView widget
ii python-kde4 4:4.3.2-1
Python bindings for the KDE 4 libraries
ii python-minimal 2.5.4-2 A
minimal subset of the Python language (def
ii python-numpy 1:1.3.0-3
Numerical Python adds a fast array facility
ii python-paramiko 1.7.4-0.1 Make
ssh v2 connections with python
ii python-pexpect 2.3-1
Python module for automating interactive app
ii python-pkg-resources 0.6c9-2
Package Discovery and Resource Access using
ii python-pycurl 7.19.0-3
Python bindings to libcurl
ii python-pygments 1.1.1+dfsg-1
syntax highlighting package written in Pytho
ii python-pyorbit 2.24.0-2 A
Python language binding for the ORBit2 COR
ii python-qscintilla2 2.4-3
Python bindings for QScintilla 2
ii python-qt4 4.6-1
Python bindings for Qt4
ii python-qt4-dbus 4.6-1 DBus
Support for PyQt4
ii python-reportbug 4.8
Python modules for interacting with bug trac
ii python-setuptools 0.6c9-2
Python Distutils Enhancements
ii python-sip4 4.9-1
Python/C++ bindings generator runtime librar
ii python-smartpm 1.2-4
Python library of the Smart Package Manager
ii python-support 1.0.4
automated rebuilding support for Python modu
ii python-uno 1:3.1.1-4
full-featured office productivity suite -- P
ii python-wnck 2.28.0-1
Python bindings for the WNCK library
ii python-wxgtk2.8 2.8.7.1-2+b1
wxWidgets Cross-platform C++ GUI toolkit (wx
ii python-wxversion 2.6.3.2.2-3.1
wxWidgets Cross-platform C++ GUI toolkit (wx
ii python2.5 2.5.4-2 An
interactive high-level object-oriented la
ii python2.5-minimal 2.5.4-2 A
minimal subset of the Python language (ver
ii python3 3.1-1 An
interactive high-level object-oriented la
ii python3-minimal 3.1-1 A
minimal subset of the Python language (def
ii python3-tk 3.1-1
Tkinter - Writing Tk applications with Pytho
ii python3.1 3.1-1 An
interactive high-level object-oriented la
ii python3.1-doc 3.1-1
Documentation for the high-level object-orie
ii python3.1-examples 3.1-1
Examples for the Python language (v3.1)
ii python3.1-minimal 3.1-1 A
minimal subset of the Python language (ver
Information forwarded
to debian-bugs-dist@lists.debian.org, gudjon@gudjon.org (Gudjon I. Gudjonsson):
Bug#550720; Package eric.
(Mon, 12 Oct 2009 16:42:13 GMT) (full text, mbox, link).
Acknowledgement sent
to "Gudjon I. Gudjonsson" <gudjon@gudjon.org>:
Extra info received and forwarded to list. Copy sent to gudjon@gudjon.org (Gudjon I. Gudjonsson).
(Mon, 12 Oct 2009 16:42:13 GMT) (full text, mbox, link).
Message #10 received at 550720@bugs.debian.org (full text, mbox, reply):
Hi
You can fix this problem by rebuilding python-qscintilla2:
$ apt-get source python-qscintilla2
$ cd qscintilla2-2.4
$ fakeroot dpkg-buildpackage
$ cd ..
$ su
# dpkg -i *.deb
I hope this helps until the debian version will be rebuilt.
Regards
Gudjon
Information forwarded
to debian-bugs-dist@lists.debian.org, gudjon@gudjon.org (Gudjon I. Gudjonsson):
Bug#550720; Package eric.
(Mon, 12 Oct 2009 20:15:03 GMT) (full text, mbox, link).
Acknowledgement sent
to jedd <jedd@progsoc.org>:
Extra info received and forwarded to list. Copy sent to gudjon@gudjon.org (Gudjon I. Gudjonsson).
Your message did not contain a Subject field. They are recommended and
useful because the title of a $gBug is determined using this field.
Please remember to include a Subject field in your messages in future.
(Mon, 12 Oct 2009 20:15:03 GMT) (full text, mbox, link).
Message #15 received at 550720@bugs.debian.org (full text, mbox, reply):
Thank you for this. I've spent some time working through, finding
a bucketload of packages that I didn't have installed already, but
now I'm really stuck at this error (during dpkg-buildpackage)
I'll just show the last several lines before the error message:
mkdir -p Python/build-2.5
cd Python/build-2.5 \
&& python2.5 ../configure.py -n ../../Qt4/ -o ../../Qt4 -c -p 4
PyQt 4.6 is being used.
Qt v4.5.3 free edition is being used.
SIP 4.9 is being used.
The QScintilla module will be installed in
/usr/lib/python2.5/site-packages/PyQt4.
The QScintilla API file will be installed in /usr/share/qt4/qsci/api/python.
The QScintilla .sip files will be installed in /usr/share/sip/PyQt4.
Generating the C++ source for the Qsci module...
Creating the Makefile for the Qsci module...
touch Python/build-2.5/configure-stamp
dh_testdir
mkdir -p Python/build-2.6
cd Python/build-2.6 \
&& python2.6 ../configure.py -n ../../Qt4/ -o ../../Qt4 -c -p 4
Unable to import sipconfig. Please make sure SIP is installed.
make: *** [Python/build-2.6/configure-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
apt-file suggests that sipconfig.py exists in 'python-sip4' and there's
a sipconfig_d.py in python-sip4-dbg - but I have both those packages,
from experimental branch, already installed. Plus, of course, I have
the sip4 package installed. All are version 4.9-1
Apologies for being a bit dumb about this - long time Debian user,
usually avoid the experimental branch for just this kind of reason,
but just now starting to learn python and want to stick with 3.x
thanks,
Jedd.
Information forwarded
to debian-bugs-dist@lists.debian.org, gudjon@gudjon.org (Gudjon I. Gudjonsson):
Bug#550720; Package eric.
(Mon, 12 Oct 2009 21:12:02 GMT) (full text, mbox, link).
Acknowledgement sent
to "Gudjon I. Gudjonsson" <gudjon@gudjon.org>:
Extra info received and forwarded to list. Copy sent to gudjon@gudjon.org (Gudjon I. Gudjonsson).
(Mon, 12 Oct 2009 21:12:03 GMT) (full text, mbox, link).
Message #20 received at 550720@bugs.debian.org (full text, mbox, reply):
Hi again
If you have problem building qscintilla, you can download binary packages
from my server:
deb http://195.198.146.229/debian/ i386/
On Monday 12 October 2009 22:10:00 jedd wrote:
> Thank you for this. I've spent some time working through, finding
> a bucketload of packages that I didn't have installed already, but
> now I'm really stuck at this error (during dpkg-buildpackage)
>
> I'll just show the last several lines before the error message:
>
> mkdir -p Python/build-2.5
> cd Python/build-2.5 \
> && python2.5 ../configure.py -n ../../Qt4/ -o ../../Qt4 -c
> -p 4 PyQt 4.6 is being used.
> Qt v4.5.3 free edition is being used.
> SIP 4.9 is being used.
> The QScintilla module will be installed in
> /usr/lib/python2.5/site-packages/PyQt4.
> The QScintilla API file will be installed in
> /usr/share/qt4/qsci/api/python. The QScintilla .sip files will be installed
> in /usr/share/sip/PyQt4. Generating the C++ source for the Qsci module...
> Creating the Makefile for the Qsci module...
> touch Python/build-2.5/configure-stamp
> dh_testdir
> mkdir -p Python/build-2.6
> cd Python/build-2.6 \
> && python2.6 ../configure.py -n ../../Qt4/ -o ../../Qt4 -c
> -p 4 Unable to import sipconfig. Please make sure SIP is installed.
> make: *** [Python/build-2.6/configure-stamp] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
>
> apt-file suggests that sipconfig.py exists in 'python-sip4' and there's
> a sipconfig_d.py in python-sip4-dbg - but I have both those packages,
> from experimental branch, already installed. Plus, of course, I have
> the sip4 package installed. All are version 4.9-1
>
> Apologies for being a bit dumb about this - long time Debian user,
> usually avoid the experimental branch for just this kind of reason,
> but just now starting to learn python and want to stick with 3.x
This is tricky. If you install python-all-dev from experimental, you most
probably need to compile all the python-qt stuff with python-2.6 support. I
think it is much easier to install my binary packages.
Hope it solves the problem
Gudjon
Information forwarded
to debian-bugs-dist@lists.debian.org, gudjon@gudjon.org (Gudjon I. Gudjonsson):
Bug#550720; Package eric.
(Wed, 14 Oct 2009 22:03:11 GMT) (full text, mbox, link).
Acknowledgement sent
to jedd <jedd@progsoc.org>:
Extra info received and forwarded to list. Copy sent to gudjon@gudjon.org (Gudjon I. Gudjonsson).
(Wed, 14 Oct 2009 22:03:13 GMT) (full text, mbox, link).
Message #25 received at 550720@bugs.debian.org (full text, mbox, reply):
I've installed your new python-qscintilla2_2.4-3_i386.deb
on my laptop and desktop, and it's solved the problem in both
places, so that's just marvellous - thank you again for your help
here. Just have to work out how to convince it to talk python3
and I'll be sorted, but that should be nice and easy! :)
Reply sent
to "Gudjon I. Gudjonsson" <gudjon@gudjon.org>:
You have taken responsibility.
(Fri, 16 Oct 2009 07:57:19 GMT) (full text, mbox, link).
Notification sent
to jedd <jedd@progsoc.org>:
Bug acknowledged by developer.
(Fri, 16 Oct 2009 07:57:19 GMT) (full text, mbox, link).
Message #30 received at 550720-done@bugs.debian.org (full text, mbox, reply):
Hi
python-qscintilla2 2.4-4 is now in Debian and therefore I close this bug.
/Gudjon
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 14 Nov 2009 07:29:55 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Jan 9 20:42:03 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.