[Zope3-Users] Debug quits with no error...
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 prompt just quits out, no error, nothing ... 'import urllib' works 'import worldcookery' works 'import worldcookery.recipe' doesn't work If I mistype the name on purpose, it gives a 'proper' error. ./bin/instance fg and start both run the server fine with no errors and I can browse the default Zope3 site. Where am I going wrong? Jon ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Debug quits with no error...
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 cause? Is this the debugger still, or my code? Jon. *As an aside, the worldcookery.com website seem to have been offline for the past 2 days. I was thinking of installing the finished application from the source there to check against my code. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Debug quits with no error...
> 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 support installed already. I can edit a line with the right and left keys and up brings back a history, at both the python and debug prompt. Cheers, Jon. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Debug quits with no error...
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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Debug quits with no error...
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': http://downforeveryoneorjustme.com/worldcookery.com Jon ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Zope Product Recommendations
Hi all, The list of products at Zope.org is fairly daunting for a n00b like me. Does anyone have any recommendations in terms of usefulness / wow factor / day to day utility apps? Cheers, Jon Hadley http://jon-hadley.com ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users