Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-09 Thread Ronald Oussoren
On Jun 9, 2011, at 19:02, Jeffrey O'Neill wrote: > I figured out what was causing my bus error. In my setup.py file, I have > > setup( > ... > version = v, > ...) > > If v is a string or int then everything works fine. If v is a list or tuple > then you get the bus error I re

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-09 Thread Jeffrey O'Neill
I figured out what was causing my bus error. In my setup.py file, I have setup( ... version = v, ...) If v is a string or int then everything works fine. If v is a list or tuple then you get the bus error I reported. Clearly my fault, but would be nice to get a better error message

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-09 Thread Jeffrey O'Neill
On Tue, Jun 7, 2011 at 9:53 AM, Ronald Oussoren wrote: > > Another option to get more information, could you run: > > $ DYLD_PRINT_LIBRARIES=1 /dist/OpenSTV.app/Contents/MacOS/OpenSTV > > This will print the libraries that get loaded, and might provide insight in > what's going on. > > Also: what

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-07 Thread Ronald Oussoren
On 6 Jun, 2011, at 9:56, Jeffrey O'Neill wrote: > > On Mon, Jun 6, 2011 at 10:04 AM, Ronald Oussoren > wrote: > > The setup file looks fine. What you could try is to build using '--no-strip' > and then use 'gdb ./dist/OpenSTV.app/Contents/MacOS/OpenSTV'. With some luck > this gives a hint

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-06 Thread Christopher Barker
Jeffrey O'Neill wrote: I've used py2app for many years and have really appreciated how it makes it so easy to distribute my app. I'm now running into problems and would appreciate suggestions for how to debug. You've probably done this, but just to make sure: Delete the entirety of the "bui

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-06 Thread Jeffrey O'Neill
On Mon, Jun 6, 2011 at 1:08 PM, Chris Weisiger wrote: > On Mon, Jun 6, 2011 at 9:56 AM, Jeffrey O'Neill > wrote: > >> >> Hi Ronald, >> >> Thanks for the suggestions. I'm not importing GUI code in a thread (and >> threads are not used in launching the app either) so that is not causing the >> pro

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-06 Thread Chris Weisiger
On Mon, Jun 6, 2011 at 9:56 AM, Jeffrey O'Neill wrote: > > On Mon, Jun 6, 2011 at 10:04 AM, Ronald Oussoren > wrote: > >> >> The setup file looks fine. What you could try is to build using >> '--no-strip' and then use 'gdb ./dist/OpenSTV.app/Contents/MacOS/OpenSTV'. >> With some luck this gives

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-06 Thread Jeffrey O'Neill
On Mon, Jun 6, 2011 at 10:04 AM, Ronald Oussoren wrote: > > The setup file looks fine. What you could try is to build using > '--no-strip' and then use 'gdb ./dist/OpenSTV.app/Contents/MacOS/OpenSTV'. > With some luck this gives a hint on what causes the crash. > > Are you by any change importin

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-06 Thread Ronald Oussoren
On 5 Jun, 2011, at 18:24, Jeffrey O'Neill wrote: > I've used py2app for many years and have really appreciated how it makes it > so easy to distribute my app. I'm now running into problems and would > appreciate suggestions for how to debug. My setup: > -- Snow Leopard > -- 32-bit Python 2.7

[Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-05 Thread Jeffrey O'Neill
I've used py2app for many years and have really appreciated how it makes it so easy to distribute my app. I'm now running into problems and would appreciate suggestions for how to debug. My setup: -- Snow Leopard -- 32-bit Python 2.7 from python.org -- py2app 6.3 -- only external package is wxPyt