[Zope-Coders] Zope tests: 4 OK, 1 Failed, 2 Unknown

2005-11-08 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Mon Nov 7 12:01:01 2005 UTC to Tue Nov 8 12:01:01 2005 UTC. There were 7 messages: 7 from Zope Unit Tests. Test failures - Subject: FAILED : Zope-trunk Python-2.4.2 : Linux From: Zope Unit Tests Date: Mon Nov 7 21:15:22 EST 2005

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

2005-11-08 Thread Jens Vagelpohl
On 8 Nov 2005, at 03:36, Tres Seaver wrote: -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

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

2005-11-08 Thread Chris Withers
Jens Vagelpohl wrote: I just repaired it by killing all svnserve processes and then running svnadmin recover against the /svn/repos/main folder. It's high time to move away from that garbage BDB backend. Yay! We have a volunteer! ;-) Chris -- Simplistix - Content Management, Zope Python

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

2005-11-08 Thread Chris Withers
Victor Safronovich wrote: My Product wants to replace zpublisher_validate_hook in Zope2.__init__. Why on earth would you want to do that?! Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

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

2005-11-08 Thread Victor Safronovich
Hello Chris Withers, Tuesday, November 8, 2005, 1:26:29 PM, you wrote: CW Why on earth would you want to do that?! :) my product needs to do some specific things, right after the user is authenticated and becomes known. hook is hook and it may be overloaded as with

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

2005-11-08 Thread Tino Wildenhain
Victor Safronovich schrieb: Hello Chris Withers, Tuesday, November 8, 2005, 1:26:29 PM, you wrote: CW Why on earth would you want to do that?! :) my product needs to do some specific things, right after the user is authenticated and becomes known. hook is hook and it may be overloaded

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

2005-11-08 Thread Victor Safronovich
Hello Tino Wildenhain, Tuesday, November 8, 2005, 4:29:39 PM, you wrote: TW You might want to look at userfolder implementation, for example PAS. Thank you, i look at it, but this is another story ;). -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru

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

2005-11-08 Thread Tino Wildenhain
Victor Safronovich schrieb: Hello Tino Wildenhain, Tuesday, November 8, 2005, 4:29:39 PM, you wrote: TW You might want to look at userfolder implementation, for example PAS. Thank you, i look at it, but this is another story ;). Now you should tell us what you are really doing here :-)

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

2005-11-08 Thread Victor Safronovich
Hello Tino Wildenhain, Tuesday, November 8, 2005, 5:56:25 PM, you wrote: TW Now you should tell us what you are really doing here :-) Subject: Re: [Zope-dev] moment when zope was started. /\ want to know | -/ -- Best

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

2005-11-08 Thread Lennart Regebro
On 11/8/05, Victor Safronovich [EMAIL PROTECTED] wrote: Hello Tino Wildenhain, Tuesday, November 8, 2005, 5:56:25 PM, you wrote: TW Now you should tell us what you are really doing here :-) Subject: Re: [Zope-dev] moment when zope was started. /\ want to know

[Zope-dev] commit(1) in ZCatalog

2005-11-08 Thread Chris Withers
Hi All, ZCatalog still contains a commit(1) at around line 589 of ZCatalog.py, which is causing the familiar 'Savepoints unsupported' error for us :-( Would there be any problem changing this to a savepoint(optimistic=True) on the 2.8 branch and trunk? cheers, Chris -- Simplistix -

Re: [Zope-dev] commit(1) in ZCatalog

2005-11-08 Thread Tim Peters
[Chris Withers] ZCatalog still contains a commit(1) at around line 589 of ZCatalog.py, which is causing the familiar 'Savepoints unsupported' error for us :-( Would there be any problem changing this to a savepoint(optimistic=True) on the 2.8 branch and trunk? There shouldn't be any problem

Re: [Zope-dev] commit(1) in ZCatalog

2005-11-08 Thread Chris Withers
Tim Peters wrote: [Chris Withers] ZCatalog still contains a commit(1) at around line 589 of ZCatalog.py, which is causing the familiar 'Savepoints unsupported' error for us :-( Would there be any problem changing this to a savepoint(optimistic=True) on the 2.8 branch and trunk? There

[Zope-dev] buildbot failure in Zope trunk 2.4 Windows 2000 fred-win

2005-11-08 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Windows 2000 fred-win. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1423 Blamelist: benji_york,chrisw,hdima,jens,jim,sidnei,tseaver,yuppie BUILD FAILED: failed test sincerely, -The Buildbot

Re: [Zope-dev] commit(1) in ZCatalog

2005-11-08 Thread Tim Peters
[Chris Withers] ZCatalog still contains a commit(1) at around line 589 of ZCatalog.py, which is causing the familiar 'Savepoints unsupported' error for us :-( Would there be any problem changing this to a savepoint(optimistic=True) on the 2.8 branch and trunk? [Tim Peters] There shouldn't

Re: [Zope-dev] commit(1) in ZCatalog

2005-11-08 Thread Chris Withers
Tim Peters wrote: Ah, yes. That should go away by magic then if/when someone stitches in a newer version of whichever Zope3 2.8 branch is using. Or not wink. ...which can then cause svn:externals to blow up all our checkouts when we update ;-) *wry grinz* Chris -- Simplistix - Content

[Zope-dev] i18n:translate and tal:content should not use template domain

2005-11-08 Thread Jim Fulton
IMO, if a template an element with both i18n:translate and tal:content and the value inserted is not a message id, the template's domain will be used. This seems like a bad idea. It can hide failures to provide message ids because everything ultimately gets a domain. I'm working on tools to

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

2005-11-08 Thread Victor Safronovich
Hello Lennart Regebro, Tuesday, November 8, 2005, 6:43:23 PM, you wrote: LR Yeah, but he asked for what you are trying to do, not what you want to LR know. We can't help you if we don't know what you are trying to do. Ok, i need to replace zpublisher_validate_hook with my hook. my hook: def

Re: [Zope-PAS] RFC: PAS Release plan

2005-11-08 Thread Sidnei da Silva
On Sat, Nov 05, 2005 at 03:00:28PM -0500, Tres Seaver wrote: | I hope to get the standard plugins exportable / importable shortly, so | that you will be able to snapshot your PAS configuration (e.g., to | check it into CVS, or to migrate it to another machine). Such on-disk | profiles should make

[Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Roman Suzi
Hi! Newer Zope versions have an interesting ability to serve large files efficiently given the file name ( http://plope.com/Members/chrism/ploneconf2004/2004pres.txt ). What about serving large files given file(-like) handler? It could be very beneficial sometimes, especially with

Re: [Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Tino Wildenhain
Roman Suzi schrieb: Hi! Newer Zope versions have an interesting ability to serve large files efficiently given the file name ( http://plope.com/Members/chrism/ploneconf2004/2004pres.txt ). What about serving large files given file(-like) handler? It could be very beneficial sometimes,

Re: [Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Roman Suzi
On Tue, 8 Nov 2005, Tino Wildenhain wrote: Roman Suzi schrieb: Hi! Newer Zope versions have an interesting ability to serve large files efficiently given the file name ( http://plope.com/Members/chrism/ploneconf2004/2004pres.txt ). What about serving large files given file(-like) handler?

Re: [Zope] DateTime strftime problem

2005-11-08 Thread Jürgen Herrmann
[ Andreas Jung wrote:] --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

Re: [Zope] Equivalent of __of__ in Script (Python).

2005-11-08 Thread Chris Withers
JoseLuis de la Rosa Triviño wrote: tmp_user.__of__(context.acl_users) What makes you think you need to do this? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist -

Re: [Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Jonathan
- Original Message - From: Roman Suzi [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, November 08, 2005 8:47 AM Subject: Re: [Zope] Serve large files efficiently from a pipe On Tue, 8 Nov 2005, Tino Wildenhain wrote: Roman Suzi schrieb: Hi! Newer Zope versions have an

Re: [Zope] DateTime strftime problem

2005-11-08 Thread Jürgen Herrmann
[ Jürgen Herrmann wrote:] i looked at the source of DateTime::strftime(), surpirse, surprise :) strftime uses python's datetime class and it's strftime method! but no care is taken at this time for timezone information, so i decided to code a tzinfo subclass for datetime that can represent

[Zope] Which part of Zope cares about interfaces in Products?

2005-11-08 Thread Hideo at Yokohama
Hi. I'm trying to learn how to code Plone products using Archetypes, but to get a sound understanding, I'm going through layer by layer, starting from Zope products written in Python. I have been trying Plone for about 6 months. My Python experience is very limited. In Zope Developer's

Re: [Zope] DateTime strftime problem

2005-11-08 Thread Chris Withers
Andreas Jung wrote: This idea had been discussed already for Python 2.4 or Python 2.5 I think. Since 100% compatibility could not be guaranteed, What? you mean it wouldn't be broken? ;-) Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] DateTime strftime problem

2005-11-08 Thread Chris Withers
Jürgen Herrmann wrote: d = DateTime('2005/04/03 02:01 UTC') d.toZone('GMT+1').strftime('%Y/%m/%d %H:%M %Z') '2005/04/03 03:01 GMT+0100' is this correct? if so, the i would tend to say, the testcase was written to pass with wrong strftime() behaviour. That would be entirely unsuprising

Re: [Zope] Which part of Zope cares about interfaces in Products?

2005-11-08 Thread Lennart Regebro
On 11/8/05, Hideo at Yokohama [EMAIL PROTECTED] wrote: The Zope Developer's guide does not actually say that you must define interfaces to make your product work. It just says that doing so will make it easier for other people to understand your products. If that is the sole effect of using

Re: [Zope] useradd command in Zope

2005-11-08 Thread Chris Withers
ajit mote wrote: command=/usr/sbin/adduser -p +password+ + userName return os.system(command) You are going to get yourself into a world of pain. os.system isn't the right thing to use here due to its lack of output redirection. Calling adduser like that is a really big hole in your

Re: [Zope] VIRTUAL_URL Failure

2005-11-08 Thread Chris Withers
George Lee wrote: On my Plone site, in CookieCrumbler.py, VIRTUAL_URL is not found in the request variable even though I have a Virtual Host Monster. This means that when logging in, the came_from URL that my site directs to becomes something ugly like What version of Zope are you using? Why

Re: [Zope] how to remove templates/scripts in ZMI from translated folders got from LinguaPlone...

2005-11-08 Thread Chris Withers
Lucia Colombo wrote: I can actually locate the scripts/templates in the translated folders, searching by id in the site through the ZMI. But once I located them, I can possibly edit them but not remove them, as I can't list the folder contents. Any help would be appreciated. Sounds like a

Re: [Zope] VHM and SSL protection problem

2005-11-08 Thread Chris Withers
Sascha Welter wrote: second rule. You likely need both, though I have not used fastcgi in a while. ...why anyone would want to nowadays is an interesting question ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] VIRTUAL_URL Failure

2005-11-08 Thread George Lee
Zope 2.8.1 In Plone 2.1.1, when I try to access a page Anonymous does not have permission to see, it redirects to a login. While doing so, it sets a came_from variable with the URL I'm trying to access. It sets an ugly http://my.domain.org/VirtualHostBase/http/my.domain.org:80/contentPages

Re: [Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Paul Winkler
On 11/8/05, Roman Suzi [EMAIL PROTECTED] wrote: I don't know if writing to response one chunk at a time is proper solution? Will Zope store response body or sent it right away? I am not sure that it is the later... The classic way to do streaming data in Zope is like so:

Re: [Zope] Reading GIS files(.shp, .dbx, .) into ZopeDatabase

2005-11-08 Thread Dieter Maurer
Allen Huang wrote at 2005-11-6 17:10 -0800: I want to Reading GIS files(.shp, .dbx, .iforget) into ZopeDatabase. What does reading GIS files into ZODB means? Storing them as blobs (Binary Large OBjects) is trivial (you use a File object for this). Understanding them might prove a bit more

Re: [Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Dieter Maurer
Roman Suzi wrote at 2005-11-8 13:05 +0200: ... What about serving large files given file(-like) handler? It could be very beneficial sometimes, especially with dynamically generated content... You must observe the restrictions required by HTTP! HTTP 1.1 requires that if a response contains a

[Zope] zope/pone dies without traceback:cant uplaod data with umlauts anymore

2005-11-08 Thread robert rottermann
Hi there, I want to upload data trough a form into a database. This used to work fine for a year or so. Now when ever there are non ascii characters in the text to upload zope dies without any traceback but the following: There is no entry in the error log, neither in plone nor in one of

Re: [Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Roman Suzi
On Tue, 8 Nov 2005, Paul Winkler wrote: On 11/8/05, Roman Suzi [EMAIL PROTECTED] wrote: I don't know if writing to response one chunk at a time is proper solution? Will Zope store response body or sent it right away? I am not sure that it is the later... The classic way to do streaming data

[Zope] DateTime problem

2005-11-08 Thread [EMAIL PROTECTED]
I have the following code that works on one Zope install and does not work on another. I would like to be able to use the same code under both, but am at a loss as to why there is a difference. I do not control the Zope servers running this application. Any help would be appreciated: On one

Re: [Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Roman Suzi
On Tue, 8 Nov 2005, Dieter Maurer wrote: Roman Suzi wrote at 2005-11-8 13:05 +0200: ... What about serving large files given file(-like) handler? It could be very beneficial sometimes, especially with dynamically generated content... You must observe the restrictions required by HTTP! HTTP

[Zope] zope installation on suse linux es 9.0

2005-11-08 Thread Zed
hi all i would like to know wich is the version of zope that can be installed on suse linux 9.0 e.s my version of python is 2.3. do i need package updating? thanks ___ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB

[Zope] Zope Service Startup Failure

2005-11-08 Thread [EMAIL PROTECTED]
I am having problems with Zope running on my Windows Web Server. This is quite a recent development (last two days) - things normally run perfectly well but lately the Zope service has stopped working. I get the following entry in the Zope event.log: 2005-11-08T20:51:13 INFO WinSignalHandler

Re: [Zope] Reading GIS files(.shp, .dbx, .) into ZopeDatabase

2005-11-08 Thread Allen Huang
I know it might be difficult, but I like try it. I don't really like to use multiple databases if I could fit all the data into onto zope or mutiple zope databases, maybe it could increase dataflow since I wouldn't need to transform data from one format to another. But I'm really concern on how

Re: [Zope] zope installation on suse linux es 9.0

2005-11-08 Thread robert rottermann
Zed wrote: hi all i would like to know wich is the version of zope that can be installed on suse linux 9.0 e.s my version of python is 2.3. you shoul update your python to python 2.3.5 and of course do not use the zope tha comes preinstalled with suse (it is outdated) all the rest is fine