[Zope] basic FSSession question

2000-07-03 Thread Leichtman, David J
I'm probably missing something really key here, but I'm having difficulty doing multiple sessions in FSSession. I have a session and then, say, take some form data and push it to the session. If I'm on a different machine (different cookie / different SessionUID), and I get different form data an

[Zope] (no subject)

2000-07-13 Thread Leichtman, David J
I've previously been a Perl programmer. I did a lot of stuff where I would have multiple links with different options. Ex. 1234 2345 Then, in script.pl, I would pick up the extra info on the other side from $PATH_INFO. The problem in Zope is that there is no "end" to the address. Serving from A

[Zope] while

2000-07-26 Thread Leichtman, David J
Is there an easy way to simulate the functionality of a while loop in DTML? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/l

Re: [Zope] while

2000-07-26 Thread Leichtman, David J
But that's more like a for loop. No test condition. Basically, I want to keep redoing a method until a condition is met. -Original Message- From: Daniel Rusch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 26, 2000 3:19 PM To: Leichtman, David J Cc: '[EMAIL PROTECTED]&#x

[Zope] working with datetime

2000-07-27 Thread Leichtman, David J
Is there an easy way to increment the month or year of the DateTime object? Adding a numeric value increments the day. Incrementing the year is easily doable, but incrementing the month is significantly more difficult. So I'm just curious if there's a function that will actualy modify the parts

[Zope] server dies

2000-07-31 Thread Leichtman, David J
I was wondering if anyone else had experienced this problem: Ever since we installed the ZPoPy database adapter, the server has been occasionally crashing, and it gets worse and worse over time. Has anyone else experienced this problem? We're running Zope through Apache, on a Solaris box, with Po

[Zope] strange zope problems of the crashing kind

2000-08-23 Thread Leichtman, David J
Alright Zopers, I'm looking for a hint, a suggestion, just about anything would help since I can't, for the life of me, figure out what's wrong. Here's the run-down. We are running Zope 2.2.0 on Solaris, and we're running it through Apache + SSL. We're using a PostgreSQL DB with the ZPoPyDA. We

[Zope] PyGreSQLDA

2000-09-26 Thread Leichtman, David J
Has anyone had significant speed issues using the PyGreSQLDA? It seems like I'm only getting one DB connection at a time. Is this an issue with the DA, with Zope, or am I doing something wrong? I have a pgsql db running just fine, and in Zope I have a connection instantiated at the top level that

[Zope] Zope stalls indefinitely

2000-10-03 Thread Leichtman, David J
Thought we had a problem of ours fixed, but here it is once again, a month later. Zope, every once in a while, will just stall indefinitely. The Zope process doesn't die, it just hangs. Everything was fine for a month or so, and now the problem's started again, about every hour. We're running 2.

[Zope] String to Object

2000-11-08 Thread Leichtman, David J
Does anyone now how I might take a string and turn it into an object reference in DTML? By that, I mean, I want to take a string like: 'object.subobject.subobject' from a database, and I want to reference it as . I think this is a simple, straightforward thing, but I've been wracking my brain ov

[Zope] image resize

2000-12-08 Thread Leichtman, David J
Is there a way to do a dynamic image resize in Zope? I know PHP has that ability, and I was hoping that Zope had something similar. And I'm not talking about height and width atributes in the img tag. I mean actually creating, on-the-fly, a new duplicate of the image that's a different size. ___

[Zope] LocalFS question

2000-12-11 Thread Leichtman, David J
How do you access an individual object in a LocalFS? By that, I mean: If I wanted the last_mod time of any Zope object, I could say . However, if you try to do the same thing with a LocalFS object, i.e. , you get the error NameError: localfs_subobject This leads me to believe that LocalFS subobj

[Zope] Adding a ZClass Instance to a Specific Folder

2000-12-21 Thread Leichtman, David J
The default constructor when a ZClass is created calls: And when you programmatically add a ZClass instance, it's like this: This creates the instance in the directory of the method from which the call was made. The Question: How do you go about adding an instance to a specific folder? I