Errors at first startup

Asked by bastiaan

I downloaded the code from sourceforge and entered the 3 fortran directories in the setup dialog. the I get the start screen as shown in http://pypenelope.sourceforge.net/tutorials/substrate.html. But when I click "simulation" I get the error pasted below. My wx version is:
wx.__version__
Out[6]: '3.0.0.0'

pyPENELOPE-0.2.10]$ python penelopetools/gui/main.py
/home/me/.pypenelope/pypenelope.cfg
penelopetools/gui/main.py:863: wxPyDeprecationWarning: Using deprecated class PySimpleApp.
  app = wx.PySimpleApp()
DEBUG:root:Main display shown
Traceback (most recent call last):
  File "penelopetools/gui/main.py", line 595, in on_new
    self.new(event, program)
  File "penelopetools/gui/main.py", line 619, in new
    wizard = program.get_new_simulation_dialog(self, options)
  File "/opt/anaconda2/lib/python2.7/site-packages/pyPENELOPE-0.2.10-py2.7.egg/penelopetools/gui/program/penelope/__init__.py", line 88, in get_new_simulation_dialog
    return self.WIZARD_CLASS(parent, self, options)
  File "/opt/anaconda2/lib/python2.7/site-packages/pyPENELOPE-0.2.10-py2.7.egg/penelopetools/gui/program/penepma/wizard.py", line 88, in __init__
    limits_page = LimitsWizardPage(self)
  File "/opt/anaconda2/lib/python2.7/site-packages/pyPENELOPE-0.2.10-py2.7.egg/penelopetools/gui/program/penepma/page/limits.py", line 73, in __init__
    mainsizer.AddGrowableCol(2)
  File "/opt/anaconda2/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 15367, in AddGrowableCol
    return _core_.FlexGridSizer_AddGrowableCol(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "!m_cols || idx < (size_t)m_cols" failed at ./src/common/sizer.cpp(1980) in AddGrowableCol(): invalid column index

Question information

Language:
English Edit question
Status:
Answered
For:
pypenelope Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Philippe Pinard (philippe.pinard) said :
#2

Sorry for the late reply

Revision history for this message
Philippe Pinard (philippe.pinard) said :
#3

pypenelope works with wxPython 2.8. The correct debian package is python-wxgtk2.8.

Can you help with this problem?

Provide an answer of your own, or ask bastiaan for more information if necessary.

To post a message you must log in.