[Bug 863451] New: science/python-matplotlib: Bug
https://bugzilla.novell.com/show_bug.cgi?id=863451 https://bugzilla.novell.com/show_bug.cgi?id=863451#c0 Summary: science/python-matplotlib: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: 3rd party software AssignedTo: werner.ho@gmx.de ReportedBy: fishdude@gmx.net QAContact: opensuse-communityscreening@forge.provo.novell.com CC: dmitry@roshchin.org Found By: --- Blocker: --- Since changing matplotlib to 1.3.1 in the science repository, pylab can not be imported anymore. It fails with an ImportError, because it cannot find the windowing backend, requested by tkagg. See the output below: python -c 'import pylab' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/usr/lib64/python2.7/site-packages/matplotlib/pylab.py", line 269, in <module> from matplotlib.pyplot import * File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 98, in <module> _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup() File "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line 28, in pylab_setup globals(),locals(),[backend_name],0) File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 14, in <module> import matplotlib.backends.windowing as windowing ImportError: No module named windowing The same matplotlib version for opensuse 12.3 from the science repository does not show this error. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863451 https://bugzilla.novell.com/show_bug.cgi?id=863451#c1 --- Comment #1 from charlie meier <fishdude@gmx.net> 2014-02-12 12:51:21 UTC --- It seems as if this traceback only shows up if backend TkAgg is explicitly enabled in matplotlibrc. Having no backend specified there, pylab can be imported fine. Nevertheless, the issue still is there, i.e., if I need/want to use the tk backend. In case windowing.py is really removed from matplotlib, backend_tkagg.py needs to be fixed. Otherwise, the missing windowing.py needs to be added to the package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863451 https://bugzilla.novell.com/show_bug.cgi?id=863451#c2 Maik Hoffmann <maik.hoffmann.dd@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maik.hoffmann.dd@gmail.com --- Comment #2 from Maik Hoffmann <maik.hoffmann.dd@gmail.com> 2014-02-19 12:02:18 UTC --- I've got the same problem. I just want to present something and I didn't test since the last update: import scitools.std as st File "/usr/lib/python2.7/site-packages/scitools/std.py", line 26, in <module> from scitools.easyviz import * File "/usr/lib/python2.7/site-packages/scitools/easyviz/__init__.py", line 3431, in <module> exec(cmd) File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/scitools/easyviz/matplotlib_.py", line 45, in <module> import matplotlib.pyplot as pylab File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 98, in <module> _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup() File "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line 28, in pylab_setup globals(),locals(),[backend_name],0) File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 14, in <module> import matplotlib.backends.windowing as windowing ImportError: No module named windowing I tried at openSUSE 12.3, matplotlib 1.3.1-53.8 from devel:languages:python and 1.3.1-56.4 from siene. The problem ist the same. In other distribution the windowing.py is included for version 1.3.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863451 https://bugzilla.novell.com/show_bug.cgi?id=863451#c3 --- Comment #3 from Marguerite Su <i@marguerite.su> 2014-03-17 09:53:13 UTC --- I think the maintainer treated windowing.py as windows.py, so he exclued it together with macosx.* and cocca.* which are both not needed for Linux. https://build.opensuse.org/request/show/226376 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863451 https://bugzilla.novell.com/show_bug.cgi?id=863451#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-03-17 12:00:12 CET --- This is an autogenerated message for OBS integration: This bug (863451) was mentioned in https://build.opensuse.org/request/show/226396 Factory / python-matplotlib -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com