8000 Fix IOError: Could not find bitmap file "stock_left.xpm" by cgohlke · Pull Request #7580 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix IOError: Could not find bitmap file "stock_left.xpm" #7580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 7, 2016
Merged

Fix IOError: Could not find bitmap file "stock_left.xpm" #7580

merged 1 commit into from
Dec 7, 2016

Conversation

cgohlke
Copy link
Contributor
@cgohlke cgohlke commented Dec 7, 2016

The file stock_left.xpm is no longer part of matplotlib 2.0.

Traceback (most recent call last):
  File "D:\Build\matplotlib\matplotlib-2.0.0rc1\examples\user_interfaces\embedding_in_wx4.py", line 110, in <module>
    app = App(0)
  File "X:\Python27-x64\lib\site-packages\wx-3.0-msw\wx\_core.py", line 8628, in __init__
    self._BootstrapApp()
  File "X:\Python27-x64\lib\site-packages\wx-3.0-msw\wx\_core.py", line 8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "D:\Build\matplotlib\matplotlib-2.0.0rc1\examples\user_interfaces\embedding_in_wx4.py", line 105, in OnInit
    frame = CanvasFrame()
  File "D:\Build\matplotlib\matplotlib-2.0.0rc1\examples\user_interfaces\embedding_in_wx4.py", line 86, in __init__
    self.toolbar = MyNavigationToolbar(self.canvas, True)
  File "D:\Build\matplotlib\matplotlib-2.0.0rc1\examples\user_interfaces\embedding_in_wx4.py", line 44, in __init__
    self.AddSimpleTool(self.ON_CUSTOM, _load_bitmap('stock_left.xpm'),
  File "X:\Python27-x64\lib\site-packages\matplotlib\backends\backend_wx.py", line 1423, in _load_bitmap
    raise IOError('Could not find bitmap file "%s"; dying' % bmpFilename)
IOError: Could not find bitmap file "X:\Python27-x64\lib\site-packages\matplotlib\mpl-data\images\stock_left.xpm"; dying

@QuLogic QuLogic added this to the 2.0 (style change major release) milestone Dec 7, 2016
@QuLogic QuLogic changed the title Fix IOError: Could not find bitmap file "stock_left.xpm" [MRG+1] Fix IOError: Could not find bitmap file "stock_left.xpm" Dec 7, 2016
@tacaswell tacaswell merged commit 1c1fd38 into matplotlib:v2.x Dec 7, 2016
@tacaswell
Copy link
Member

Thanks @cgohlke !

How did you find this?

@cgohlke
Copy link
Contributor Author
cgohlke commented Dec 7, 2016

I run the user interface examples manually to see if they are working.

@QuLogic QuLogic changed the title [MRG+1] Fix IOError: Could not find bitmap file "stock_left.xpm" Fix IOError: Could not find bitmap file "stock_left.xpm" Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0