[Zope3-Users] Re: Getting started with a zope 3 install as eggs
Hi Christian,I've looked a bit at zopeproject, but I'm still wondering if it's possible to still install zope as eggs without zopeproject (if that even makes sense). Will zopeproject become _the_ way of developing in the future? Because I don't see a reason using a tarball install when you can't smoothly install those nice zope packages (e.g lovely.tag) that depend on the eggversion of zope. I have a hosting situation that is a bit unclear when it comes to running zopeproject because they use good old instances. I have a discussion with them at the moment so I hope I get this sorted out :) On 10/31/07, Christian Klinger [EMAIL PROTECTED] wrote: Jesper, do you know zopeproject http://cheeseshop.python.org/pypi/zopeproject/0.4.1 with the help of zopeproject you will get a buildout where you can specifiy further dependencies in your application. HTH Christian Good afternoon list, I currently have a Zope 3.3.1 installation (tarball) and have written some code that uses zc.catalog and hurry.query. These two were installed as eggs and work fine (I used zc.catalog 1.1 because later versions required a lot of zope eggs) I'd like to use more packages but I see that most of the new stuff today require eggs from the 'eggified' version of Zope.. So I figure I just might as well switch to all eggs and join the future. I want this to go as smooth as possible. Not sure how to get started though. 1. Which package to easy_install to get Zope 3? And when you've got it installed can you say that you actually run a certain version of Zope any longer? 2. If I install everything as eggs, how do I actually create, configure and run instances? Or do I actually keep my old 3.3.1 install alongside the new eggs? 3. Any other suggestions? Greatly appreciate any answers bringing some clarity to this Regards Jesper ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Getting started with a zope 3 install as eggs
Jesper Petersen wrote: Hi Christian, I've looked a bit at zopeproject, but I'm still wondering if it's possible to still install zope as eggs without zopeproject (if that even makes sense). Sure, you can do that. Nobody's stopping you. It's just that zopeproject gives you a head start with the sandbox. It's all about getting the environment primed and installing the most common eggs. From there you can take it anywhere you like. Will zopeproject become _the_ way of developing in the future? Dunno. I've primarily developed as a replacement tool for the tarball-centric mkzopeinstance script, because I didn't want to type all that boiler plate all the time. I use it in trainings, quite successfully. Note that it's offspring from grokproject, which we've been using to set up Grok-based sandboxes for much longer now. I think the basic principle is well-established now. I have a hosting situation that is a bit unclear when it comes to running zopeproject because they use good old instances. I have a discussion with them at the moment so I hope I get this sorted out :) A zopeproject-generated sandbox is like an instance, except that it also installs the Zope eggs, and therefore is self-contained (the eggs can still be shared among multiple sandboxes, though). If you can host instances, you should be able to host buildout-driven sandboxes (because that's what zopeproject generates) too. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Getting started with a zope 3 install as eggs
Jesper Petersen [EMAIL PROTECTED] writes: I've looked a bit at zopeproject, but I'm still wondering if it's possible to still install zope as eggs without zopeproject (if that even makes sense). If I understand both zopeproject and your question (and I'm less confident about whether I understand your question), then this might be the answer you need: The zopeproject script is *not* designed to install Zope. That is, it's not, once you've developed your Zope project in one place, the way you make Zope appear on the actual hosting server so that your application can run. Instead, buildout is how you get Zope installed most of the time. Your setup.py for your application is what will list Zope as a dependency, and will result in its being fetched and installed before you run your application. So what's the point of zopeproject? It's just there to write your first setup.py and buildout.py, to create your src/ directory for you, and get things set up for development. But once you've started your project, you'll never need zopeproject again; you can immediately uninstall it if you want! :-) So you'll never need it installed on a production box, only on development boxes where you first create projects out of nothing. Let me know whether this answer was helpful, or a statement of the obvious that is beside the actual point of your question. :-) -- Brandon Craig Rhodes [EMAIL PROTECTED] http://rhodesmill.org/brandon ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Duplicate emails from mail queue
Hi, Has anyone experienced duplicate emails being sent using IQueuedMailDelivery? In zope log it appears to be sent only once: 2007-10-30T07:13:03 INFO QueueProcessorThread Mail ... but 2 emails are received. Any clues on where to look and how to correct the problem? Regards, Darryl ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Duplicate emails from mail queue
Darryl Cousins wrote: Has anyone experienced duplicate emails being sent using IQueuedMailDelivery? We've seen this when you have more than one process (or thread) attempting to deliver messages from a single maildir. I've recently made changes on the zope.sendmail trunk to eliminate the duplicates. I need to do another release, maybe tomorrow. If you want to try the fix before a release is made, you can try running a trunk checkout. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Duplicate emails from mail queue
Hi, On Sun, 2007-11-04 at 22:41 -0500, Benji York wrote: Darryl Cousins wrote: Has anyone experienced duplicate emails being sent using IQueuedMailDelivery? We've seen this when you have more than one process (or thread) attempting to deliver messages from a single maildir. I've recently made changes on the zope.sendmail trunk to eliminate the duplicates. I need to do another release, maybe tomorrow. If you want to try the fix before a release is made, you can try running a trunk checkout. Thanks Benji. I don't have time to try the trunk today, will keep an eye out for the new release. Best regards, Darryl ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users