Re: [Zope] Re: zdsock

2005-12-08 Thread John Poltorak
On Wed, Dec 07, 2005 at 09:02:11AM -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Tres Seaver wrote: You have confused the server socket (which is set in the http-server section) with the daemon control socket (set in runner in the

Re: [Zope] Erase acl_users

2005-12-08 Thread Infor Gates
There is zpasswd.py in the bin directory. Use it to create an emergency user. Good luck. --- [EMAIL PROTECTED] wrote: Hello, I have a problem. I erase object acl_users in root directory and now I can´t login in zope. Zope have site error on http://locahost:8080/ An error was encountered

Re: [Zope] dtml-tree (urlparam)

2005-12-08 Thread Ulla Theiss
Dear list, many thanks for the link to a little bit more documentation of dtml-tree. Unfortunately the parameter of interest (urlparam - Since Zope 2.2??) is not mentioned there. Meanwhile I found in the Zope-Bible (Chapter 4, Page 115): The use of this attribute [urlparam] is somewhat

[Zope] Re: zdsock

2005-12-08 Thread Chris Withers
Tres Seaver wrote: Ah, okay. How does this work on windows? zdaemon / zopectl *don't* work on windows. oh, my OS is broken *schniff* What's wrong with the default name? Th the original poster's case, his OS requires that Unix-domain sockets have mangled names. ...and so is his ;-)

Re: [Zope] Re: Adding TextIndexNG 3.1.1 error

2005-12-08 Thread Chris Withers
Tres Seaver wrote: Talking of 2.8.5...how about a 2.8.5 release before X-mas (around December, 20th)? +1. +1 too :-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist -

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-08 Thread Chris Withers
Roman Susi wrote: Even if it is in my code, it is still too bad to get down the whole Zope server. Also, it was confirmed as a bug. Where and who by? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] Erase acl_users

2005-12-08 Thread Chris Withers
[EMAIL PROTECTED] wrote: Hello, I have a problem. I erase object acl_users in root directory and now I can´t login in zope. Zope have site error on http://locahost:8080/ An error was encountered while publishing this resource. Error Type: AttributeError Error Value: acl_users it´s possible

[Zope] Re: Can HTTP and WebDAV share port 80?

2005-12-08 Thread Max M
Michael Dexter wrote: Hello, It appears that Apache and IIS put both HTTP and WebDAV/HTTP traffic over the same port. Can Zope do the same? Why? Why not? What I usually do is to create a RewriteRule in apache, that rewrites to the dav port. RewriteRule ^/webdav(.*)

[Zope] Zope 2.8.4 install on Suse

2005-12-08 Thread Harry Forster
Thanks to all for the very quick response to my request for help. This is the backbone of the open source community. I have been using Zope 2.6 on windows for years and wanted to update and move to a Suse 9.0 machine. I downloaded Zope 2.8.4-final tgz. I originally had Python 2.4 but switched

Re: [Zope] Saving a Rendered DTML Document

2005-12-08 Thread Asad Habib
Hello. The PHP script that I use relies on a path to locate the HTML file on the file system and since the DTML document is a Zope object, it does not have access to that. I also tried using a Zope File object as well as a DTML document that is part of a Local File System. Using a Zope File

Re: [Zope] Saving a Rendered DTML Document

2005-12-08 Thread Robert (Jamie) Munro
Asad Habib wrote: Hello. The PHP script that I use relies on a path to locate the HTML file on the file system and since the DTML document is a Zope object, it does not have access to that. I also tried using a Zope File object as well as a DTML document that is part of a Local File System.

Re: [Zope] Saving a Rendered DTML Document

2005-12-08 Thread Jonathan
if you want to create an html file on the file system (which is a rendered version of a dtml method), you could use something like wget (http://www.gnu.org/software/wget/wget.html). Give wget the url to the dtml method and it will create an html file on the filesystem (which you can then

Re: [Zope] Z-2.8.4 Install trouble on RedHat Enterprise 3

2005-12-08 Thread Sam Moore
On Dec 7, 2005, at 3:10 PM, Dieter Maurer wrote: Sam Moore wrote at 2005-12-6 16:59 -0500: ... copying zope/component/tests/__init__.py - myhomedirectory/ Zope-2.8.4-final/build-base/python-2.4/build-lib/zope/component/ tests error:myhomedirectory/Zope-2.8.4-final/build-base/python-2.4/

Re: [Zope] Saving a Rendered DTML Document

2005-12-08 Thread Asad Habib
Hello. Thanks for your input. I tried doing this but it didn't work. - Asad On Thu, 8 Dec 2005, Robert (Jamie) Munro wrote: Asad Habib wrote: Hello. The PHP script that I use relies on a path to locate the HTML file on the file system and since the DTML document is a Zope object, it does

Re: [Zope] Z-2.8.4 Install trouble on RedHat Enterprise 3

2005-12-08 Thread Sam Moore
On Dec 8, 2005, at 9:51 AM, Sam Moore wrote: On Dec 7, 2005, at 3:10 PM, Dieter Maurer wrote: Sam Moore wrote at 2005-12-6 16:59 -0500: ... copying zope/component/tests/__init__.py - myhomedirectory/ Zope-2.8.4-final/build-base/python-2.4/build-lib/zope/component/ tests

[Zope] Zope refusing to serve our large files (180M+)

2005-12-08 Thread Chris Wilton
Hi all, Sure someone's probably come across something similar, but I couldn't find anything in the archives: our zope is refusing to allow download of files greater than around 170M through the http server. We have a number of db dumpfiles we want people to be able to access. We are running Zope

Re: [Zope] Zope refusing to serve our large files (180M+)

2005-12-08 Thread Paul Winkler
On Thu, Dec 08, 2005 at 05:58:34PM +0200, Chris Wilton wrote: Hi all, Sure someone's probably come across something similar, but I couldn't find anything in the archives: our zope is refusing to allow download of files greater than around 170M through the http server. We have a number of db

[Zope] Zope refusing to serve our large files (180M+)

2005-12-08 Thread Chris Wilton
Hi, thanks for the reply. 1) I can download a 170M file but not a 180M file through the http server. With the larger file request we get a 500 error in the trace log. The download box pops up but nothing is actually downloaded. If there's a 500 error in the trace or access log, there

[Zope] Zope refusing to serve ... i am an idiot

2005-12-08 Thread Chris Wilton
Whoops. Sorry. Error log tells me it's a 'no space left on device' error: 2005-12-08T19:33:30 ERROR(200) SiteError http://ekhidna.biocenter.helsinki.fi/dali/downloads/180M.tar/index_html Traceback (most recent call last): File /data/backup/Zope-2.7.0/lib/python/ZPublisher/Publish.py, line 100,

Re: [Zope] Zope refusing to serve ... i am an idiot

2005-12-08 Thread Tim Peters
[Chris Wilton] Whoops. Sorry. Error log tells me it's a 'no space left on device' error: 2005-12-08T19:33:30 ERROR(200) SiteError http://ekhidna.biocenter.helsinki.fi/dali/downloads/180M.tar/index_html Traceback (most recent call last): File

[Zope] Zope refusing to serve ... i am an idiot

2005-12-08 Thread Chris Wilton
I assume this means there's a max cache size set somewhere. There's plenty of room left on our fs (hundreds of GB) so Zope isn't being allowed to use it at the moment. I'm asuming this is a Zope rather than local filesystem issue, but maybe I'm wrong; if it is a Zope issue, how I can

Re: [Zope] Zope 2.8.4 install on Suse

2005-12-08 Thread Harry Forster
Jens I am sorry to say that I have compiled all software on this machine. I have done so so that I would not have confusion due to different compilers. I think that there is a problem with the manner in which I compile Python or compile usingPython. Python has a zlib.so in its distribution

Re: [Zope] Zope 2.8.4 install on Suse

2005-12-08 Thread Jens Vagelpohl
On 8 Dec 2005, at 18:46, Harry Forster wrote: Jens I am sorry to say that I have compiled all software on this machine. I have done so so that I would not have confusion due to different compilers. I think that there is a problem with the manner in which I compile Python or compile

[Zope] roles argument to validate/ authorize

2005-12-08 Thread Gaute Amundsen
Can anyone tell me what the argument roles to the methods validate and authorize is supposed to be? This is sort of a followup to the thread about exUserFolder that Andrew Milton got stuck answering all on his own (thanks :-), but I have a feeling there is a more general explanation... The

Re: [Zope] Zope refusing to serve our large files (180M+)

2005-12-08 Thread Dieter Maurer
Chris Wilton wrote at 2005-12-8 17:58 +0200: Sure someone's probably come across something similar, but I couldn't find anything in the archives: our zope is refusing to allow download of files greater than around 170M through the http server. We already served larger files via

Re: [Zope] Erase acl_users

2005-12-08 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2005-12-7 20:14 +0100: I have a problem. I erase object acl_users in root directory and now I can´t login in zope. Zope have site error on http://locahost:8080/ An error was encountered while publishing this resource. Error Type: AttributeError Error Value: acl_users

Re: [Zope] Broken Pipe Error

2005-12-08 Thread Asad Habib
Hi Dieter. Thanks for the input. Why would the reader die, though? I am running Mac OS X Tiger, if that helps any. Thanks. - Asad On Thu, 8 Dec 2005, Dieter Maurer wrote: Asad Habib wrote at 2005-12-7 16:47 -0500: I am using Maik Jablonski's python script to convert from html to pdf in

[Zope] TextIndexNG3 clears on restart?

2005-12-08 Thread Dan Pozmanter
Is this a known issue? Any TextIndexNG3 indexes I create clear on restart, and do not repopulate. ___ Daniel PozmanterSiteworx, Inc. "Festina Lente" - Gaius Julius ___ Zope maillist - Zope@zope.org

Re: [Zope] TextIndexNG3 clears on restart?

2005-12-08 Thread Andreas Jung
--On 8. Dezember 2005 15:40:10 -0500 Dan Pozmanter [EMAIL PROTECTED] wrote: Is this a known issue? Any TextIndexNG3 indexes I create clear on restart, and do not repopulate Proof it. -aj pgplrUPGYmocT.pgp Description: PGP signature ___ Zope

RE: [Zope] TextIndexNG3 clears on restart?

2005-12-08 Thread Dan Pozmanter
I guess that's a no, this is not a known issue. I'll look into this further, just checking to see if someone had been down this path before. ___ Daniel Pozmanter Siteworx, Inc. Festina Lente - Gaius Julius -Original Message- From: Andreas Jung [mailto:[EMAIL PROTECTED]

RE: [Zope] TextIndexNG3 clears on restart?

2005-12-08 Thread Dan Pozmanter
Ok, here are steps to reproduce: Ingredients: 1 copy of TextIndexNG3, with appropriate files edited for non plone usage. 1 copy of zope, sans plone, cmf. run this on either freebsd or windows. Steps: 1. Add a Zcatalog. 2. Add one ZCTextIndex (say, index on id or title). 3. Add one

RE: [Zope] TextIndexNG3 clears on restart?

2005-12-08 Thread Dan Pozmanter
Changing the storage from default to term_frequencies seems to fix the problem. ___ Daniel Pozmanter Siteworx, Inc. Festina Lente - Gaius Julius -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Pozmanter Sent: Thursday, December 08,

[Zope] ZSQL batching with dtml-in

2005-12-08 Thread Ed Colmar
Do ZSQL methods communicate with the dtml-in call and understand the size attribute? for example, in this dtml-in statement: dtml-in SQL_get_large_list size=20 start=query_start /dtml-in Will the database be queried for all results, and only have 20 displayed, or will the database just return

Re: [Zope] ZSQL batching with dtml-in

2005-12-08 Thread David H
Ed Colmar wrote: Do ZSQL methods communicate with the dtml-in call and understand the size attribute? for example, in this dtml-in statement: dtml-in SQL_get_large_list size=20 start=query_start /dtml-in Will the database be queried for all results, and only have 20 displayed, or will the

Re: [Zope] ZSQL batching with dtml-in

2005-12-08 Thread Tino Wildenhain
Am Donnerstag, den 08.12.2005, 13:46 -0800 schrieb Ed Colmar: Do ZSQL methods communicate with the dtml-in call and understand the size attribute? Not really. for example, in this dtml-in statement: dtml-in SQL_get_large_list size=20 start=query_start /dtml-in Will the database be

[Zope] Zope Foundation IRC - Reminder #2

2005-12-08 Thread Rob Page
Hello everyone: I wanted to send a final reminder about the upcoming IRC to discuss the formation of the Zope Foundation. Hope to see you there! o IRC: We have scheduled the following IRCs to discuss the docs in real time: Who: Zope Community What: IRC to discuss

[Zope] Re: roles argument to validate authorize

2005-12-08 Thread Andrew Milton
+---[ Gaute Amundsen ]-- | | Can anyone tell me what the argument roles to the methods validate and | authorize is supposed to be? Roles should be the list of roles required for access. If no roles are passed the security mechanism is supposed to query the object for

Re: [Zope] resolving conflict errors

2005-12-08 Thread Dennis Allison
On Fri, 14 Oct 2005, Chris McDonough wrote: Dennis Allison asked: What data does Zope store in the ZODB when an object is evaluated? None that you don't tell it to. Typically conflict errors are a result of two threads calling code which changes the same object at the same time, but

Re: [Zope] resolving conflict errors

2005-12-08 Thread Chris McDonough
On Dec 8, 2005, at 9:29 PM, Dennis Allison wrote: On Fri, 14 Oct 2005, Chris McDonough wrote: The problem I am trying to resolve appears to be load related. The observed symptom is that (some) session variables spontaneously disappear. There appears to be some connection to conflicts, but

RE: [Zope] TextIndexNG3 clears on restart?

2005-12-08 Thread Andreas Jung
--On 8. Dezember 2005 16:25:16 -0500 Dan Pozmanter [EMAIL PROTECTED] wrote: Changing the storage from default to term_frequencies seems to fix the problem. Nothing I can reproduce...it works perfectly independent of the used storage or stemmer settings. -aj pgpcjS94K9Cid.pgp Description:

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-08 Thread Roman Susi
Chris Withers wrote: Roman Susi wrote: Even if it is in my code, it is still too bad to get down the whole Zope server. Also, it was confirmed as a bug. Where and who by? At Zope.org issue tracker by ajung. However, it is not seen as it is security related. Chris

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-08 Thread Andreas Jung
--On 9. Dezember 2005 08:04:04 +0200 Roman Susi [EMAIL PROTECTED] wrote: Chris Withers wrote: Roman Susi wrote: Even if it is in my code, it is still too bad to get down the whole Zope server. Also, it was confirmed as a bug. Where and who by? At Zope.org issue tracker by ajung.

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-integration/ integrate Z3 ZPT into Z2

2005-12-08 Thread Andreas Jung
Log message for revision 40643: integrate Z3 ZPT into Z2 Changed: A Zope/branches/ajung-zpt-integration/ -=- Copied: Zope/branches/ajung-zpt-integration (from rev 40642, Zope/trunk) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

Re: [Zope-Checkins] SVN: Zope/branches/ajung-zpt-integration/ integrate Z3 ZPT into Z2

2005-12-08 Thread Jim Fulton
That was quick. Go Andreas! Andreas Jung wrote: Log message for revision 40643: integrate Z3 ZPT into Z2 Changed: A Zope/branches/ajung-zpt-integration/ -=- Copied: Zope/branches/ajung-zpt-integration (from rev 40642, Zope/trunk) ___

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-integration/lib/python/Products/ZPT/ quick'n dirty Z3 ZPT integration, we can edit and render....

2005-12-08 Thread Andreas Jung
Log message for revision 40645: quick'n dirty Z3 ZPT integration, we can edit and render Changed: U Zope/branches/ajung-zpt-integration/lib/python/Products/ZPT/ZPT.py U Zope/branches/ajung-zpt-integration/lib/python/Products/ZPT/www/ptAdd.zpt U

[Zope-dev] Re: zLOG deprecation?

2005-12-08 Thread Chris Withers
Philipp von Weitershausen wrote: See below :). Of course, you don't have to deprecate zLOG instantly. How else do you stop people still following the old patterns ;-) I'm happy to sign up for this, but can't promise when it'll happen... So let's schedule it for Zope 2.10 then :). OK, I

Re: [Zope-dev] Tracking long-running requests

2005-12-08 Thread Chris Withers
Sidnei da Silva wrote: On Wed, Dec 07, 2005 at 10:13:36PM +0100, Dieter Maurer wrote: | And, as we speak about replacing Zope2's ZPublisher | by Zope3's Publisher, the old Zope2 ZPublisher will | probably not grow such hooks any more -- but hopefully, | the Zope3 Publisher will signal

Re: [Zope-dev] Tracking long-running requests

2005-12-08 Thread Sidnei da Silva
On Thu, Dec 08, 2005 at 09:23:47AM +, Chris Withers wrote: | Sidnei da Silva wrote: | On Wed, Dec 07, 2005 at 10:13:36PM +0100, Dieter Maurer wrote: | | And, as we speak about replacing Zope2's ZPublisher | | by Zope3's Publisher, the old Zope2 ZPublisher will | | probably not grow such hooks

[Zope-dev] Zope tests: 8 OK

2005-12-08 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Wed Dec 7 12:01:01 2005 UTC to Thu Dec 8 12:01:01 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Wed Dec 7 22:13:24 EST

[Zope-dev] Logging changes in ZEO break zeoup.py

2005-12-08 Thread Jens Vagelpohl
Hi all, In Zope 2.7 I'm using zeoup.py to check on a ZEO server. This script can be run from anywhere as long as the PYTHONPATH is set correctly. For Zope 2.8.4, the ZEO logging has been switched to use the logging module. This leads to an error when running zeoup.py now: CRITICAL -

Re: [Zope-dev] Logging changes in ZEO break zeoup.py

2005-12-08 Thread Tim Peters
[Jens Vagelpohl] In Zope 2.7 I'm using zeoup.py to check on a ZEO server. This script can be run from anywhere as long as the PYTHONPATH is set correctly. For Zope 2.8.4, the ZEO logging has been switched to use the logging module. This leads to an error when running zeoup.py now:

Re: [Zope-dev] Logging changes in ZEO break zeoup.py

2005-12-08 Thread Jens Vagelpohl
On 8 Dec 2005, at 22:57, Tim Peters wrote: To get unstuck quickly, try adding just this: import logging logging.basicConfig() That always helps me in a pinch, but I never understood why (neither why logging insists that you call _something_ before it will stop annoying you, nor why