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

SkeinPyPy does nothing and then crashes when X button is clicked to close slice #17

Closed
RedwoodForest opened this issue Mar 16, 2012 · 6 comments
Assignees

Comments

@RedwoodForest
Copy link
Contributor

If I click the X button to close a completed slice the first time I do it nothing happens and then the second time SkeinPyPy crashes.

OS X 10.7.3, let me know if you need anything else.

Here's the trace:

Traceback (most recent call last):
File "/Applications/SkeinPyPy/SkeinPyPy/newui/sliceProgessPanel.py", line 64, in OnAbort
self.mainWindow.removeSliceProgress(self)
File "/Applications/SkeinPyPy/SkeinPyPy/newui/mainWindow.py", line 286, in removeSliceProgress
self.sizer.Add(spp, (i,0), span=(1,4), flag=wx.EXPAND)
File "/usr/local/lib/wxPython-2.9.3.1/lib/python2.7/site-packages/wx-2.9.3-osx_cocoa/wx/_core.py", line 15939, in Add
return core.GridBagSizer_Add(_args, *_kwargs)
wx._core.PyAssertionError: C++ assertion "!CheckForIntersection(item)" failed at /BUILD/wxPython-src-2.9.3.1/src/common/gbsizer.cpp(224) in Add(): An item is already at that position
/Applications/SkeinPyPy/skeinpypy.sh: line 25: 76963 Segmentation fault: 11 python2.7 ${SCRIPT_DIR}/SkeinPyPy/skeinpypy.py

@ghost ghost assigned daid Mar 16, 2012
daid added a commit that referenced this issue Mar 16, 2012
@daid
Copy link
Owner

daid commented Mar 16, 2012

This might be the same bug as #13. But I've pushed a small change which might fix this issue.

I didn't do anything illegal according to the wxWidgets documentation. But the MacOS wxWidgets seem to has quite a few bugs.

@RedwoodForest
Copy link
Contributor Author

Thanks for looking into this. The small change does not seem to have fixed the issue.

@RedwoodForest
Copy link
Contributor Author

This is still broken after the fix to #13, but in a slightly different fashion.

Now when I click the X button to close a slice the slice goes away, and everything appears to be fine, but then several seconds later it crashes with this message:
/Applications/SkeinPyPy/skeinpypy.sh: line 25: 88927 Segmentation fault: 11 python ${SCRIPT_DIR}/SkeinPyPy/skeinpypy.py

Let me know if you want the entire crash report.

@daid
Copy link
Owner

daid commented Mar 20, 2012

Fixing this is a bit harder then #13. I fixed #13 with a workaround. But a segmentation fault indicates an bug in wxPython :(

@fuegas
Copy link
Contributor

fuegas commented Apr 8, 2012

Next action would be to look in wxPython what causes the segfault, but this isn't the terrain of Cura.

@daid daid closed this as completed in 956b6ad Apr 9, 2012
RedwoodForest pushed a commit to RedwoodForest/Cura that referenced this issue Apr 10, 2012
Probably fixes daid#17 issue and updated .gitignore
@RedwoodForest
Copy link
Contributor Author

Confirmed fixed. Thanks!

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

3 participants