Re: [Zope] Accessing CURRENT property
Alex Renier wrote: Hello, if I have a folder1 in a folder2 and my folder 1 has a certain property. If I want to know if folder2 has the property I use hasattr() method on folder2, but it returns true because it looks down the hierarchy and sees the property in folder1. is there a way to check for the property in folder2 ONLY without checking the ancestor folders?. Thanks! __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zo context.aq_inner.aq_self ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Accessing CURRENT property
Hello, if I have a folder1 in a folder2 and my folder 1 has a certain property. If I want to know if folder2 has the property I use hasattr() method on folder2, but it returns true because it looks down the hierarchy and sees the property in folder1. is there a way to check for the property in folder2 ONLY without checking the ancestor folders?. Thanks! __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Presentations Available
On Mon, Oct 03, 2005, David H wrote: > > Thanks Bill, > I saw that in a few google hits but ... I figured that if a fair > population wants to view the presentations then the files should be in > a universal format - like pdf or rtf. > Its an interesting question: how many people who just wish to peruse > the files will feel compelled to google and download new apps just to > be able to read them? Given that I don't run the Microsoft virus, Windows, on anything, have OpenOffice.org on all our Linux and OS X systems, and that OpenOffice.org software is freely available, I don't see that it's a problem. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``I don't care how little your country is, you got a right to run it like you want to. When the big nations quit meddling, then the world will have peace.'' Will Rogers ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Presentations Available
Thanks Bill, I saw that in a few google hits but ... I figured that if a fair population wants to view the presentations then the files should be in a universal format - like pdf or rtf. Its an interesting question: how many people who just wish to peruse the files will feel compelled to google and download new apps just to be able to read them? All best, David Bill Campbell wrote: On Mon, Oct 03, 2005, David H wrote: Chris Withers wrote: Hi All, I finally got around to putting all my presentations online from the conferences over the last few years. The can now all be found at: http://www.simplistix.co.uk/presentations Have fun and let me know what you think! cheers, Chris Chris, I notice your presentation files have a ".sxi" file extension. Anyway to convert to something like pdfs? That's the native OpenOffice.org presentation format. B ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Presentations Available
On Mon, Oct 03, 2005, David H wrote: >Chris Withers wrote: > >>Hi All, >> >>I finally got around to putting all my presentations online from the >>conferences over the last few years. >> >>The can now all be found at: >> >>http://www.simplistix.co.uk/presentations >> >>Have fun and let me know what you think! >> >>cheers, >> >>Chris >> >Chris, > >I notice your presentation files have a ".sxi" file extension. Anyway >to convert to something like pdfs? That's the native OpenOffice.org presentation format. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Those who cast the vote decide nothing. Those who count the vote decide everything. (Joseph Stalin) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Presentations Available
Chris Withers wrote: Hi All, I finally got around to putting all my presentations online from the conferences over the last few years. The can now all be found at: http://www.simplistix.co.uk/presentations Have fun and let me know what you think! cheers, Chris Chris, I notice your presentation files have a ".sxi" file extension. Anyway to convert to something like pdfs? David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Presentations Available
Hi All, I finally got around to putting all my presentations online from the conferences over the last few years. The can now all be found at: http://www.simplistix.co.uk/presentations Have fun and let me know what you think! cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Zope restart fails
John Poltorak wrote: running 'sh zopectl start' appears to work but then Zope quickly falls over. try ./runzope and tell us what happens. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Are signs not supported as password characters?
Sorry for the typo. "Is signs ..." should be "Are signs ..." Also, this seems to occur if *any* characters of Manager's password are signs. OGURA Toshiyuki wrote: > Hello. > > I installed Zope 3.1.0 final on my Linux system. > I found that it seems that Zope fails to start if you specify sign > characters (not letters or numbers) as Manager's password. > Is this correct? > -- OGURA Toshiyuki ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Is signs not supported as password character?
Hello. I installed Zope 3.1.0 final on my Linux system. I found that it seems that Zope fails to start if you specify sign characters (not letters or numbers) as Manager's password. Is this correct? -- OGURA Toshiyuki ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope restart fails
On Mon, Oct 03, 2005 at 03:38:52PM -0400, Eric Banford wrote: > At 03:21 PM 10/3/2005, John Poltorak wrote: > >Following a server restart in the last couple of days I have been unable > >to get Zope started. > > > >Is there anything in particular I should check for? > > > >Until the reboot Zope had been running for months without a > >problem, although it may not have been stopped correctly before the > >reboot. Should I need to delete any lockfiles that may have been left in > >existance or should they get deleted on restart? > > Have you tried restarting via the C:\Plone 2\Data\bin\runzope.bat file? > This will open a command prompt and show you startup messages, including > any errors that cannot be resolved. I'm using a remote Unix system. running 'sh zopectl start' appears to work but then Zope quickly falls over. > Hope that help, > Eric -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope restart fails
Eric Banford said: > At 03:21 PM 10/3/2005, John Poltorak wrote: >>Following a server restart in the last couple of days I have been >> unable to get Zope started. >> >>Is there anything in particular I should check for? >> >>Until the reboot Zope had been running for months without a >>problem, although it may not have been stopped correctly before the >> reboot. Should I need to delete any lockfiles that may have been left >> in existance or should they get deleted on restart? > > Have you tried restarting via the C:\Plone 2\Data\bin\runzope.bat file? > This will open a command prompt and show you startup messages, including > any errors that cannot be resolved. Or, if you're on linux / unix, the equivalent is: path_to_your_instance/bin/runzope or, equivalently: path_to_your_instance/bin/zopectl fg -- Paul Winkler ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope restart fails
At 03:21 PM 10/3/2005, John Poltorak wrote: Following a server restart in the last couple of days I have been unable to get Zope started. Is there anything in particular I should check for? Until the reboot Zope had been running for months without a problem, although it may not have been stopped correctly before the reboot. Should I need to delete any lockfiles that may have been left in existance or should they get deleted on restart? Have you tried restarting via the C:\Plone 2\Data\bin\runzope.bat file? This will open a command prompt and show you startup messages, including any errors that cannot be resolved. Hope that help, Eric ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope restart fails
Following a server restart in the last couple of days I have been unable to get Zope started. Is there anything in particular I should check for? Until the reboot Zope had been running for months without a problem, although it may not have been stopped correctly before the reboot. Should I need to delete any lockfiles that may have been left in existance or should they get deleted on restart? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope3-dev] Zope 3.1.0 released!
Stephan Richter wrote: Hello everyone, The Zope 3 development team is proud to announce Zope 3.1.0 final. Zope 3 is the next major Zope release and has been written from scratch based on the latest software design patterns and the experiences of Zope 2. It is in our opinion that Zope 3.1 is more than ready for production use, which is why we decided to drop the 'X' for experimental from the name. We will also continue to work on making the transition between Zope 2 and Zope 3 as smooth as possible. As a first step, Zope 2.8 includes Zope 3 features in the form of Five. Now that we have a release that we would like to declare stable next week, we are looking for translators, who translate Zope 3 into their favorite language! We are utilizing the Rosetta system from Ubuntu for managing those translations. If you are not familiar with Rosetta, please send us a mail to zope3-dev@zope.org and we get you set up. Downloads http://zope.org/Products/Zope3/ This URL is incorrect. The correct URL is: http://zope.org/Products/Zope3 (no trailing slash) Sorry about the confusion. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope3-dev] Re: [Zope] Zope 3.1.0 released!
>> http://zope.org/Products/Zope3/ [Reinoud van Leeuwen] > Is it intended that one should login before being able to access that > page? Not intended, and logging in may not help either. Try it with and without the trailing slash: http://zope.org/Products/Zope3/ or http://zope.org/Products/Zope3 At the moment, the latter "works" for me but the former doesn't. During the time I was uploading the Windows installers for 3.1.0 (within the last hour), it's possible that login was _required_ before the UI let me "publish" them. Sometimes Software Release pages get into that state, refusing to let anonymous visitors view them so long as any "private" items remain. That's not a possible factor anymore (all items on the page are "published" now). During the upload process, I had the same ongoing problems with getting back "login is required" pages at seemingly random times despite that I was logged in the whole time. Chopping or adding a trailing slash often worms around that, and whether or not you're logged in. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZEO client authentication
Am Montag, 3. Oktober 2005 14:44 schrieb Mika, David P (Research): > I see that ZEO supports a simple digest authenitcation of clients and that > this is set in the zeo's config file with the keys: > authentication-protocol, authentication-database and authentication-realm. > > Further, I can see that a client can connect using e.g. ZEO.ClientStorage > with arguments for a userid & password (set in the ZEO authentication > database). However, how does one configure Zope (as a client to the ZEO > server) to use this authentication? I see nothing in the Zope config file. > Somehow Zope must be able to pass a valid userid and password in the > authentication database to ZEO. > > Dave Hi Dave, this might help, although it's not written by me so I'm not 100% sure that I've picked up everything: small patch to lib/python/ZODB: --- config.py(revision 37730) +++ config.py(working copy) @@ -150,7 +150,10 @@ max_disconnect_poll=self.config.max_disconnect_poll, wait=self.config.wait, read_only=self.config.read_only, -read_only_fallback=self.config.read_only_fallback) +read_only_fallback=self.config.read_only_fallback, +username=self.config.username, +password=self.config.password, +realm=self.config.realm) class BDBStorage(BaseConfig): Index: component.xml === --- component.xml(revision 37730) +++ component.xml(working copy) @@ -132,6 +132,16 @@ read_only_fallback should be true. + + +The authentication username of the server. + + + + +The authentication password of the server. + + The authentication realm of the server. Some authentication something like this in your zeo.conf section: ... authentication-protocol digest authentication-database $INSTANCE/etc/auth.db authentication-realm your_realm ... obviously, a username/password in $INSTANCE/etc/auth.db (ZEO instance, that is): $ cat /mnt/zope/ZEOHome/etc/auth.db realm your_realm your_username: your_crypted_password and something like this in your zope.conf: mount-point / cache-size 1 server localhost:1234 username your_username password your_cleartext_password ... ... now, I'm not sure how to create the encrypted password, I guess zpasswd.py will help. Good luck, Sascha -- Gallileus - the power of knowledge Gallileus GmbH http://www.gallileus.info/ Pintschstraße 16 fon +49-(0)30-41 93 43 43 10249 Berlin fax +49-(0)30-41 93 43 45 Germany ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Zope 3.1.0 released!
Reinoud van Leeuwen wrote: On Sun, Oct 02, 2005 at 03:26:56PM -0400, Stephan Richter wrote: Downloads http://zope.org/Products/Zope3/ Is it intended that one should login before being able to access that page? Hi Reinoud, we are investigating that problem atm. Anonymous access to that folder is working -- except not for everyone :( In the meantime try to access the folder through its folder_contents listing, like: http://www.zope.org/Products/Zope3/folder_contents Michael -- http://zope.org/Members/d2m http://planetzope.org ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope 3.1.0 released!
On Sun, Oct 02, 2005 at 03:26:56PM -0400, Stephan Richter wrote: > > Downloads > > http://zope.org/Products/Zope3/ Is it intended that one should login before being able to access that page? -- __ "Nothing is as subjective as reality" Reinoud van Leeuwen[EMAIL PROTECTED] http://www.xs4all.nl/~reinoud __ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] ZEO client authentication
I see that ZEO supports a simple digest authenitcation of clients and that this is set in the zeo's config file with the keys: authentication-protocol, authentication-database and authentication-realm. Further, I can see that a client can connect using e.g. ZEO.ClientStorage with arguments for a userid & password (set in the ZEO authentication database). However, how does one configure Zope (as a client to the ZEO server) to use this authentication? I see nothing in the Zope config file. Somehow Zope must be able to pass a valid userid and password in the authentication database to ZEO. Dave ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )