Processed: Re: [Python-modules-team] Bug#556943: python-matplotlib: Segfaults with Qt4Agg backend

2009-11-27 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 severity 556943 minor
Bug #556943 [python-matplotlib] python-matplotlib: Segfaults with Qt4Agg backend
Severity set to 'minor' from 'grave'

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#556943: [Python-modules-team] Bug#556943: python-matplotlib: Segfaults with Qt4Agg backend

2009-11-27 Thread Sandro Tosi
severity 556943 minor
thanks

On Sun, Nov 22, 2009 at 14:03, Benjamin Drung bdr...@ubuntu.com wrote:
 Am Mittwoch, den 18.11.2009, 15:01 +0100 schrieb Teemu Ikonen:
  import matplotlib.pyplot as plt
  plt.plot([1,2])
 Segmentation fault

 I enabled Qt4Agg backend and tried this example code without an
 segmentation fault in an up-to-date squeeze environment.

 This is could be a bug in python-qt4, which was updated recently, but other
 PyQt4 applications work fine here.

 That's possible. Is your system up-to-date? Where there any PyQt4
 updates since you reported this bug? Do you still experience the bug?

I just created a fresh squeeze chroot, then

# apt-get install python-matplotlib
...
# apt-get install python-qt4
...
# export DISPLAY=:0.0
# python
Python 2.5.4 (r254:67916, Sep 26 2009, 10:32:22)
[GCC 4.3.4] on linux2
Type help, copyright, credits or license for more information.
 import matplotlib as mpl
 mpl.use('Qt4Agg')
 import matplotlib.pyplot as plt
 plt.plot([1,2])
QGtkStyle cannot be used together with the GTK_Qt engine.
[matplotlib.lines.Line2D object at 0x2275590]
 plt.show()


So there should be something broken on your machine (hence the
severity downgrade).

Versions of packages python-matplotlib depends on:
ii  libatk1.0-01.28.0-1  The ATK accessibility toolkit
ii  libc6  2.10.1-7  GNU C Library: Shared libraries
ii  libcairo2  1.8.8-2   The Cairo 2D vector graphics libra
ii  libfontconfig1 2.6.0-4   generic font configuration library
ii  libfreetype6   2.3.11-1  FreeType 2 font engine, shared lib
ii  libgcc11:4.4.2-3 GCC support library
ii  libglib2.0-0   2.22.2-2  The GLib library of C routines
ii  libgtk2.0-02.18.3-1  The GTK+ graphical user interface
ii  libpango1.0-0  1.26.0-1  Layout and rendering of internatio
ii  libpng12-0 1.2.40-1  PNG library - runtime
ii  libstdc++6 4.4.2-3   The GNU Standard C++ Library v3
ii  python 2.5.4-2   An interactive high-level object-o
ii  python-cairo   1.8.6-1   Python bindings for the Cairo vect
ii  python-dateutil1.4.1-3   powerful extensions to the standar
ii  python-gobject 2.20.0-1  Python bindings for the GObject li
ii  python-matplotlib-data 0.99.1.2-1Python based plotting system (data
ii  python-numpy   1:1.3.0-3 Numerical Python adds a fast array
ii  python-pyparsing   1.5.2-1   Python parsing module
ii  python-support 1.0.4 automated rebuilding support for P
ii  python-tz  2009p-1   Python version of the Olson timezo
ii  tcl8.5 8.5.7-1   Tcl (the Tool Command Language) v8
ii  tk8.5  8.5.7-2   Tk toolkit for Tcl and X11, v8.5 -
ii  zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages python-matplotlib recommends:
ii  python-glade2 2.16.0-1   GTK+ bindings: Glade support
ii  python-gtk2   2.16.0-1   Python bindings for the GTK+ widge
ii  python-qt44.6-1  Python bindings for Qt4

Could you please look at these deps and see if upgrading/downgrading
some of this packages helps?

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



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



Bug#556943: python-matplotlib: Segfaults with Qt4Agg backend

2009-11-23 Thread Teemu Ikonen
On Sun, Nov 22, 2009 at 2:03 PM, Benjamin Drung bdr...@ubuntu.com wrote:
 Am Mittwoch, den 18.11.2009, 15:01 +0100 schrieb Teemu Ikonen:
  import matplotlib.pyplot as plt
  plt.plot([1,2])
 Segmentation fault
[...]
 Is your system up-to-date? Where there any PyQt4
 updates since you reported this bug? Do you still experience the bug?

I just updated to latest testing and the bug is still there. I have
some packages installed from unstable, but the packages mostly
relevant here (python, python-matplotlib, python-qt4 and libqt4) are
from testing.

Teemu



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



Bug#556943: python-matplotlib: Segfaults with Qt4Agg backend

2009-11-22 Thread Benjamin Drung
Am Mittwoch, den 18.11.2009, 15:01 +0100 schrieb Teemu Ikonen:
  import matplotlib.pyplot as plt
  plt.plot([1,2])
 Segmentation fault

I enabled Qt4Agg backend and tried this example code without an
segmentation fault in an up-to-date squeeze environment.

 This is could be a bug in python-qt4, which was updated recently, but other
 PyQt4 applications work fine here.

That's possible. Is your system up-to-date? Where there any PyQt4
updates since you reported this bug? Do you still experience the bug?

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#556943: python-matplotlib: Segfaults with Qt4Agg backend

2009-11-18 Thread Teemu Ikonen
Package: python-matplotlib
Version: 0.99.0-1
Severity: grave
Justification: renders package unusable

Matplotlib segfaults immediately when trying to create a plot with
the Qt4Agg backend enabled in matplotlibrc. Example:

 import matplotlib.pyplot as plt
 plt.plot([1,2])
Segmentation fault

Other backends, such as GTKAgg work fine.

This is could be a bug in python-qt4, which was updated recently, but other
PyQt4 applications work fine here.

Best,

Teemu


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (450, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-matplotlib depends on:
ii  libatk1.0-01.28.0-1  The ATK accessibility toolkit
ii  libc6  2.10.1-7  GNU C Library: Shared libraries
ii  libcairo2  1.8.8-2   The Cairo 2D vector graphics libra
ii  libfontconfig1 2.6.0-4   generic font configuration library
ii  libfreetype6   2.3.11-1  FreeType 2 font engine, shared lib
ii  libgcc11:4.4.2-2 GCC support library
ii  libglib2.0-0   2.22.2-2  The GLib library of C routines
ii  libgtk2.0-02.18.3-1  The GTK+ graphical user interface 
ii  libpango1.0-0  1.26.0-1  Layout and rendering of internatio
ii  libpng12-0 1.2.40-1  PNG library - runtime
ii  libstdc++6 4.4.2-2   The GNU Standard C++ Library v3
ii  python 2.5.4-2   An interactive high-level object-o
ii  python-cairo   1.8.6-1   Python bindings for the Cairo vect
ii  python-dateutil1.4.1-3   powerful extensions to the standar
ii  python-excelerator 0.6.4.1-1 module for reading/writing Excel s
ii  python-glade2  2.16.0-1  GTK+ bindings: Glade support
ii  python-gobject 2.20.0-1  Python bindings for the GObject li
ii  python-gtk22.16.0-1  Python bindings for the GTK+ widge
ii  python-matplotlib-data 0.99.0-1  Python based plotting system (data
ii  python-numpy   1:1.3.0-3 Numerical Python adds a fast array
ii  python-pyparsing   1.5.2-1   Python parsing module
ii  python-qt4 4.6-1 Python bindings for Qt4
ii  python-support 1.0.4 automated rebuilding support for P
ii  python-tk  2.5.2-1.1 Tkinter - Writing Tk applications 
ii  python-tz  2009n-1   Python version of the Olson timezo
ii  python-wxgtk2.82.8.7.1-2+b1  wxWidgets Cross-platform C++ GUI t
ii  tcl8.5 8.5.7-1   Tcl (the Tool Command Language) v8
ii  tk8.5  8.5.7-2   Tk toolkit for Tcl and X11, v8.5 -
ii  zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime

python-matplotlib recommends no packages.

Versions of packages python-matplotlib suggests:
ii  dvipng1.12-1 convert DVI files to PNG graphics
ii  ipython   0.10-1 enhanced interactive Python shell
ii  python-configobj  4.5.2-2a simple but powerful config file 
pn  python-matplotlib-doc none (no description available)
ii  python-scipy  0.7.0-2scientific tools for Python
pn  python-traits none (no description available)
ii  texlive-extra-utils   2007.dfsg.2-7  TeX Live: TeX auxiliary programs
ii  texlive-latex-extra   2007.dfsg.17-2 TeX Live: LaTeX supplementary pack

-- no debconf information



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