Bug 1231748 - NameError: global name 'cbook' is not defined
Summary: NameError: global name 'cbook' is not defined
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-matplotlib
Version: 22
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/matplotlib/matplot...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-15 10:41 UTC by Thomas Lake
Modified: 2016-04-14 04:23 UTC (History)
5 users (show)

Fixed In Version: python-matplotlib-1.4.3-11.fc23 python-matplotlib-1.4.3-13.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-14 04:23:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Thomas Lake 2015-06-15 10:41:36 UTC
Description of problem:

Attempting to use the GDK backend for versions of matplotlib <= 1.4.3 fails:

Traceback (most recent call last):
[snip]
  File "/usr/lib64/python2.7/site-packages/matplotlib/figure.py", line 1476, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/matplotlib/backend_bases.py", line 2211, in print_figure
    **kwargs)
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gdk.py", line 464, in print_png
    return self._print_image(filename, 'png')
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gdk.py", line 480, in _print_image
    options = cbook.restrict_dict(kwargs, ['quality'])
NameError: global name 'cbook' is not defined


Version-Release number of selected component (if applicable):
1.4.3-3.fc22

How reproducible:
Set "backend: GDK" in ~/.config/matplotlib/matplotlibrc or using the matplotlib.use() function

Steps to Reproduce:
1. Set backend as described above
2. Attempt to plot data

Actual results:
Crash

Expected results:
Images generated

Additional info:
Filed (and fixed) upstream: https://github.com/matplotlib/matplotlib/pull/4439

Comment 1 Fedora Admin XMLRPC Client 2015-09-09 19:30:09 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2015-09-09 19:51:06 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Update System 2016-01-07 14:06:23 UTC
python-matplotlib-1.4.3-9.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-491c990dbe

Comment 4 Fedora Update System 2016-01-09 04:25:44 UTC
python-matplotlib-1.4.3-9.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-491c990dbe

Comment 5 Fedora Update System 2016-01-09 04:28:20 UTC
python-matplotlib-1.4.3-9.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-499e21bb8a

Comment 6 Fedora Update System 2016-01-09 11:00:01 UTC
python-matplotlib-1.4.3-10.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-499e21bb8a

Comment 7 Fedora Update System 2016-01-09 18:21:24 UTC
python-matplotlib-1.4.3-10.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-499e21bb8a

Comment 8 Fedora Update System 2016-01-11 08:56:15 UTC
python-matplotlib-1.4.3-10.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-491c990dbe

Comment 9 Fedora Update System 2016-01-12 09:54:27 UTC
python-matplotlib-1.4.3-10.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-491c990dbe

Comment 10 Fedora Update System 2016-01-13 11:44:05 UTC
python-matplotlib-1.4.3-11.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-499e21bb8a

Comment 11 Fedora Update System 2016-01-14 11:26:16 UTC
python-matplotlib-1.4.3-11.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-499e21bb8a

Comment 12 Fedora Update System 2016-01-20 12:18:50 UTC
python-matplotlib-1.4.3-11.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-491c990dbe

Comment 13 Fedora Update System 2016-01-21 06:25:02 UTC
python-matplotlib-1.4.3-11.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-491c990dbe

Comment 14 Fedora Update System 2016-01-22 02:23:16 UTC
python-matplotlib-1.4.3-11.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2016-04-04 13:56:07 UTC
python-matplotlib-1.4.3-13.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0551f09cf4

Comment 16 Fedora Update System 2016-04-05 15:22:21 UTC
python-matplotlib-1.4.3-13.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0551f09cf4

Comment 17 Fedora Update System 2016-04-14 04:23:02 UTC
python-matplotlib-1.4.3-13.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.