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

2005-11-09 Thread Tino Wildenhain
Am Dienstag, den 08.11.2005, 22:34 +0200 schrieb 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

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

2005-11-09 Thread Tino Wildenhain
Am Dienstag, den 08.11.2005, 17:07 -0800 schrieb 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

[Zope] help with url rewriting

2005-11-09 Thread Faheem Mitha
Dear People, I running Apache 2.0 and Zope 2.7 on Debian Sarge. I've configured a zope (Plone) instance located /var/lib/zope2.7/instance/dulci. This can be accessed via http://machine_address:9673/dulci. 9673 is the point on which Zope runs on Debian. I'm trying to configure Apache so

[Zope] DemoStorage

2005-11-09 Thread Kevin McDermott
Hi, Has anybody successfully mounted a DemoStorage recently? We're currently trying with the following stanza in zope.conf zodb_db testing mount-point /testing demostorage zeoclient server localhost:8001 storage main name zeostorage var $INSTANCE/var

Re: [Zope] Re: DateTime strftime problem

2005-11-09 Thread Jürgen Herrmann
zope 2.7.8's DateTime::strftime() looks like this: def strftime(self, format): # Format the date/time using the *local timezone representation*. return strftime(format, safelocaltime(self.timeTime())) it seems that my assumption about strftime's behaviour was incorrect. why do we have time

Re: [Zope] DateTime strftime problem

2005-11-09 Thread Chris Withers
Jürgen Herrmann wrote: hmm, could i please have a comment on my real question? is it correct, to expect the abovementioned retval from strftime in this case? if so, i'll change the testcase and fix the two outstanding issues with dates 1900 or 2035 and open a collector issue with the patches

Re: [Zope] Zope Service Startup Failure

2005-11-09 Thread Chris Withers
[EMAIL PROTECTED] wrote: I am having problems with Zope running on my Windows Web Server. Well, use a real os ;-) 2005-11-08T20:51:13 INFO WinSignalHandler Caught signal SIGTERM -- 2005-11-08T20:51:13 INFO Z2 Shutting down fast -- 2005-11-08T20:51:13 INFO ZServer closing HTTP to

Re: [Zope] VIRTUAL_URL Failure

2005-11-09 Thread Chris Withers
George Lee wrote: http://my.domain.org/VirtualHostBase/http/my.domain.org:80/contentPages which does not work. Plone folks suspected this was a Zope problem. Oh really? ;-) When Plone sets the came_from, it draws on the REQUEST variable. It first looks to see if there is a VIRTUAL_URL in

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

2005-11-09 Thread Chris Withers
robert rottermann wrote: *Error Type: UnicodeDecodeError* *Error Value: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)* I would be extremely suprised is this actually killed the Zope process. What database adapter are you using? If Zope was dying, how did it

Re: [Zope] DemoStorage

2005-11-09 Thread Chris Withers
Kevin McDermott wrote: * Module DBTab.DBTab, line 96, in getDatabase * Module DBTab.DBTab, line 113, in _createDatabase Did you install DBTab? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] help with url rewriting

2005-11-09 Thread Chris Withers
Faheem Mitha wrote: the log says [Wed Nov 09 03:30:26 2005] [error] [client ...] client denied by server configuration: This means you likely need to find something else in your apache.conf that's causing this problem... RewriteRule ^/plone(/.*)?$ That's odd.. Why not just:

Re: [Zope] VIRTUAL_URL Failure

2005-11-09 Thread George Lee
Two main questions: (1) Does anybody *have* good documentation on VIRTUAL_URL and how it interacts with CookieCrumbler and VirtualHostMonster? (2) Does anyone know how to debug VirtualHostMonster or other Python libraries while running a Zope instance (it lives in Python not in Zope, so I

Re: [Zope] VIRTUAL_URL Failure

2005-11-09 Thread George Lee
(2) Does anyone know how to debug VirtualHostMonster or other Python libraries while running a Zope instance (it lives in Python not in Zope, so I don't know if I change the code there if those changes will actually get executed)? Oh wait it is in a Zope product, scratch that. Peace,

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

2005-11-09 Thread Roman Suzi
On Wed, 9 Nov 2005, Tino Wildenhain wrote: Am Dienstag, den 08.11.2005, 22:34 +0200 schrieb Roman Suzi: On Tue, 8 Nov 2005, Paul Winkler wrote: - I do not have named file... only file handler. But maybe named pipe will do the trick... However, missing content-length (and unfortunately,

[Zope] Re: VIRTUAL_URL Failure

2005-11-09 Thread Florent Guillaume
The correct thing to use in a recent Zope is REQUEST['ACTUAL_URL']. Florent George Lee wrote: Two main questions: (1) Does anybody *have* good documentation on VIRTUAL_URL and how it interacts with CookieCrumbler and VirtualHostMonster? (2) Does anyone know how to debug VirtualHostMonster

[Zope] Re: VIRTUAL_URL Failure

2005-11-09 Thread George Lee
The correct thing to use in a recent Zope is REQUEST['ACTUAL_URL']. Florent This gives something like http://ip:port/path/to/subdomain though rather than http://subdomain.mydomain.org ... what if anything gives the latter? Peace, George ___ Zope

[Zope] [ANN] TextIndexNG 3.1.1 released

2005-11-09 Thread Andreas Jung
I am pleased to announce the release of TextIndexNG V 3.1.1. TextIndexNG V 3 is a complete new implementation based on Zope 3 technologies and can be used both in Zope 2.8 or in Zope 3. What's new? - multi-field indexing and query support - multi-lingual support - configurable converters

[Zope] Re: Zope/Plone Website Manager, Baltimore, MD

2005-11-09 Thread Alexander Limi
On Wed, 09 Nov 2005 10:21:07 -0800, Beau Gould [EMAIL PROTECTED] wrote: Candidate should have at least five years related experience. Please note that Plone is only four years old. ;) -- _ Alexander Limi · Chief

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

2005-11-09 Thread Dieter Maurer
robert rottermann wrote at 2005-11-8 20:22 +0100: 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: Thus, you use a C level debugger

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

2005-11-09 Thread Dieter Maurer
Allen Huang wrote at 2005-11-8 17:07 -0800: 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

Re: [Zope] Re: DateTime strftime problem

2005-11-09 Thread Dieter Maurer
Jürgen Herrmann wrote at 2005-11-9 13:38 +0100: zope 2.7.8's DateTime::strftime() looks like this: def strftime(self, format): # Format the date/time using the *local timezone representation*. return strftime(format, safelocaltime(self.timeTime())) it seems that my assumption about

Re: [Zope] Re: VIRTUAL_URL Failure

2005-11-09 Thread Dieter Maurer
George Lee wrote at 2005-11-9 11:21 -0500: ... request['ACTUAL_PATH'] ... This gives something like http://ip:port/path/to/subdomain though rather than http://subdomain.mydomain.org ... what if anything gives the latter? I fear you fight a CookieCrumbler bug. The most natural REQUEST['URL']

Re: [Zope] Re: VIRTUAL_URL Failure

2005-11-09 Thread George Lee
I fear you fight a CookieCrumbler bug. Vicious monsters, indeed. Thanks for the REQUEST['URL'] tip. It's a pretty good workaround for now, although not exactly right. If I am going to an object http://here.org/object with default page or default method default, then REQUEST['URL'] equals

Re: [Zope] Re: DateTime strftime problem

2005-11-09 Thread Jürgen Herrmann
[ Dieter Maurer wrote:] Jürgen Herrmann wrote at 2005-11-9 13:38 +0100: zope 2.7.8's DateTime::strftime() looks like this: def strftime(self, format): # Format the date/time using the *local timezone representation*. return strftime(format, safelocaltime(self.timeTime())) it seems that my

[Zope-Annce] [ANN] TextIndexNG 3.1.1 released

2005-11-09 Thread Andreas Jung
I am pleased to announce the release of TextIndexNG V 3.1.1. TextIndexNG V 3 is a complete new implementation based on Zope 3 technologies and can be used both in Zope 2.8 or in Zope 3. What's new? - multi-field indexing and query support - multi-lingual support - configurable converters

[Zope-Checkins] SVN: Zope/trunk/ Use a better __repr__ for User objects.

2005-11-09 Thread Florent Guillaume
Log message for revision 40006: Use a better __repr__ for User objects. (NullUnrestrictedUser had a non-string repr that made it impossible to debug properly.) Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/AccessControl/User.py U

[Zope-Checkins] SVN: Zope/branches/efge-five-events-work/ Branch to fix events with Five.

2005-11-09 Thread Florent Guillaume
Log message for revision 40012: Branch to fix events with Five. Changed: A Zope/branches/efge-five-events-work/ -=- Copied: Zope/branches/efge-five-events-work (from rev 40011, Zope/trunk) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

Re: [Zope-Coders] Why zope-coders?

2005-11-09 Thread Christian Theune
Am Freitag, den 04.11.2005, 10:02 -0500 schrieb Jim Fulton: I propose to retire this list and move the traffic over to zope-dev. +1 -- gocept gmbh co. kg - schalaunische str. 6 - 06366 koethen - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 3496 30 99 112 - fax +49 3496 30 99 118 -

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

2005-11-09 Thread Florent Guillaume
If you go to the control panel of a running Zope, you'll see it display Running For with the correct number of seconds. So there's obviously an existing way for the server to know when it was started, just look how the control panel does it. Florent Victor Safronovich wrote: VSHow could

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

2005-11-09 Thread Lennart Regebro
On 11/9/05, Victor Safronovich [EMAIL PROTECTED] wrote: Ok, i need to replace zpublisher_validate_hook with my hook. [...] _afterValidateHook do many thinks specific to the portal such as 1. Sets response charset according to the user's selected language. 2. Replaces HTML-encoded entities

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

2005-11-09 Thread Victor Safronovich
Hello Florent Guillaume and , Wednesday, November 9, 2005, 3:54:26 PM, you wrote: FG If you go to the control panel of a running Zope, you'll see it display FG Running For with the correct number of seconds. So there's obviously an FG existing way for the server to know when it was started,

[Zope-dev] Anyone using ZEO and ZOPE to create offline clients?

2005-11-09 Thread Sasha Vincic
Hi, Are there any projects where there have been attempt to build zope clients which can work offline and when online they will be synchronize with the ZEO storage? Other solutions with zsyncer are also interesting, right now I just look for info about existing attempts. /Sasha

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

2005-11-09 Thread Chris Withers
Victor Safronovich wrote: _afterValidateHook do many thinks specific to the portal such as 1. Sets response charset according to the user's selected language. Why not just do this is a normal traversal hook such as an access rule? 2. Replaces HTML-encoded entities with their corresponding

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

2005-11-09 Thread Florent Guillaume
Victor Safronovich wrote: Hello zope-dev! How could i find the moment when zope was started in Zope 2.8? in Zope 2.7 was the variable 'Zope.Startup.started', which setted to True when zope was started. But in Zope 2.8 the variable 'Zope2.Startup.started' not changed its value

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

2005-11-09 Thread Victor Safronovich
Hello Florent Guillaume, Wednesday, November 9, 2005, 6:09:29 PM, you wrote: FG What do you suggest? If you feel the attribute 'started' should be removed FG from Zope, because it's unused, please file a new ticket in the Zope collector. I suggest that variable `started` is usefull. Even

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-11-09 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1453 Blamelist: efge,fdrake,hdima,jim,poster,srichter,tseaver,yuppie BUILD FAILED: failed test sincerely, -The Buildbot

Re: [Zope-dev] Anyone using ZEO and ZOPE to create offline clients?

2005-11-09 Thread Dieter Maurer
Sasha Vincic wrote at 2005-11-9 13:31 +0100: Are there any projects where there have been attempt to build zope clients which can work offline and when online they will be synchronize with the ZEO storage? Search the archive. I think I have read something like this (quite a long time ago).

[Zope-dev] PT preprocessing in XML mode

2005-11-09 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I'm stuck with a PT behavior I wasn't expecting at all. Let's say I got this PT sample : ?xml version=1.0 encoding=utf-8 ? doc xmlns:tal=http://namespace.zope.org/tal/; span tal:replace=string:foo/ /doc Then when I render this sample I

[Zope-dev] Re: PT preprocessing in XML mode

2005-11-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien Anguenot wrote: I'm stuck with a PT behavior I wasn't expecting at all. Let's say I got this PT sample : ?xml version=1.0 encoding=utf-8 ? doc xmlns:tal=http://namespace.zope.org/tal/; span tal:replace=string:foo/ /doc Then when

Re: [Zope-dev] Re: PT preprocessing in XML mode

2005-11-09 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Julien Anguenot wrote: I'm stuck with a PT behavior I wasn't expecting at all. Let's say I got this PT sample : ?xml version=1.0 encoding=utf-8 ? doc xmlns:tal=http://namespace.zope.org/tal/; span tal:replace=string:foo/

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

2005-11-09 Thread Victor Safronovich
Hello Florent Guillaume, Wednesday, November 9, 2005, 6:09:29 PM, you wrote: FG What do you suggest? If you feel the attribute 'started' should be removed FG from Zope, because it's unused, please file a new ticket in the Zope collector. Ithink out, `Starter` has 2 Events(