Trying to install Penguino x.3 on Linux

After removing some not necessary libraries like PyUSB, PySVN, I finally got a splash screen and this:

$ ./pinguino_lin64.sh 
./pinguino.py:70: wxPyDeprecationWarning: Using deprecated class PySimpleApp. 
  app = wx.PySimpleApp(0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_misc.py", line 1367, in Notify
    self.notify()
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py", line 16868, in Notify
    self.result = self.callable(*self.args, **self.kwargs)
  File "./pinguino.py", line 43, in ShowMain
    frame.__initPinguino__(None)
  File "/home/alan/Downloads/pinguim/pinguinoX.3rev399/wxgui/pinguino.py", line 135, in __initPinguino__
    self.buildEditor()
  File "/home/alan/Downloads/pinguim/pinguinoX.3rev399/wxgui/pinguino.py", line 193, in buildEditor
    self.lat = panelLateral(self)
  File "/home/alan/Downloads/pinguim/pinguinoX.3rev399/wxgui/frames/framesX3.py", line 862, in __init__
    fgSizer1.AddSpacer( ( 0, 0), 1, wx.EXPAND, 5 )
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py", line 14672, in AddSpacer
    return self.Add(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py", line 14453, in Add
    return _core_.Sizer_Add(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "Assert failure" failed at ../src/common/sizer.cpp(1396) in DoInsert(): too many items (5 > 2*2) in grid sizer (maybe you should omit the number of either rows or columns?)
^C

After some search in the internet I found this thread: https://github.com/springlobby/springlobby/issues/235

This issue was closed with this commit: https://github.com/springlobby/springlobby/commit/7e0fcf4aec1005557b667ce9bbd755bb556e2d04

So I just edited wxgui/frames/framesX3.py and changed:

fgSizer1 = wx.FlexGridSizer( 2, 2, 0, 0 )

to:

fgSizer1 = wx.FlexGridSizer( 0, 2, 0, 0 )

And Voilà!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s