[Zope-dev] Zope 2.7 date international configuration

2004-03-02 Thread Santi Camps
Hi all, I'm just beginning to move my applications to Zope 2.7 and I've found something estrange related to dates. In the new zope.conf you can enable an option: datetime-format international I've enabled it hoping that fields named field_name:date will be handled as dates in international

Re: [Zope-dev] Re: Custom class: cut,copy,rename?

2004-03-02 Thread Chris Withers
Ian Beatty wrote: I presume you mean for cut, paste, rename, etc. If I remove PropertyManager, my 'Properties' ZMI tab disappears. That's odd, I could have sworn ObjectManager used that. Hmmm, maybe use Folder instead of ObjectManager ;-) Okay. This is bizarre. I've got a containment hierarchy

Re: [Zope-dev] running test.py with instance_home products.

2004-03-02 Thread Chris Withers
Chris McDonough wrote: Has anyone found a reasonable strategy for using Zope's test.py to test products that are installed outside the Zope software home? I try running it from the software home and using the --dir option to point it to where my product is, but it tells me it can't find any

Re: [Zope-dev] Zope 2.7 date international configuration

2004-03-02 Thread Chris Withers
Santi Camps wrote: But the result is that with :date fields, us format is always used, not following the instruction in zope.conf. Perhaps there is some problem in Zope configuration machinery. Yep, sounds like a bug, stick it in the collector :-) cheers, Chris -- Simplistix - Content

Re: [Zope-dev] Zope 2.7 date international configuration

2004-03-02 Thread Andreas Jung
I just commited a patch for DateTime.py on the Zope CVS HEAD that should fix the problem. -aj --On Dienstag, 2. März 2004 12:04 Uhr +0100 Santi Camps [EMAIL PROTECTED] wrote: Hi all, I'm just beginning to move my applications to Zope 2.7 and I've found something estrange related to dates. In

[Zope-dev] RE: python.exe vs pythonw.exe difference?

2004-03-02 Thread Tim Peters
[moving this from comp.lang.python to zope-dev; it really belongs on a Zope list, although schemes to change what pythonw does probably belong on python-dev] [Emile van Sebille [EMAIL PROTECTED]] I've possibly narrowed a problem I'm having running zope as a service on winxp pro sp 1 in that

[Zope-dev] Re: running test.py with instance_home products.

2004-03-02 Thread Tres Seaver
Chris Withers wrote: Chris McDonough wrote: Has anyone found a reasonable strategy for using Zope's test.py to test products that are installed outside the Zope software home? I try running it from the software home and using the --dir option to point it to where my product is, but it tells me

Re: [Zope-dev] Re: running test.py with instance_home products.

2004-03-02 Thread Erik A . Dahl
Or use this patch http://zope.org/Collectors/Zope/1233 that finds the config file via the environment variable ZOPE_CONFIG during a normal import Zope; app=Zope.app() dance. -EAD On Mar 2, 2004, at 10:52 AM, Tres Seaver wrote: Chris Withers wrote: Chris McDonough wrote: Has anyone found a

[Zope-dev] Re: python.exe vs pythonw.exe difference?

2004-03-02 Thread Thomas Heller
Tim Peters [EMAIL PROTECTED] writes: [moving this from comp.lang.python to zope-dev; it really belongs on a Zope list, although schemes to change what pythonw does probably belong on python-dev] [I'm currently reading python-list via the gmane nntp interface, I don't know whether there

[Zope-dev] Re: python.exe vs pythonw.exe difference?

2004-03-02 Thread Tres Seaver
Thomas Heller wrote: Tim Peters [EMAIL PROTECTED] writes: [moving this from comp.lang.python to zope-dev; it really belongs on a Zope list, although schemes to change what pythonw does probably belong on python-dev] [I'm currently reading python-list via the gmane nntp interface, I don't know

[Zope-dev] RE: python.exe vs pythonw.exe difference?

2004-03-02 Thread Tim Peters
[Thomas Heller] [I'm currently reading python-list via the gmane nntp interface, I don't know whether there really is a gmane.comp.web.zope.devel newsgroup] I don't know either, so I'll copy you directly. [Tim] ... Here's a Python program to try: import sys if 1: # edit to 1 for

[Zope-dev] Re: Custom class: cut,copy,rename?

2004-03-02 Thread Ian Beatty
On 2004-03-01 7:21 PM, Max M is reputed to have said: So if SimpleItem is before ObjectManager the traversal order of the parent objects will make shure that you get the wrong methods :-( So this will *not* work... Aha... that explains a lot of my irreproducible behavior. After correcting

[Zope-dev] Broken Unittest

2004-03-02 Thread Christian Theune
Hi, I address you directly because I haven't received feedback on this from the zope-dev mailinglist and you have been the last ones touching code in Products/DateIndex. This test is breaking for me but not on Jeremys daily tests for Zope 2 on the HEAD:

[Zope-dev] Re: python.exe vs pythonw.exe difference?

2004-03-02 Thread Emile van Sebille
Tim: [Thomas] I get exactly the same, on Win XP Pro, both for sys.stdout and sys.stderr. That's good to know! Thanks. ... Since it seems XP shows the same behaviour than win98SE, has the behaviour of Python changed? Were IOErrors ignored on sys.stdout or sys.stderr in earlier

Re: [Zope-dev] Re: Custom class: cut,copy,rename?

2004-03-02 Thread Dieter Maurer
Ian Beatty wrote at 2004-3-1 16:38 -0500: ... Traceback (innermost last): ... Module OFS.CopySupport, line 230, in manage_renameObjects Module OFS.CopySupport, line 252, in manage_renameObject Copy Error: [html snipped] Using that Zope is Open Source ;-) and looking at

Re: [Zope-dev] running test.py with instance_home products.

2004-03-02 Thread Dieter Maurer
Chris McDonough wrote at 2004-3-1 21:17 -0500: Has anyone found a reasonable strategy for using Zope's test.py to test products that are installed outside the Zope software home? I try running it from the software home and using the --dir option to point it to where my product is, but it tells me

Re: [Zope-dev] Serving big files thru zope?

2004-03-02 Thread Dieter Maurer
Jeremy Hylton wrote at 2004-3-1 14:01 -0500: ... It really would be good to get to the bottom of the bad ZEO performance for loading an object the first time. I won't have time to do it until after the ZODB 3.3 release, but I think it's a worthwhile effort to understand what ZEO is doing. I

[Zope-dev] Re: Broken Unittest

2004-03-02 Thread Tres Seaver
Christian Theune wrote: Hi, I address you directly because I haven't received feedback on this from the zope-dev mailinglist and you have been the last ones touching code in Products/DateIndex. This test is breaking for me but not on Jeremys daily tests for Zope 2 on the HEAD:

Re: [Zope-dev] Serving big files thru zope?

2004-03-02 Thread Paul Winkler
On Tue, Mar 02, 2004 at 07:06:31PM +0100, Dieter Maurer wrote: (snip) I interpreted these observations in the following way: * time is dominated by the disc access * time is largely independent of the object size (if the object is in the OS disc cache) * ZEO overhead is

[Zope-dev] Re: Broken Unittest

2004-03-02 Thread Gary Poster
That sounds possible. I added support of Python 2.3 datetime, and while I tried to handle alternate timezones correctly I may have failed. I'll try to look at this later today. Gary Tres Seaver wrote: Christian Theune wrote: Hi, I address you directly because I haven't received feedback on

Re: [Zope-dev] Serving big files thru zope?

2004-03-02 Thread Marc Lindahl
On Monday, March 1, 2004, at 02:43 PM, Dieter Maurer wrote: In order to reduce memory consumption and decouple Zope from ZServer (and the response delivery), a large file is spooled via a temporary. This means, that the file content is read from ZODB, stored in a temporary file and then delivered

[Zope-dev] Execution context

2004-03-02 Thread Garito
Hi all Can I know the execution contexto of an object? I would like to know if the object is call by ZMI or DTML or Page Templates etc is it posible? Thank you ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] RE: python.exe vs pythonw.exe difference?

2004-03-02 Thread Tim Peters
[Emile van Sebille] ... At this point, I won't be back to that site before next week, although I may take some time to test this weekend. It sounds like I should rework any areas that spew output to the console. Is there something better than checking os.path.basename(sys.executable)? You

[Zope-dev] Re: Execution context

2004-03-02 Thread Tres Seaver
Garito wrote: Can I know the execution contexto of an object? I would like to know if the object is call by ZMI or DTML or Page Templates etc is it posible? Perhaps; I am not sure I can see why it would be *desirable*. Given that Scripts, DTMLMethods, etc., try pretty hard to push themselves

[Zope-dev] Re: Broken Unittest

2004-03-02 Thread Gary Poster
Christian: I think I saw and fixed the problem, if your machine's local time is GMT. Could you please cvs up the test and see if the issue is resolved? Thanks Gary Tres Seaver wrote: Christian Theune wrote: Hi, I address you directly because I haven't received feedback on this from the

Re: [Zope-dev] running test.py with instance_home products.

2004-03-02 Thread Chris McDonough
On Tue, 2004-03-02 at 14:27, Dieter Maurer wrote: Has anyone found a reasonable strategy for using Zope's test.py to test products that are installed outside the Zope software home? I try running it from the software home and using the --dir option to point it to where my product is, but it

Re: [Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please

2004-03-02 Thread Chris McDonough
Great, I'm going to consider that a resounding endorsement and check it in soon; please do let me know if you see anything odd come up. If anyone else has been having issues with the old Transience module, and would like to provide feedback on the newer implementation, please get this file: