[Zope] Re: Zope 2.8.4 and Plone

2005-11-07 Thread Alexander Limi
On Mon, 07 Nov 2005 09:42:52 -0800, Dennis Allison <[EMAIL PROTECTED]> wrote: We've run into problems tryin to run Plone under Zope 2.8.4. What is the current best practice? Plone on Zope 2.8.x is supported and works well, you will need to give us more details than "I've run into problems

[Zope] Re: useradd command in Zope

2005-11-07 Thread Josef Meile
> su zope (or whoever your zope runs) > ./yourmethod.py someuser somepass > > You will see it fail (apart from the fact you need > the #!/path/to/python.bin and set the execution bit > with chmod a+x before you try) > > > > i tried using another user outside of zope . >

RE: [Zope] Revision Control / CVS / SVN integration with ZODB?

2005-11-07 Thread Doyon, Jean-Francois
You may be interested in: http://www.zope.org/Members/jdoyon/svnapezope/Caesar This was a one man thing I did ... I ran into some big hurdles, and gave up on it for now. I still think the idea is excellent mind you, but some of the ZODB/APE paradigms didn't translate well into the SVN world. Bu

Re: [Zope] Revision Control / CVS / SVN integration with ZODB?

2005-11-07 Thread bruno modulix
Michael Schwartz a écrit : Zope has been a fantastic environment for our application (a front end for an Asterisk PBX application), but now that more people are contributing to the development effort, it is becoming a challenge to keep the various environments in sync. The project is now hundreds

[Zope] Re: Z2.log question

2005-11-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David wrote: > What environment or REQUEST variable is used for the Z2.log as the > username? > > We are using Zope 2.7 and since we have switched to XUF (w cookies), > the Z2.log does not record the username for a request any longer. Or > more pr

Re: [Zope] Zope 2.8.4 and Plone

2005-11-07 Thread Andreas Jung
--On 7. November 2005 09:42:52 -0800 Dennis Allison <[EMAIL PROTECTED]> wrote: We've run into problems tryin to run Plone under Zope 2.8.4. "Into problems" means what? -aj pgp3Nz8qn70nd.pgp Description: PGP signature ___ Zope maillist - Zo

[Zope] Zope 2.8.4 and Plone

2005-11-07 Thread Dennis Allison
We've run into problems tryin to run Plone under Zope 2.8.4. What is the current best practice? -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://m

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Ron Bickers
On Mon November 7 2005 12:15 pm, Ron Bickers wrote: > dt = DateTime('2005/04/03 02:01 GMT').toZone('GMT-4') > '%s/%s/%s %s:%s %s' % (dt.year(), dt.month(), dt.day(), > dt.hour(), dt.minute, dt.timezone()) Oops. A (hopefully obvious) typo... should be dt.minute() --

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Ron Bickers
On Mon November 7 2005 12:15 pm, Ron Bickers wrote: > dt = DateTime('2005/04/03 02:01 GMT').toZone('GMT-4') > '%s/%s/%s %s:%s %s' % (dt.year(), dt.month(), dt.day(), > dt.hour(), dt.minute, dt.timezone()) > '%s/%s/%s %s:%s:%s %s' % (dt.parts()) Uh... you'll probabl

[Zope] Z2.log question

2005-11-07 Thread David
Hi What environment or REQUEST variable is used for the Z2.log as the username? We are using Zope 2.7 and since we have switched to XUF (w cookies), the Z2.log does not record the username for a request any longer. Or more precise, it displays any user logged in via a XUF user folder as

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Ron Bickers
On Mon November 7 2005 08:21 am, Jürgen Herrmann wrote: > DateTime('2005/04/03 02:01 GMT').toZone('GMT-4') > > prints: > 2005/04/02 22:01:00 GMT-4 > ...which is what i expected > - > DateTime('2005/04/03 02:01 GMT').toZone('GMT-4'

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Andreas Jung
--On 7. November 2005 15:36:26 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 7. November 2005 15:22:56 +0100 Jürgen Herrmann <[EMAIL PROTECTED]> wrote: 2. if this works as expected, why not make DateTime a wrapper around python datetime objects? is DateTime optimized for storage in

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Lennart Regebro
On 11/7/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > 1. what do you mean by HAD? seems to be there still and looks quite > useable. I mean has. :) > 2. if this works as expected, why not make DateTime a wrapper around > python datetime objects? Because that is a lot of work to make that wor

Re: [Zope] Revision Control / CVS / SVN integration with ZODB?

2005-11-07 Thread Andreas Jung
--On 7. November 2005 10:11:53 -0500 Michael Schwartz <[EMAIL PROTECTED]> wrote: What is the Roadmap for Revision Control in Zope 2, especially for us non-Plone users? Am I missing something with Revision Manager? Does it work for other people with Zope 2.8? Asking the authors directly

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Andreas Jung
--On 7. November 2005 15:22:56 +0100 Jürgen Herrmann <[EMAIL PROTECTED]> wrote: 2. if this works as expected, why not make DateTime a wrapper around python datetime objects? is DateTime optimized for storage in the zodb (maybe a separate question to the zodb-dev list)? what was the intention

[Zope] Revision Control / CVS / SVN integration with ZODB?

2005-11-07 Thread Michael Schwartz
Zope has been a fantastic environment for our application (a front end for an Asterisk PBX application), but now that more people are contributing to the development effort, it is becoming a challenge to keep the various environments in sync. The project is now hundreds of page templates, sql meth

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
[ Lennart Regebro wrote:] > On 11/7/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > >> then i will fix it, if i can. i need that functionality, because we >> have users from different time zones that access a shared calendar. > > I don't know if this helps, but it might: > > Python had a good mod

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Lennart Regebro
On 11/7/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > then i will fix it, if i can. i need that functionality, because we > have users from different time zones that access a shared calendar. I don't know if this helps, but it might: Python had a good module called datetime. Most likely, you

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
[ Andreas Jung wrote:] > > > --On 7. November 2005 14:41:43 +0100 Jürgen Herrmann> >> zope 2.8.3, should i upgrade to 2.8.4 first? >> > > This is possibly related to bug #1780 (and other related timezone bugs). > Unfortunately the timezone handling in Zope was and is always a > mess...unlikely th

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Andreas Jung
--On 7. November 2005 14:59:44 +0100 Jürgen Herrmann <[EMAIL PROTECTED]> wrote: then i will fix it, if i can. i need that functionality, because we have users from different time zones that access a shared calendar. The "if i can" might be the reason why is not fixed yet :-) But feel fr

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
[ Andreas Jung wrote:] > > > --On 7. November 2005 14:41:43 +0100 Jürgen Herrmann> >> zope 2.8.3, should i upgrade to 2.8.4 first? >> > > This is possibly related to bug #1780 (and other related timezone bugs). > Unfortunately the timezone handling in Zope was and is always a > mess...unlikely th

Re: [Zope] DateTime strftime problem

2005-11-07 Thread Andreas Jung
--On 7. November 2005 14:21:32 +0100 Jürgen Herrmann <[EMAIL PROTECTED]> wrote: hi all! DateTime('2005/04/03 02:01 GMT').toZone('GMT-4') prints: 2005/04/02 22:01:00 GMT-4 ...which is what i expected - DateTime('2005/04/03

[Zope] DateTime strftime problem

2005-11-07 Thread Jürgen Herrmann
hi all! DateTime('2005/04/03 02:01 GMT').toZone('GMT-4') prints: 2005/04/02 22:01:00 GMT-4 ...which is what i expected - DateTime('2005/04/03 02:01 GMT').toZone('GMT-4')\ .strftime('%Y/%m/%d %H:%M %Z') prints: 2005/04/03 04:01

Re: [Zope] useradd command in Zope

2005-11-07 Thread ajit mote
On 11/7/05, Tino Wildenhain <[EMAIL PROTECTED]> wrote: ajit mote schrieb: > this is what i tried >> #External script addUser.py (stored in instance/Extensions folder)> import crypt> import os > def addUser(userName,password):> password=crypt.crypt(password,"5Ag5zoM9") > command

Re: [Zope] useradd command in Zope

2005-11-07 Thread Tino Wildenhain
ajit mote schrieb: this is what i tried #External script addUser.py (stored in instance/Extensions folder) import crypt import os def addUser(userName,password): password=crypt.crypt(password,"5Ag5zoM9") command="/usr/sbin/adduser -p "+password+" "+ userName return o

Re: [Zope] useradd command in Zope

2005-11-07 Thread ajit mote
this is what i tried #External script addUser.py (stored in instance/Extensions folder) import crypt import os def addUser(userName,password):     password=crypt.crypt(password,"5Ag5zoM9")     command="/usr/sbin/adduser -p "+password+" "+ userName     return os.system(command) ///

Re: [Zope] VHM and SSL protection problem

2005-11-07 Thread Sascha Welter
(Sat, Nov 05, 2005 at 12:00:10PM -0500) [EMAIL PROTECTED] wrote/schrieb/egrapse: > From: Sophia Grimm <[EMAIL PROTECTED]> > Subject: [Zope] VHM and SSL protection problem > > ... > Installation #2: Plone 2.1/Zope 2.7.7 > I'm trying to use VHM and an Apache rewrite rule to > protect this site with S