Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread PieterB
> On Friday 20 June 2003 01:19 am, Jean Jordaan wrote: > > There's only one possible way! A-A-P! (A good match for Ape, Shane ;) > > It's a replacement for make by Bram Moolenaar, the author of Vim, and > > it looks like it does a lot of things Right. > Sorry, I haven't really been paying attention

Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Adrian van den Dries
On June 18, Chris McDonough wrote: > And Guido, for zdctl. Will Zope use zdctl? It would be cool to have the same framework used to control individual instances (Zope or ZEO), and zopectl can become an external zdaemon instance manager (I'll call it z*ctl). Zope and ZEO simply provide start hook

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Adrian van den Dries
On June 19, Chris McDonough wrote: > On Thu, 2003-06-19 at 20:24, Adrian van den Dries wrote: > > Why not avoid that altogether and let the user supply the > > correct python? > > This is somewhat of a style choice OK, ZC's call. ;-) > Well, as we all know, shell scripting kinda blows. There is

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Richard Jones
On Friday 20 June 2003 01:19 am, Jean Jordaan wrote: > There's only one possible way! A-A-P! (A good match for Ape, Shane ;) > It's a replacement for make by Bram Moolenaar, the author of Vim, and > it looks like it does a lot of things Right. Sorry, I haven't really been paying attention so this

Re: [Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

2003-06-19 Thread Jamie Heilman
Fred L. Drake, Jr. wrote: > Whatever happened to the old tried-but-true: > i=`expr $i + 1` nothing, its just overkill > I suspect using expr is more portable to the whole family of > sh-derived shells than any of the more new-fangled ways. Arithmetic expansion has been around for a long time

Re: [Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

2003-06-19 Thread Fred L. Drake, Jr.
Jamie Heilman writes: > > Does anyone care enough to fix configure to work properly on BSD? > > i=$(($i+1)) Whatever happened to the old tried-but-true: i=`expr $i + 1` Running an external process may be slower, but you don't need to run ./configure all that often unless you're developi

[Zope-dev] A-A-P and Zope 2.7 issues

2003-06-19 Thread PieterB
Hi, I created a first draft cut of a A-A-P file for Zope/Python and Zope products. I think of using it for creating a zopetest "product" and a new FreeBSD zopetest port (a Makefile that uses 'aap' and can be used to create several zopeinstances with several sets of products. I also would like to w

Re: [Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

2003-06-19 Thread Chris McDonough
Cool, thanks! On Thu, 2003-06-19 at 20:52, Jamie Heilman wrote: > > Does anyone care enough to fix configure to work properly on BSD? > > i=$(($i+1)) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cro

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Chris McDonough
On Thu, 2003-06-19 at 20:24, Adrian van den Dries wrote: > On June 19, Chris McDonough wrote: > > On Wed, 2003-06-18 at 23:13, Adrian van den Dries wrote: > > > python2.1 configure.py --prefix=/opt/zope271-python21 > > > > (FWIW, configure is a shell script.) > > Yes, I knew that. I used the .

Re: [Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

2003-06-19 Thread Jamie Heilman
> Does anyone care enough to fix configure to work properly on BSD? i=$(($i+1)) -- Jamie Heilman http://audible.transient.net/~jamie/ "You came all this way, without saying squat, and now you're trying to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile? I like

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Adrian van den Dries
On June 19, Chris McDonough wrote: > On Wed, 2003-06-18 at 23:13, Adrian van den Dries wrote: > > python2.1 configure.py --prefix=/opt/zope271-python21 > > (FWIW, configure is a shell script.) Yes, I knew that. I used the .py extension for all the scripts to be consistent, according to my earl

Re: [Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

2003-06-19 Thread Chris McDonough
Thanks for the warning. I know very little about BSD's shell (I don't even know what the default BSD shell is). FWIW, the need for bash is mentioned in INSTALL.txt (although I admit I thought it would work under other shells). Does anyone care enough to fix configure to work properly on BSD? On

[Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

2003-06-19 Thread PieterB
Hi, Just ran ./configure using Python 2.2.2. I got the following output: (on FreeBSD 5.0) Configuring Zope installation Testing for an acceptable Python interpreter... Python version 2.2.2 found at /usr/local/bin/python let: arith: syntax error: "i = i + 1"

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread PieterB
> http://www.a-a-p.org/index.html This looks quite good! It has support python 2.2 support as well. I'll see if I can play with it. Pieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or H

RE: [Zope-dev] Hi, new to zope

2003-06-19 Thread Ramon Linan
Hi Andreas it worked that file was owned by root, although it has 777 permission.!!?? anyway, I worked after the zope user took control of the file and also after putting in z2.py those lines...thanks -Original Message- From: Andreas Jung [mailto:[EMAIL PROTECTED] Sent: Thursday, Ju

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Shane Hathaway
Jean Jordaan wrote: There's only one possible way! A-A-P! (A good match for Ape, Shane ;) It's a replacement for make by Bram Moolenaar, the author of Vim, and it looks like it does a lot of things Right. Interesting. A-A-P seems to have similar use cases. I should take a serious look at it (and

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Toby Dickenson
On Thursday 19 June 2003 15:58, Shane Hathaway wrote: > Has anyone tried > extracting Gentoo's build system and using it for partial software > distributions? That might be the way to go. I am now using Gentoo on all my servers and on this workstation. I find value in being able to manage Zope

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Jean Jordaan
There's only one possible way! A-A-P! (A good match for Ape, Shane ;) It's a replacement for make by Bram Moolenaar, the author of Vim, and it looks like it does a lot of things Right. http://www.a-a-p.org/index.html In fact, Aap would fit very well with Gentoo. Gentoo's emerge system takes care o

Re: [Zope-dev] zpt z-sql?

2003-06-19 Thread J Cameron Cooper
What would be the syntax to call a z-sql (passing one or more parameters) from a zpt? The z-sql would retrieve a single row. Fields from this row to be shown in the zpt. I moved this over to [EMAIL PROTECTED] This list is development *of* Zope, rather than *with* Zope. --jcc

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Dan L. Pierson
--On Thursday, June 19, 2003 10:07:52 +1000 Adrian van den Dries <[EMAIL PROTECTED]> wrote: I'd advise against installing Zope library files into site-packages unless you put them in a site-packages subdirectory (like site-packages/zope270 or site-packages/zope271). Otherwise there will be no

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Chris McDonough
On Thu, 2003-06-19 at 09:53, Luca - De Whiskey's - De Vitis wrote: > On Wed, Jun 18, 2003 at 03:08:12PM -0400, Chris McDonough wrote: > I'm both disappointed and happy for the same reason :) When 2.7 will be out > i'll adapt my zopectl to the new Zope installation procedure. Great. > I'll keep it

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Shane Hathaway
Chris McDonough wrote: On Thu, 2003-06-19 at 10:14, Chris McDonough wrote: On Thu, 2003-06-19 at 02:57, PieterB wrote: How do those files compare to the buildscript: http://cvs.zope.org/NZO_SiteLayout/buildout_zope_sandbox?cvsroot=Zope.org The NZO make-driven buildout is an early revision of what

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Chris McDonough
On Wed, 2003-06-18 at 23:13, Adrian van den Dries wrote: > Distribution install - most common:: > > ./configure.py --prefix=/usr \ > --skel=/usr/share/zope/skel \ > --doc=/usr/share/zope/doc > > mkzopeinstance.py /var/lib/zope/default > > ln -s /var/lib/

RE: [Zope-dev] Hi, new to zope

2003-06-19 Thread Andreas Jung
And maybe check the filepermissions of your _mysql.so file! It must be readable by python! -aj --On Donnerstag, 19. Juni 2003 16:41 Uhr +0200 Andreas Jung <[EMAIL PROTECTED]> wrote: add the following to your z2.py: import sys print sys.path Check the output against your PYTHONPATH. -aj _

RE: [Zope-dev] Hi, new to zope

2003-06-19 Thread Andreas Jung
add the following to your z2.py: import sys print sys.path Check the output against your PYTHONPATH. -aj --On Donnerstag, 19. Juni 2003 10:41 Uhr -0400 Ramon Linan <[EMAIL PROTECTED]> wrote: Thanks aj for your quick answer... the situation is this, I though that was a problem with the path to

RE: [Zope-dev] Hi, new to zope

2003-06-19 Thread Ramon Linan
Thanks aj for your quick answer... the situation is this, I though that was a problem with the path too so, yesterday I did export PYTHONPATH=/usr/local/lib/python2.1/site-packages/ there is one of the 3 places that I have that library, bit I still get the same error. I tried something desperate

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Chris McDonough
On Thu, 2003-06-19 at 10:14, Chris McDonough wrote: > On Thu, 2003-06-19 at 02:57, PieterB wrote: > > Chris wrote: > > > We have make-driven software that creates us a tree via a single command > > > by checking out various version of Python, Zope, etc. from CVS and > > > compiling and installing t

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Chris McDonough
On Thu, 2003-06-19 at 02:57, PieterB wrote: > Chris wrote: > > We have make-driven software that creates us a tree via a single command > > by checking out various version of Python, Zope, etc. from CVS and > > compiling and installing them. Different versions of Zope and Python, > > etc. can be i

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Luca - De Whiskey's - De Vitis
On Wed, Jun 18, 2003 at 03:08:12PM -0400, Chris McDonough wrote: > If you want to change your Zope controller to work with 2.7, I think > you'll either be very happy (or very disappointed, seeing how much work > you put in to creating your own config files) to know that Zope 2.7+ > instances have t

Re: [Zope-dev] Hi, new to zope

2003-06-19 Thread Andreas Jung
--On Donnerstag, 19. Juni 2003 9:33 Uhr -0400 Ramon Linan <[EMAIL PROTECTED]> wrote: Hi everybody, I am new to Zope (and a little experienced with Python). I have been trying to install already for 3 weeks the ZMySQLA... at this point I am very frustrated. I am getting the error ImportError:

[Zope-dev] Hi, new to zope

2003-06-19 Thread Ramon Linan
Hi everybody, I am new to Zope (and a little experienced with Python). I have been trying to install already for 3 weeks the ZMySQLA... at this point I am very frustrated. I am getting the error ImportError: no module named _mysql !!! my system has Redhat 7.3 zope 2.6.1 python 2.1.3 is the pyt

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Luca - De Whiskey's - De Vitis
On Thu, Jun 19, 2003 at 09:26:51AM +1000, Adrian van den Dries wrote: > Well, if you're going to have a policy shoot-out: [...] > I think most of us would agree that .py(c) files are *libraries* and > not *data files*. Data files would be the skeleton instance > directory. Of course i do not agre

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Adrian van den Dries
On June 19, PieterB wrote: > Could that make-driven software be made public? I'm currently trying to > create similar Makefiles (for a new FreeBSD zope port) and would be > interested in using ZC files. This sort of stuff is almost definitely deployment-specific (and quite likely ZC proprietary pr

Re: [Zope-dev] os.system problem

2003-06-19 Thread Andreas Jung
Ensure that the binaries being called through os.system() are in the program search path. -aj P.S. Use the zope mailinglist next time --On Donnerstag, 19. Juni 2003 12:12 Uhr +0200 Arjan Huizer <[EMAIL PROTECTED]> wrote: Hi, I have created an external method that is called when I upload a fi

[Zope-dev] os.system problem

2003-06-19 Thread Arjan Huizer
Hi, I have created an external method that is called when I upload a file. This external method will execute the validate_file function from my python file in the Extensions directory. The script creates a file and tries to see if it contains a virus. It does run, but after creating the file,