Issue 12 in gui2exe: 'GUI2Exe' object has no attribute '_ribbon'

1 view
Skip to first unread message

codesite...@google.com

unread,
Dec 15, 2009, 12:35:08 PM12/15/09
to gui...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 12 by h.goe...@goebel-consult.de: 'GUI2Exe' object has no
attribute '_ribbon'
http://code.google.com/p/gui2exe/issues/detail?id=12

Running Gui2exe on a recent Linux system gave this error:

$ python GUI2Exe.py
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py",
line 1342, in Notify
self.notify()
File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 14676, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "GUI2Exe.py", line 3874, in ShowMain
frame = GUI2Exe(None, -1, "", size=(xvideo, yvideo))
File "GUI2Exe.py", line 406, in __init__
self.SetAllFlags()
File "GUI2Exe.py", line 1312, in SetAllFlags
self.ManageMenuBar(useCustom, fmStyle, ribbonStyle)
File "GUI2Exe.py", line 1191, in ManageMenuBar
ribbon = self._mgr.GetPane(self._ribbon)
AttributeError: 'GUI2Exe' object has no attribute '_ribbon'


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Dec 15, 2009, 5:25:52 PM12/15/09
to gui...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 12 by andrea.gavana: 'GUI2Exe' object has no
attribute '_ribbon'
http://code.google.com/p/gui2exe/issues/detail?id=12

Hi,

this issue has been fixed a while ago in SVN, you may wish to use the
SVN version
of GUI2Exe as it is always more bug-fixed. I have to make a bugfix release
soon
anyway.

Please feel free to open another ticket if you see any other strange
behaviour (I can
test only on Windows).

Thank you!

Andrea.

codesite...@google.com

unread,
Jan 17, 2010, 9:33:34 AM1/17/10
to gui...@googlegroups.com

Comment #2 on issue 12 by dcarrera: 'GUI2Exe' object has no
attribute '_ribbon'
http://code.google.com/p/gui2exe/issues/detail?id=12

With SVN version now I get almost the same error. It still complains
about "ribbon"
and it still segfaults.

% python GUI2Exe.py
*** 17 January 2010 @ 15:30:16 ***


Traceback (most recent call last):

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py",

line 1342,
in Notify
self.notify()

File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line
14716, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "GUI2Exe.py", line 3905, in ShowMain


frame = GUI2Exe(None, -1, "", size=(xvideo, yvideo))

File "GUI2Exe.py", line 434, in __init__
self.ReadConfigurationFile()
File "GUI2Exe.py", line 1555, in ReadConfigurationFile
self.ribbonChecks1[ID_MSW_Provider][0] = preferences["Ribbon_Style"][0]
== 0
KeyError: 'Ribbon_Style'

zsh: segmentation fault python GUI2Exe.py

Reply all
Reply to author
Forward
0 new messages