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

Error when removing empty item from "Python Module" at py2pp in MacOS #17

Open
GoogleCodeExporter opened this issue Feb 12, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Open GUI2Exe
2. Choose py2app
3. Add empty item into Python Module
4. Remove item from Python Module

#---- Traceback Info ----#
*** 03 March 2010 @ 11:02:50 ***
Traceback (most recent call last):
  File "/Volumes/file/code/gui2exe-read-only/Widgets.py", line 429, in
OnDeleteSelected
    self.RemoveOptionsButton(ind)
  File "/Volumes/file/code/gui2exe-read-only/Widgets.py", line 745, in
RemoveOptionsButton
    itemRect = self.GetItemRect(indx)
  File
"/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.6/site-packages/wx-2.8-mac
-unicode/wx/_controls.py",
line 4603, in GetItemRect
    return _controls_.ListCtrl_GetItemRect(*args, **kwargs)
PyAssertionError: C++ assertion "index >= 0 && (size_t)index <
GetItemCount()" failed at
/BUILD/wxPython-src-2.8.10.1/src/generic/listctrl.cpp(4191) in
GetItemRect(): invalid index in GetItemRect
#---- End Traceback Info ----#

#---- System Information ----#
GUI2Exe Version: 0.5.0
Operating System: Mac OS X (Darwin 9.8.0 i386)
Mac OSX: 10.5.8
Python Version: 2.6.2 (r262:71600, Apr 16 2009, 09:17:39) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)]
wxPython Version: 2.8.10.1 (mac-unicode)
wxPython Info: (__WXMAC__, wxMac, unicode, wx-assertions-on, SWIG-1.3.29,
mac-cg, mac-native-tb)
Python Encoding: Default=utf-8  File=utf-8
wxPython Encoding: utf-8
System Architecture: 32bit i386
Byte order: little
Frozen: False
#---- End System Information ----#


Original issue reported on code.google.com by tatiana....@gmail.com on 3 Mar 2010 at 2:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant