Skip to content
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

Fix cachegrab_gui issue #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kikones34
Copy link

Installing the latest version of wxPython (4.0.4) yields the following error when executing cachegrab_gui:

  File "/usr/local/lib/python2.7/dist-packages/cachegrab-0.1.0-py2.7.egg/cachegrab/gui/dataset_explorer.py", line 56, in __init__
    grid = wx.GridSizer(3, 2)
TypeError: GridSizer(): arguments did not match any overloaded call:
  overload 1: not enough arguments
  overload 2: argument 2 has unexpected type 'int'
  overload 3: not enough arguments
  overload 4: not enough arguments

Updating the call to include a third gap argument fixes this problem.
An alternative solution would be to specify in requirements.txt the specific version of wxPython which must be used.

Installing the latest version of wxPython (4.0.4) yields the following error when executing `cachegrab_gui`:
```c
  File "/usr/local/lib/python2.7/dist-packages/cachegrab-0.1.0-py2.7.egg/cachegrab/gui/dataset_explorer.py", line 56, in __init__
    grid = wx.GridSizer(3, 2)
TypeError: GridSizer(): arguments did not match any overloaded call:
  overload 1: not enough arguments
  overload 2: argument 2 has unexpected type 'int'
  overload 3: not enough arguments
  overload 4: not enough arguments
```
Updating the call to include a third `gap` argument fixes this problem.
An alternative solution would be to specify in `requirements.txt` the specific version of wxPython which must be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant