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 SSL. I'm

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) /// attaching the

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

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=/usr/sbin/adduser -p

[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] 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

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 that it will

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 free

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 that it will

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
[ 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 module called

[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

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

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 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 work in

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 the

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')\

[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 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 probably

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() --

[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 -

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 -

[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

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

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.

[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 .

[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-Coders] Zope tests: 7 OK

2005-11-07 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Sun Nov 6 12:01:01 2005 UTC to Mon Nov 7 12:01:01 2005 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Sun Nov 6 21:57:43 EST

[Zope-Coders] Re: svn.zope.org in an odd state

2005-11-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred Drake wrote: On 11/7/05, Tres Seaver [EMAIL PROTECTED] wrote: svn: Berkeley DB error while opening 'strings' table for filesystem /svn/repos/main/db: Cannot allocate memory Yeah, this has been hosed for at least a good part of the day.

Re: [Zope-dev] moment when zope was started.

2005-11-07 Thread Chris Withers
Victor Safronovich wrote: But in Zope 2.8 the variable 'Zope2.Startup.started' not changed its value to True, because Zope2.Startup.start_zope was never called, instead of that called Zope2.Startup.run.run function. This sounds like a bug, but why do you want to know this? Chris

RE: [Zope-dev] Memory Leak Question

2005-11-07 Thread Dan Pozmanter
Consider it reported then. (Sorry for the delay, I was out of the office for most of last week). It looks like the problem is in Wrapper_findattr. Any thoughts? ___ Daniel Pozmanter Siteworx, Inc. Festina Lente - Gaius Julius -Original Message- From: Chris McDonough

[Zope-dev] Re: Memory Leak Question

2005-11-07 Thread Florent Guillaume
Could you provide details about why you think there's a leak in the code (what led you to Wrapper_findattr), and how to reproduce it consistently on a blank platform (Zope 2.8.4 preferred)? Maybe open a bug in the collector at http://www.zope.org/Collectors/Zope/ also. Thanks, Florent Dan

[Zope-dev] RE: Memory Leak Question

2005-11-07 Thread Dan Pozmanter
Sure thing: I was mucking around in _Acquisition.c with getattr, findattr, etc, and I noticed checked to see if my code was leaky. It was! I then checked just vanilla code, and found the same leak (only much much smaller). So here is what I did to make things more visible: In Wrapper_getattro,

Re: [Zope-dev] Constructing a ZOPE request in a python script

2005-11-07 Thread Chris Withers
Dave Coe wrote: I am hoping that someone can help me with how to construct a POST request in a python script. I tried searching the older messages, but post and get are such common terms, that I didn't have much luck. This all feels amazingly clunky, but then you are using dtml, so that's

Re[2]: [Zope-dev] moment when zope was started.

2005-11-07 Thread Victor Safronovich
Hello Chris Withers, Monday, November 7, 2005, 8:15:58 PM, you wrote: CW Victor Safronovich wrote: But in Zope 2.8 the variable 'Zope2.Startup.started' not changed its value to True, because Zope2.Startup.start_zope was never called, instead of that called Zope2.Startup.run.run

Re: [Zope-dev] moment when zope was started.

2005-11-07 Thread Victor Safronovich
VSHow could i find the moment when zope was started in Zope 2.8? VSin Zope 2.7 was the variable 'Zope.Startup.started', which setted to True when VSzope was started. VSBut in Zope 2.8 the variable 'Zope2.Startup.started' not changed its value to VSTrue, because