[Python-modules-team] Bug#702445: segfault when calling PyQt4.QtGui.QIcon.themeSearchPaths()

2013-03-06 Thread Picca Frédéric-Emmanuel
Package: python-qt4
Version: 4.9.3-4
Severity: important

Hello, I try to debug a problem in one of my package so I need to access the
search path for the theme

So I tryed to print PyQt4.QtGui.QIcon.themeSearchPaths(), but I got a segfault

here the backtrace

 import PyQt4.QtGui
 PyQt4.QtGui.QIcon.themeSearchPaths()

Program received signal SIGSEGV, Segmentation fault.
0xb6c05434 in qt_guiPlatformPlugin () at kernel/qguiplatformplugin.cpp:89
89  kernel/qguiplatformplugin.cpp: Aucun fichier ou dossier de ce type.
(gdb) bt
#0  0xb6c05434 in qt_guiPlatformPlugin () at kernel/qguiplatformplugin.cpp:89
#1  0xb6c4e83d in QIconLoader::themeSearchPaths (this=0x83bbc80) at
image/qiconloader.cpp:153
#2  0xb6c48d5b in QIcon::themeSearchPaths () at image/qicon.cpp:935
#3  0xb7c4bc88 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Cheers

Fred



-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-486
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-qt4 depends on:
ii  libc6 2.13-38
ii  libgcc1   1:4.7.2-5
ii  libpython2.7  2.7.3-8
ii  libqt4-dbus   4:4.8.2+dfsg-11
ii  libqt4-declarative4:4.8.2+dfsg-11
ii  libqt4-designer   4:4.8.2+dfsg-11
ii  libqt4-help   4:4.8.2+dfsg-11
ii  libqt4-network4:4.8.2+dfsg-11
ii  libqt4-script 4:4.8.2+dfsg-11
ii  libqt4-scripttools4:4.8.2+dfsg-11
ii  libqt4-svg4:4.8.2+dfsg-11
ii  libqt4-test   4:4.8.2+dfsg-11
ii  libqt4-xml4:4.8.2+dfsg-11
ii  libqt4-xmlpatterns4:4.8.2+dfsg-11
ii  libqtassistantclient4 4.6.3-4
ii  libqtcore44:4.8.2+dfsg-11
ii  libqtgui4 4:4.8.2+dfsg-11
ii  libqtwebkit4  2.2.1-5
ii  libstdc++64.7.2-5
ii  python2.7.3-4
ii  python-sip [sip-api-8.1]  4.13.3-2

python-qt4 recommends no packages.

Versions of packages python-qt4 suggests:
pn  python-qt4-dbg  none

-- no debconf information

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#702445: RE : Bug#702445: segfault when calling PyQt4.QtGui.QIcon.themeSearchPaths()

2013-03-06 Thread PICCA Frédéric-Emmanuel
 Almost certainly a user error/Qt feature. Try creating a QApplication
 instance first.

 Please try this and report back if you are still having a problem.

Yes it works once a qApplication was created.

nevertheless a nice Qt feature...
the segfautl price is a little bit high ;)

Cheers

Fred
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#671605: python-qt4 broke python-guiqwt

2012-05-05 Thread Picca Frédéric-Emmanuel
Package: python-qt4
Version: 4.9.1-3
Severity: important

Dear Maintainer,

Hello, since the last upgrade of my computer (sid)

guiqwt-test program segfault, I try do find the culprite
and as usual I found this

 from PyQt4 import Qwt5

Program received signal SIGSEGV, Segmentation fault.
0xb7abf96a in ?? () from /usr/lib/python2.7/dist-packages/sip.so
(gdb) bt
#0  0xb7abf96a in ?? () from /usr/lib/python2.7/dist-packages/sip.so
#1  0xb7abfc64 in ?? () from /usr/lib/python2.7/dist-packages/sip.so
#2  0xb78cf66e in initQwt () from /usr/lib/python2.7/dist-
packages/PyQt4/Qwt5/Qwt.so
#3  0x080d3747 in _PyImport_LoadDynamicModule ()
#4  0x08130324 in load_module.39200 ()
#5  0x081305c4 in import_submodule.39211 ()
#6  0x08084e85 in load_next.39216 ()
#7  0x08130ecf in import_module_level.isra.3.39237 ()
#8  0x0806dcbe in builtin___import__.32869 ()
#9  0x080bfe6f in PyObject_Call ()
#10 0x080c03f9 in PyEval_CallObjectWithKeywords ()
#11 0x0813d63d in PyEval_EvalFrameEx ()
#12 0x081417f0 in PyEval_EvalCodeEx ()
#13 0x0819b4f3 in PyImport_ExecCodeModuleEx ()
#14 0x0812fc38 in load_source_module.39157 ()
#15 0x08198d62 in load_package.39250 ()
#16 0x081305c4 in import_submodule.39211 ()
#17 0x08130b2f in ensure_fromlist.part.7 ()
#18 0x08130f66 in import_module_level.isra.3.39237 ()
#19 0x0806dcbe in builtin___import__.32869 ()
#20 0x080bfe6f in PyObject_Call ()
#21 0x080c03f9 in PyEval_CallObjectWithKeywords ()
#22 0x0813d63d in PyEval_EvalFrameEx ()
#23 0x081417f0 in PyEval_EvalCodeEx ()
#24 0x0819cc1e in PyRun_InteractiveOneFlags ()
#25 0x0819cfaf in PyRun_InteractiveLoopFlags ()
#26 0x0819ddf2 in Py_Main ()
#27 0x0806109b in main ()

I did not check by rebuilding pyqwt5, but this is not the first time, that a
rebuild of python-qt4 imply a rebuild of pyqwt5

See you

Fred



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-486
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-qt4 depends on:
ii  libc6 2.13-32
ii  libgcc1   1:4.7.0-7
ii  libpython2.7  2.7.3~rc2-2.1
ii  libqt4-dbus   4:4.8.1-1
ii  libqt4-declarative4:4.8.1-1
ii  libqt4-designer   4:4.8.1-1
ii  libqt4-help   4:4.8.1-1
ii  libqt4-network4:4.8.1-1
ii  libqt4-script 4:4.8.1-1
ii  libqt4-scripttools4:4.8.1-1
ii  libqt4-svg4:4.8.1-1
ii  libqt4-test   4:4.8.1-1
ii  libqt4-xml4:4.8.1-1
ii  libqt4-xmlpatterns4:4.8.1-1
ii  libqtassistantclient4 4.6.3-4
ii  libqtcore44:4.8.1-1
ii  libqtgui4 4:4.8.1-1
ii  libqtwebkit4  2.2.1-2
ii  libstdc++64.7.0-7
ii  python2.7.2-10
ii  python-sip [sip-api-8.1]  4.13.2-1
ii  python2.6 2.6.7-4
ii  python2.7 2.7.3~rc2-2.1

python-qt4 recommends no packages.

Versions of packages python-qt4 suggests:
pn  python-qt4-dbg  none

-- no debconf information



___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#671605: RE : Bug#671605: Acknowledgement (python-qt4 broke python-guiqwt)

2012-05-05 Thread PICCA Frédéric-Emmanuel
ok, I did a rebuild of pyqwt5 and now I can do an

Python 2.7.3rc2 (default, Apr 22 2012, 22:35:38) 
[GCC 4.6.3] on linux2
Type help, copyright, credits or license for more information.
 from PyQt4 import Qwt5
 

so a binNMU of pyqwt5 should be enought

See you

Frederic


___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#671605: RE : Bug#671605: RE : Bug#671605: Acknowledgement (python-qt4 broke python-guiqwt)

2012-05-05 Thread PICCA Frédéric-Emmanuel
  so a binNMU of pyqwt5 should be enought
 ...
 Scheduled.  Please let me know in the bug if that solves it for you.

Great now it works

thanks

Frederic


___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#648085: python-qt4: wrong dependency to libqtwebkit4

2011-11-08 Thread Picca Frédéric-Emmanuel
Package: python-qt4
Version: 4.8.6-2
Severity: important

Dear Maintainer,

One of my user report this bug

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647695

It seems to me that there is an incompatibility between
python-qt4 (4.8.3-4, 4.8.6-2) and libqtwebkit 2.1.0~2011week09-3
And that the right dependency of python-qt4 should be at least (= 
2.1.0~2011week13-2)

so in your opinion, am I right ? and what is for you the right way to solve 
this issue ?

thanks

Frederic

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-2-486
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-qt4 depends on:
ii  libc6 2.13-21   
ii  libgcc1   1:4.6.2-4 
ii  libpython2.7  2.7.2-6   
ii  libqt4-declarative4:4.7.3-8 
ii  libqt4-designer   4:4.7.3-8 
ii  libqt4-help   4:4.7.3-8 
ii  libqt4-network4:4.7.3-8 
ii  libqt4-script 4:4.7.3-8 
ii  libqt4-scripttools4:4.7.3-8 
ii  libqt4-svg4:4.7.3-8 
ii  libqt4-test   4:4.7.3-8 
ii  libqt4-xml4:4.7.3-8 
ii  libqt4-xmlpatterns4:4.7.3-8 
ii  libqtassistantclient4 4.6.3-3   
ii  libqtcore44:4.7.3-8 
ii  libqtgui4 4:4.7.3-8 
ii  libqtwebkit4  2.1.0~2011week13-2
ii  libstdc++64.6.2-4   
ii  python2.7.2-9   
ii  python-sip [sip-api-8.1]  4.13-1
ii  python2.6 2.6.7-4   
ii  python2.7 2.7.2-6   

python-qt4 recommends no packages.

Versions of packages python-qt4 suggests:
pn  python-qt4-dbg  none

-- no debconf information



___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#647210: python-qt4: uploaded 4.8.6-1 version broke guiqwt

2011-10-31 Thread Picca Frédéric-Emmanuel
Package: python-qt4
Version: 4.8.6-1
Severity: serious

Dear Maintainer,

since the upload of the 4.8.6, I got his error when I try to use
guiqwt-tests

picca@mordor:~/Debian/main/spyder$ guiqwt-tests 
Traceback (most recent call last):
  File /usr/bin/guiqwt-tests, line 3, in module
tests.run()
  File /usr/lib/python2.7/dist-packages/guiqwt/tests/__init__.py, line 17, in 
run
run_testlauncher(guiqwt)
  File /usr/lib/python2.7/dist-packages/guidata/guitest.py, line 157, in 
run_testlauncher
win = TestLauncherWindow(package)
  File /usr/lib/python2.7/dist-packages/guidata/guitest.py, line 126, in 
__init__
tests = get_tests(test_package)
  File /usr/lib/python2.7/dist-packages/guidata/guitest.py, line 34, in 
get_tests
_temp = __import__(test_package.__name__, fromlist=[module_name])
  File /usr/lib/python2.7/dist-packages/guiqwt/tests/computations.py, line 
12, in module
from guiqwt.plot import CurveDialog
  File /usr/lib/python2.7/dist-packages/guiqwt/plot.py, line 119, in module
from guiqwt.baseplot import BasePlot
  File /usr/lib/python2.7/dist-packages/guiqwt/baseplot.py, line 57, in 
module
from guiqwt.transitional import (QwtPlot, QwtLinearScaleEngine,
  File /usr/lib/python2.7/dist-packages/guiqwt/transitional.py, line 19, in 
module
from PyQt4.Qwt5 import (QwtPlot, QwtSymbol, QwtLinearScaleEngine,
  File /usr/lib/python2.7/dist-packages/PyQt4/Qwt5/__init__.py, line 32, in 
module
from Qwt import *
RuntimeError: the PyQt4.QtCore module is version 1 but the PyQt4.Qwt5.Qwt 
module requires version -1

I put serious as it can maybe break other rdepends of python-qt4.

I am trying to rebuild pyqwt5 to check if it solve the issue.

See you

Frederic

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-2-486
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-qt4 depends on:
ii  libc6 2.13-21   
ii  libgcc1   1:4.6.2-3 
ii  libpython2.7  2.7.2-6   
ii  libqt4-declarative4:4.7.3-8 
ii  libqt4-designer   4:4.7.3-8 
ii  libqt4-help   4:4.7.3-8 
ii  libqt4-network4:4.7.3-8 
ii  libqt4-script 4:4.7.3-8 
ii  libqt4-scripttools4:4.7.3-8 
ii  libqt4-svg4:4.7.3-8 
ii  libqt4-test   4:4.7.3-8 
ii  libqt4-xml4:4.7.3-8 
ii  libqt4-xmlpatterns4:4.7.3-8 
ii  libqtassistantclient4 4.6.3-3   
ii  libqtcore44:4.7.3-8 
ii  libqtgui4 4:4.7.3-8 
ii  libqtwebkit4  2.1.0~2011week13-2
ii  libstdc++64.6.2-3   
ii  python2.7.2-9   
ii  python-sip [sip-api-8.1]  4.13-1
ii  python2.6 2.6.7-4   
ii  python2.7 2.7.2-6   

python-qt4 recommends no packages.

Versions of packages python-qt4 suggests:
pn  python-qt4-dbg  none

-- no debconf information



___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#647210: RE : Bug#647210: Acknowledgement (python-qt4: uploaded 4.8.6-1 version broke guiqwt)

2011-10-31 Thread PICCA Frédéric-Emmanuel
yes rebuilding pyqwt5  solve the issue.

so now how many packages are impacted by this upload ?


___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#610350: a font problem

2011-09-29 Thread Picca Frédéric-Emmanuel
When I try the test on my computer, I got this error message

~$ python -c import matplotlib;matplotlib.test()
./usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1242: UserWarning: 
findfont: Font family ['Bitstream Vera Sans'] not found. Falling back to 
Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
/usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1252: UserWarning: 
findfont: Could not match :family=Bitstream Vera 
Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=medium. 
Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf
  UserWarning)
/usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1252: UserWarning: 
findfont: Could not match :family=Bitstream Vera 
Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=12. 
Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf
  UserWarning)
Warning: divide by zero encountered in log
Warning: divide by zero encountered in log
Warning: divide by zero encountered in log
/usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1252: UserWarning: 
findfont: Could not match :family=Bitstream Vera 
Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=large. 
Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf
  UserWarning)
/usr/lib/pymodules/python2.7/matplotlib/axes.py:2381: UserWarning: Attempting 
to set identical left==right results
in singular transformations; automatically expanding.
left=730139.0, right=730139.0
  + 'left=%s, right=%s') % (left, right))
==
ERROR: matplotlib.tests.test_axes.test_formatter_ticker
--
Traceback (most recent call last):
  File /usr/lib/pymodules/python2.7/nose/case.py, line 187, in runTest
self.test(*self.arg)
  File /usr/lib/pymodules/python2.7/matplotlib/testing/decorators.py, line 
32, in failer
result = f(*args, **kwargs)
  File /usr/lib/pymodules/python2.7/matplotlib/testing/decorators.py, line 
126, in decorated_compare_images
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: 
/home/picca/result_images/test_axes/formatter_ticker_001.png vs. 
/home/picca/result_images/test_axes/expected-formatter_ticker_001.png (RMS 
20.396)


When I compare generated / expected pictures, the difference seems to be the 
font.

PS: I already install the ttf-bitstream-vera package.

so maybe matplotlib could not find the installed font.

cheers,


Frederic


-- 
GPG public key 4096R/4696E015 2011-02-14
fingerprint = E92E 7E6E 9E9D A6B1 AA31  39DC 5632 906F 4696 E015
uid  Picca Frédéric-Emmanuel pi...@synchrotron-soleil.fr

GPG public key 1024D/A59B1171 2009-08-11
fingerprint = 1688 A3D6 F0BD E4DF 2E6B  06AA B6A9 BA6A A59B 1171
uid  Picca Frédéric-Emmanuel pi...@debian.org


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#587973: RE : Bug#5 87973: python-matplotlib: problem when importing pyl ab

2010-07-07 Thread PICCA Frédéric-Emmanuel
 Hello Picca,

Hello

 The GUI Bindings depends are there:

 So it turns out you disabled the Recommends installation, which is
 fine, but breaks how mpl package works. There are some reference
 also in /usr/share/doc/python-matplotlib/README.Debian .

Yes the question is why python-tk was not installed during the matplotlib 
installation ???

I find nothing about Recommands in my /etc/apt directory configuration files.

 If you find that enough, I'd close this bug, else the only other thing
 I can do, is improve the documentation (and for that feel free to
 propose some wordings).

If you find an explaination it is ok.
I am wondering if this issue was not triggered by the python 2.5 - 2.6 
transition.

Regards

Frederic



___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#587973: RE : RE : Bug#587973: python-matplotlib: problem when import ing pylab

2010-07-07 Thread PICCA Frédéric-Emmanuel

 well, that's a question going a bit OT from matplotlib :)

for sure :)

 I find nothing about Recommands in my /etc/apt directory configuration files.

 if you --reinstall mpl what does it happen?

This is what I have done just after the previous mail and it works :
installing mpl trigger the python-tk installation.

So I think that you can close this bug.

Thanks

Frederic



___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team