[Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Wichert Akkerman
I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to it hard to predict. This is not the most user friendly command:

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Hanno Schlichting
On Fri, Sep 3, 2010 at 9:50 AM, Wichert Akkerman wich...@wiggy.net wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Wichert Akkerman
On 9/3/10 10:27 , Hanno Schlichting wrote: On Fri, Sep 3, 2010 at 9:50 AM, Wichert Akkermanwich...@wiggy.net wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Hanno Schlichting
On Fri, Sep 3, 2010 at 10:30 AM, Wichert Akkerman wich...@wiggy.net wrote: On 9/3/10 10:27 , Hanno Schlichting wrote: Given that this code is completely untested except for people actually using it on different platforms I'm not personally going to merge the codebase any further. But anyone

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread David Glick
On Sep 3, 2010, at 12:50 AM, Wichert Akkerman wich...@wiggy.net wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to

[Zope-dev] .lock files on Windows

2010-09-03 Thread Martin Aspeli
Hi, With Plone 4 and thus Zope 2.12.10, we've noticed a problem that I think only affects Windows. Can anyone confirm or shed some more light? Basically, if we run an instance (installed via plone.recipe.zope2instance as bin\instance) in the foreground (bin\instance fg) and then kill it with

Re: [Zope-dev] .lock files on Windows

2010-09-03 Thread Jim Pharis
https://bugs.launchpad.net/collective.buildout/+bug/596839 Killing a fg instance with ctrl-c isn't the only scenario where the lock and pid files don't get cleaned up. On Fri, Sep 3, 2010 at 11:46 AM, Martin Aspeli optilude+li...@gmail.comoptilude%2bli...@gmail.com wrote: Hi, With Plone 4

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to

Re: [Zope-dev] .lock files on Windows

2010-09-03 Thread Sidnei da Silva
On Fri, Sep 3, 2010 at 1:16 PM, Jim Pharis binbr...@gmail.com wrote: https://bugs.launchpad.net/collective.buildout/+bug/596839 Killing a fg instance with ctrl-c isn't the only scenario where the lock and pid files don't get cleaned up. I thought the problem was only the .pid file, not the

Re: [Zope-dev] .lock files on Windows

2010-09-03 Thread Jim Pharis
I'm on 2.13.0a3 w/plone.recipe.zope2instanec-4.0.2. Under the scenario Martin described, exiting a fg with ctrl-c, the lock file is cleaned up for me. If I kill the service using Task Manager the lock file remains. On Fri, Sep 3, 2010 at 12:33 PM, Sidnei da Silva sidnei.da.si...@canonical.com

Re: [Zope-dev] .lock files on Windows

2010-09-03 Thread Martin Aspeli
On 3 September 2010 17:06, Jim Pharis binbr...@gmail.com wrote: I'm on 2.13.0a3 w/plone.recipe.zope2instanec-4.0.2. Under the scenario Martin described, exiting a fg with ctrl-c, the lock file is cleaned up for me. If I kill the service using Task Manager the lock file remains. It seemed to be

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Chris Withers
On 03/09/2010 17:21, Tres Seaver wrote: I am not sure if this is best done in plone.recipe.zope2instance or Zope2.Startup.zopectl. They have differing versions of ZopeCmd. Perhaps the plone.recipe.zope2instance code should be merged into Zope2's original as well? I don't know anything about