Re: [Zope3-Users] Debug quits with no error...

2008-06-27 Thread Jon Hadley
Magic configure line for me was: ./configure MACOSX_DEPLOYMENT_TARGET=10.5 LDFLAGS=-L/opt/local/lib OPT=-I/opt/local/include Now all works fine. Thanks for the troubleshooting pointers all. Worldcookery.com however still seems down for me and 'everyone else':

Re: [Zope3-Users] Debug quits with no error...

2008-06-27 Thread Fred Drake
On Fri, Jun 27, 2008 at 4:10 AM, Jon Hadley [EMAIL PROTECTED] wrote: ./configure MACOSX_DEPLOYMENT_TARGET=10.5 LDFLAGS=-L/opt/local/lib OPT=-I/opt/local/include Egads; I'd completely forgotten about that environment variable; I'll bet I was looking at a build for a different version of Python.

Re: [Zope3-Users] Debug quits with no error...

2008-06-25 Thread Jon Hadley
Working form page 87 of PVW's book* I can now successfully type 'from worldcookery.recipe import Recipe' However, the next line, 'minestrone = Recipe()' results in the prompt quitting out with a 'Bus error'. Progress, at least (thanks Jim), but still broken. Where should I be looking for the

Re: [Zope3-Users] Debug quits with no error...

2008-06-25 Thread Jon Hadley
Check if you get the same error if you just play in a normal python prompt. How do I run a python prompt within my application (so that I can call the classes etc)? Bearing in mind I'm using buildout and I'm a beginner! I think the solution to this was to install readline I have readline

Re: [Zope3-Users] Debug quits with no error...

2008-06-25 Thread Fred Drake
On Wed, Jun 25, 2008 at 4:57 AM, Jon Hadley [EMAIL PROTECTED] wrote: *As an aside, the worldcookery.com website seem to have been offline for the past 2 days. I was thinking of installing the finished This is working for me. How do I run a python prompt within my application (so that I can

Re: [Zope3-Users] Debug quits with no error...

2008-06-25 Thread Jon Hadley
Thanks for all the advice guys. Just tried print 'hello world' at the python prompt and got a Bus Error, so looks like it is my python installation after all. Will come back to you when I've fixed it! Jon ___ Zope3-users mailing list

Re: [Zope3-Users] Debug quits with no error...

2008-06-24 Thread Jim Fulton
On Jun 24, 2008, at 11:44 AM, Jon Hadley wrote: Hi all, I'm running through PVW's Zope 3 book. I'm trying to create an object via the debug prompt using ./bin/instance debug (my zope instance is buildout based, on OSX). However, each time I enter: from worldcookery.recipe import Recipe the