Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-09 Thread Lennart Regebro
On Thu, Dec 9, 2010 at 07:52, Dan Gaibel wrote: > So OS X Server Snow Leopard comes with Python 2.6.1. Is there any > reason to think that this Python version would cause problems with > Zope 2.8.6? Yes, that would cause problems. > We have had nice stability with Python 2.3.5. Either way, > is

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-09 Thread Richard Harley
I think earlier than Zope 2.12 python 2.4 is mandatory.. don't quote me on that :) On 09/12/10 06:52, Dan Gaibel wrote: > So OS X Server Snow Leopard comes with Python 2.6.1. Is there any > reason to think that this Python version would cause problems with > Zope 2.8.6? We have had nice stability

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-08 Thread Dan Gaibel
So OS X Server Snow Leopard comes with Python 2.6.1. Is there any reason to think that this Python version would cause problems with Zope 2.8.6? We have had nice stability with Python 2.3.5. Either way, is Zope 2.8.7 a significantly better choice than 2.8.6? On Dec 8, 2010, at 8:22 AM, Rich

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-08 Thread Richard Harley
Dan - we are using 64bit Zope 2.8.7 and python 2.4 with no problems for years now. It can do everything we want with regards to Python scripting, database connectivity etc. I can't think of any huge problems with staying on Zope 2.8.6/7 era. I have said before 2.10+ breaks lots of products that

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-08 Thread Peter Bengtsson
We're running several perfectly working 2.8 Zopes. They've been very stable. Annoying that Ubuntu insists on making Python 2.4 hard to install but for some of the servers we've changed back to Debian. On 7 December 2010 16:58, Dan Gaibel wrote: > Good advice here, thanks! Is it a big mistake to s

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-07 Thread Dan Gaibel
Good advice here, thanks! Is it a big mistake to stay at Zope 2.8.6? The server has been very stable for years, apparently. What are the downfalls of not upgrading all the way past 2.10? On Dec 7, 2010, at 2:40 PM, Andrew Milton wrote: > +---[ Tres Seaver ]-- > | -BE

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-07 Thread Andrew Milton
+---[ Tres Seaver ]-- | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | On 12/07/2010 01:18 PM, Dan Gaibel wrote: | | > I have recently inherited the responsibility of supporting a fairly | > complex web server running Zope 2.8.6 on Python 2.3.5. This | > configuration

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/07/2010 01:18 PM, Dan Gaibel wrote: > I have recently inherited the responsibility of supporting a fairly > complex web server running Zope 2.8.6 on Python 2.3.5. This > configuration is currently on a Linux (Fedora Core) server and I > would li

Re: [Zope] question about copyng btree elements

2009-12-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuri wrote: > Hi! > > I've a Zope BTree called answers. It contains PersistentMapping objects: > > self.answers[userid] = PersistentMapping(value=value, > comments=comments) > > value can be a string,

Re: [Zope] Question about ZSyncer

2009-07-22 Thread Paul Winkler
That is supposed to work, if you enable the "relative paths" option. In fact, that was how I did most of my testing when I added that feature. But I don't work on ZSyncer at all anymore. If it doesn't work, I can't really help. - PW On Wed, Jul 22, 2009 at 6:20 AM, Ajay Deshpande wrote: > Hi Al

Re: [Zope] Question about URL lookups

2008-12-29 Thread Jeff Peterson
Script (Python) has a feature called "traverse_subpath" (you can rename in under the "bindings" tab, but why?) that may do what you want. Given domain.com/[script name]/L-Fredericksburg/S-VA/C-Plumbing: request.traverse_subpath should contain ['L-Fredericksburg', 'S-VA', 'C-Plumbing'] There ma

Re: [Zope] Question about Roles

2008-08-05 Thread Allen Schmidt Sr.
That worked perfectly. Thanks Matt! Allen Behrens Matt - Grand Rapids wrote: You need to check to see if said user has that role on the object in question. getRoles is only going to show you roles assigned in the User Folder, not local roles. This code is doing a similar thing on my site, wi

RE: [Zope] Question about Roles

2008-08-05 Thread Behrens Matt - Grand Rapids
You need to check to see if said user has that role on the object in question. getRoles is only going to show you roles assigned in the User Folder, not local roles. This code is doing a similar thing on my site, with a different role: -Original Message- From: [EMAIL PROTECTED] [mailt

Re: [Zope] Question about dot in method name

2008-03-26 Thread stéphane bard
thx sascha i already imagine a setattr could solve the problem, but i didn't test it at the real end of any other declaration. thank's for this tip ! hop you get nice weather in athen 2008/3/26, Sascha Welter <[EMAIL PROTECTED]>: > > (Tue, Mar 25, 2008 at 09:36:49PM +0100) bard st?phane > wrote/sc

Re: [Zope] Question about dot in method name

2008-03-26 Thread Sascha Welter
(Tue, Mar 25, 2008 at 09:36:49PM +0100) bard st?phane wrote/schrieb/egrapse: > hi every body i'm changing a very old zclass product. > In this zclass i declare a python script with this name "mydoc.xls" > this script return an xls file with an argument > > now i'm writing a zope2 product. How can

Re: [Zope] Question about dot in method name

2008-03-25 Thread Martijn Jacobs
Maybe a simple solution : Do you use apache as a frontend for your zope? If you do you can rewrite the incoming url's for example like this : RewriteEngine On RewriteRule ^/folder/mydoc.xls(.*) http://localhost:8080/VirtualHostBase/http/myIntranet/object_in_zope/VirtualHostRoot/mydoc_xls$1

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
David H wrote: Erik Myllymaki wrote: David H wrote: Jonathan wrote: - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages a

Re: [Zope] question on URL styling

2006-09-11 Thread David H
Erik Myllymaki wrote: David H wrote: Jonathan wrote: - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directo

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
David H wrote: Jonathan wrote: - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directory. The page templates a

Re: [Zope] question on URL styling

2006-09-11 Thread David H
Jonathan wrote: - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.h

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
Andreas Jung wrote: --On 11. September 2006 09:33:39 -0700 Erik Myllymaki <[EMAIL PROTECTED]> wrote: I'm trying this out and it seems to be working: request.RESPONSE.redirect(context[next_page].absolute_url()) is this the *correct* way to do it? Basically yes. But it is bad practice

Re: [Zope] question on URL styling

2006-09-11 Thread Andreas Jung
--On 11. September 2006 09:33:39 -0700 Erik Myllymaki <[EMAIL PROTECTED]> wrote: I'm trying this out and it seems to be working: request.RESPONSE.redirect(context[next_page].absolute_url()) is this the *correct* way to do it? Basically yes. But it is bad practice to perform redirections

Re: [Zope] question on URL styling

2006-09-11 Thread Erik Myllymaki
I'm trying this out and it seems to be working: request.RESPONSE.redirect(context[next_page].absolute_url()) is this the *correct* way to do it? Erik Myllymaki wrote: I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.html, page-

Re: [Zope] question on URL styling

2006-09-11 Thread Jonathan
- Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directory. The page templates are called page-1.html, page-2.html, .

Re: [Zope] Question of ZPL etiquette

2006-08-08 Thread David Pratt
Hi Andreas. I had interpreted that the header information was satisfying the requirement to identify changes for 5. If any files are modified, you must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. Since I am under version

Re: [Zope] Question of ZPL etiquette

2006-08-07 Thread Andreas Jung
--On 8. August 2006 00:53:09 -0300 David Pratt <[EMAIL PROTECTED]> wrote: Hi. I am trying to get a better sense of how others are dealing with ZPL headers in code from original authors once changes are made. For example if a package is ZPL copyright somebody, I typically see a header at the

Re: [Zope] question on simple_send in MailHost

2006-07-19 Thread Tino Wildenhain
Andreas Jung wrote: --On 18. Juli 2006 21:55:36 -1000 John Schinnerer <[EMAIL PROTECTED]> wrote: Aloha, I did try send() - it seems one must know something about RFC822 message formatting to use it...? I know nothing about that, and could not quickly find any clear and concise howtos or tu

Re: [Zope] question on simple_send in MailHost

2006-07-19 Thread Andreas Jung
--On 18. Juli 2006 21:55:36 -1000 John Schinnerer <[EMAIL PROTECTED]> wrote: Aloha, I did try send() - it seems one must know something about RFC822 message formatting to use it...? I know nothing about that, and could not quickly find any clear and concise howtos or tutorials, just verbose

Re: [Zope] question on simple_send in MailHost

2006-07-19 Thread John Schinnerer
Aloha, I did try send() - it seems one must know something about RFC822 message formatting to use it...? I know nothing about that, and could not quickly find any clear and concise howtos or tutorials, just verbose and confusing specs and mailing list posts and so on. I tried using send() wi

Re: [Zope] question on simple_send in MailHost

2006-07-19 Thread Andreas Jung
--On 18. Juli 2006 21:23:59 -1000 John Schinnerer <[EMAIL PROTECTED]> wrote: Aloha, Thanks all for the suggestions...for the time being I can do what I need by sending to only one address. It was trying to test the send by sending to multiple addresses (mine and others') that brought this o

Re: [Zope] question on simple_send in MailHost

2006-07-19 Thread John Schinnerer
Aloha, Thanks all for the suggestions...for the time being I can do what I need by sending to only one address. It was trying to test the send by sending to multiple addresses (mine and others') that brought this out... I will try a list next time I need multiple addresses in the To: field. t

Re: [Zope] question on simple_send in MailHost

2006-07-17 Thread Jonathan
- Original Message - From: "John Schinnerer" <[EMAIL PROTECTED]> To: Sent: Sunday, July 16, 2006 11:49 PM Subject: [Zope] question on simple_send in MailHost Aloha, The Zope (2.7.5) API docs for MailHost show this for simple_send: -- simple_send(self, mto, mfrom, subje

Re: [Zope] question on simple_send in MailHost

2006-07-17 Thread knitti
On 7/17/06, Andreas Jung <[EMAIL PROTECTED]> wrote: Put this in the bugtracker...otherwise it will be lost. will do on one of the next days... --knitti ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] question on simple_send in MailHost

2006-07-17 Thread Andreas Jung
Put this in the bugtracker...otherwise it will be lost. -aj --On 17. Juli 2006 11:29:07 +0200 knitti <[EMAIL PROTECTED]> wrote: On 7/17/06, John Schinnerer <[EMAIL PROTECTED]> wrote: The Zope (2.7.5) API docs for MailHost show this for simple_send: -- simple_send(self, mto, mfrom

Re: [Zope] question on simple_send in MailHost

2006-07-17 Thread knitti
i'd like to mention that I didn't test that code --knitti ___ 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 htt

Re: [Zope] question on simple_send in MailHost

2006-07-17 Thread knitti
On 7/17/06, John Schinnerer <[EMAIL PROTECTED]> wrote: The Zope (2.7.5) API docs for MailHost show this for simple_send: -- simple_send(self, mto, mfrom, subject, body): Sends a message. Only To:, From: and Subject: headers can be set. The arguments are: mto A co

Re: [Zope] Question about Zope and security

2006-04-01 Thread Dieter Maurer
Cyrille Bonnet wrote at 2006-3-30 14:43 +1200: > ... >I did find Dieter Mauer's DigestAuth product: >http://www.dieter.handshake.de/pyprojects/zope/#DigestAuth > >It looks good. I have used other produts from Dieter before and was very >pleased with the quality of his code. > >Now, have other peo

Re: [Zope] Question about Zope and security

2006-03-30 Thread Andrew Milton
+---[ bruno desthuilliers ]-- | Cyrille Bonnet wrote: | > Hi there, | > | > I have been telling all my clients about how great Zope is for security: | > fine-grained permissions, security framework, roles, etc. | > | > Now, one of my clients has a security expert who took

Re: [Zope] Question about Zope and security

2006-03-30 Thread bruno desthuilliers
Cyrille Bonnet wrote: > Hi there, > > I have been telling all my clients about how great Zope is for security: > fine-grained permissions, security framework, roles, etc. > > Now, one of my clients has a security expert who took a close look at > how Zope authenticates users. The results were not

Re: [Zope] Question about Zope and security

2006-03-29 Thread Lennart Regebro
On 3/30/06, Cyrille Bonnet <[EMAIL PROTECTED]> wrote: > The main problem is that Zope stores the username and password in a > cookie in clear text (base64 encoded). As mentioned before, Zope doesn't, but CookieCrumbler (and hence Plone) does. And, the security expert is not much of a security expe

Re: [Zope] Question about Zope and security

2006-03-29 Thread Tino Wildenhain
Cyrille Bonnet wrote: > Hi there, > > I have been telling all my clients about how great Zope is for security: > fine-grained permissions, security framework, roles, etc. > > Now, one of my clients has a security expert who took a close look at > how Zope authenticates users. The results were not

Re: [Zope] Question about Zope and security

2006-03-29 Thread Terry Hancock
Cyrille Bonnet wrote: The main problem is that Zope stores the username and password in a cookie in clear text (base64 encoded). Even though it only happens in their internal network, my client wasn't too happy, because it makes them vulnerable to a man-in-the-middle attack. I know, the od

Re: [Zope] question: upload files to folder AND database

2006-03-08 Thread Andrew Milton
+---[ Olivier Wambacq ]-- | hello, | | is it possible to upload files in plone, using a form (like the form in | plonelocalfolderNG) AND sending a url to that file + additional information | to a database using popy connection? | | I can upload files using plonelocalfolder

Re: [Zope] question for anyone using apache on windows

2005-12-22 Thread michael nt milne
ok will do. Just that alot of people have apache experience on this list and I've got some really good help from it.On 12/21/05, Chris Withers < [EMAIL PROTECTED]> wrote:I'm sure there's an Apache list you could be asking these questions, this has nothing to do with Zope.#apache on irc.freenode.net

Re: [Zope] question for anyone using apache on windows

2005-12-21 Thread Chris Withers
I'm sure there's an Apache list you could be asking these questions, this has nothing to do with Zope. #apache on irc.freenode.net is where I'd go ;-) Chris michael nt milne wrote: Hi Ok so I looked at this stuff but can't find anything listed for point 3. Also I had to set Plone to listen o

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread michael nt milne
HiOk so I looked at this stuff but can't find anything listed for point 3. Also I had to set Plone to listen on 8080 within its config file and now get Apache for my Plone domains. However they won't re-direct to the right site within the Plone installation. I've achieved this on Unix with the virt

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread michael nt milne
ok, i simply downloaded the Apache 2.0.55 release for Windoes from Apache. Thre RewriteEngine is set to on in the httpd.conf. God knows why the module wouldn't be available in the distribution. Do you know any documentation on how to install on module at all? The unix version comes with it by defau

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread Andreas Jung
Likely the rewrite module isn't loaded (check the corresponding LoadModule statements of your configuration). -aj --On 19. Dezember 2005 16:33:59 + michael nt milne <[EMAIL PROTECTED]> wrote: Does RewriteEngine work on Apache for Windows 2.0.5 ? I'm getting the following.. Syntax e

Re: [Zope] question for anyone using apache on windows

2005-12-19 Thread Jens Vagelpohl
On 19 Dec 2005, at 16:33, michael nt milne wrote: Does RewriteEngine work on Apache for Windows 2.0.5 ? I'm getting the following.. Syntax error on line 960 of C:/Program Files/Apache Group/Apache2/ conf/httpd.con f: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a

Re: [Zope] Question about Stepper

2005-11-30 Thread Chris Withers
Jens Vagelpohl wrote: Pardon my stupidity but is Chris Withers' Stepper the right thing for me...? yes What he said ;-) The call to sendAllUnsent() I would prefer if it was done asyncronously in case it takes several seconds. I could accomplish this by having a cron job calling it every

Re: [Zope] Question about Stepper

2005-11-29 Thread Jens Vagelpohl
On 29 Nov 2005, at 11:12, Peter Bengtsson wrote: Pardon my stupidity but is Chris Withers' Stepper the right thing for me...? yes The call to sendAllUnsent() I would prefer if it was done asyncronously in case it takes several seconds. I could accomplish this by having a cron job calling

Re: [Zope] question about Zope capabilities

2005-11-17 Thread Andrew Langmead
On Nov 17, 2005, at 9:38 AM, Jonathan wrote: A less quick and less dirty solution could be to create several templates (each with different layouts) and serve them up at random. Instead of at random, maybe based on certain conditions of the object being displayed. It may take some time to c

Re: [Zope] question about Zope capabilities

2005-11-17 Thread Jonathan
- Original Message - From: "Paul Winkler" <[EMAIL PROTECTED]> To: Sent: Thursday, November 17, 2005 9:25 AM Subject: Re: [Zope] question about Zope capabilities On Wed, Nov 16, 2005 at 10:56:34PM -0600, Terry Hancock wrote: On Wed, 16 Nov 2005 16:49:47 -0800 Rich

Re: [Zope] question about Zope capabilities

2005-11-17 Thread Paul Winkler
On Wed, Nov 16, 2005 at 10:56:34PM -0600, Terry Hancock wrote: > On Wed, 16 Nov 2005 16:49:47 -0800 > Rich Robinson <[EMAIL PROTECTED]> wrote: > > At this point, the site is great for managing content via > > the database. However, as far as I can see pretty much > > all the content needs to fit

Re: [Zope] question about Zope capabilities

2005-11-16 Thread Terry Hancock
On Wed, 16 Nov 2005 16:49:47 -0800 Rich Robinson <[EMAIL PROTECTED]> wrote: > At this point, the site is great for managing content via > the database. However, as far as I can see pretty much > all the content needs to fit into templates, with the > result that there appears to be little room

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-28 Thread Chris Withers
Gary wrote: I don't know how the URL got out. But the web-bots are having so much fun with my website right now. :( They are indexing everything for the wrong virtual host. Maybe robot.txt will stop them. Ah yes, a rewrite rule in your front end server should fix this, robots.txt _should_ help

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread J Cameron Cooper
Gary wrote: Hi, How do I stop acquisition at the root of my website? If I have two websites in zope, and I set the virtual host mapping to www.sitea.com/websites/SiteA www.siteb.com/websites/SiteB I don't want my users

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread Gary
On 10/27/05, David H <[EMAIL PROTECTED]> wrote: Gary wrote: On 10/27/05, Chris Withers <[EMAIL PROTECTED]> wrote: Gary wrote: > How do I stop acquisition at the root of my website? > If I have two websites in zope, and I set the virtual host mapping to > www.sitea.com/websites/SiteA

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread David H
Gary wrote: On 10/27/05, Chris Withers <[EMAIL PROTECTED]> wrote: Gary wrote: > How do I stop acquisition at the root of my website? > If I have two websites in zope, and I set the virtual host mapping to > www.sitea.com/websites/SiteA > www.siteb

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread Gary
On 10/27/05, Chris Withers <[EMAIL PROTECTED]> wrote: Gary wrote:> How do I stop acquisition at the root of my website?> If I have two websites in zope, and I set the virtual host mapping to> www.sitea.com/websites/SiteA > www.siteb.com/websites/SiteB < http://

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread Chris Withers
Gary wrote: How do I stop acquisition at the root of my website? If I have two websites in zope, and I set the virtual host mapping to www.sitea.com/websites/SiteA www.siteb.com/websites/SiteB I don't want my users to ge

Re: [Zope] Question: What Workflow tool to choose?

2005-10-24 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > > > --On 21. Oktober 2005 12:18:31 -0400 Robert Boyd > <[EMAIL PROTECTED]> wrote: > >> I've been tasked with rapidly developing a demo for a proposed workflow >> application using Zope. I have plenty of CMF experience including

Re: [Zope] Question: What Workflow tool to choose?

2005-10-21 Thread Andreas Jung
--On 21. Oktober 2005 12:18:31 -0400 Robert Boyd <[EMAIL PROTECTED]> wrote: I've been tasked with rapidly developing a demo for a proposed workflow application using Zope. I have plenty of CMF experience including customized workflows based on DCWorkflow, but I'm wondering what other workflo

RE: [Zope] Question about zserver-threads.

2005-07-29 Thread Pascal Peregrina
Thanks a lot. And be sure I know it's not magic "go fast" button :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jens Vagelpohl Sent: 29 July 2005 10:48 To: zope list user Subject: Re: [Zope] Question about zserver-threads. On 29 Jul

Re: [Zope] Question about zserver-threads.

2005-07-29 Thread Jens Vagelpohl
On 29 Jul 2005, at 10:43, Pascal Peregrina wrote: If I have an http-server, ftp-server and webdqv-source-server and if my global zserver-threads param is set to 10, does it mean : a)The the max number of http-server + ftp-server + webdav-source- server threads will be 10 ? b)The max number o

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
How you get to the page is irrelevant. I don't care if you redirect there or type in the url or click a link. On 7/19/05, Erik Myllymaki <[EMAIL PROTECTED]> wrote: > I am using DTML only because I am using the excellent Calendar tag product. > > sometimes, the links on the calendar tag get affect

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
I am using DTML only because I am using the excellent Calendar tag product. sometimes, the links on the calendar tag get affected by from variables so as a hack i re-write the QUERY_STRING using: request.RESPONSE.redirect(request['URL'] + '?mode-calendar=' + request['mode-calendar'] + '&date-

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
On 7/19/05, Erik Myllymaki <[EMAIL PROTECTED]> wrote: > I don't get a traceback, i just get error and message back as empty strings; > their initiallized value. > So you're not getting an error. What is the initialized value? Is 'error' and 'message' set in REQUEST? (that you can find out from d

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
I don't get a traceback, i just get error and message back as empty strings; their initiallized value. very strange. Peter Bengtsson wrote: On 7/19/05, Erik Myllymaki <[EMAIL PROTECTED]> wrote: I use the following template often. When using a page template for my MAIN page, I access the er

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
On 7/19/05, Erik Myllymaki <[EMAIL PROTECTED]> wrote: > I use the following template often. When using a page template for my MAIN > page, > I access the error and message vars with: > > Error message > Reg. Message > > How would I access them when I use a dtml-method for my MAIN page? > and d

Re: [Zope] question about login

2005-05-12 Thread Phillip Hutchings
On 13/05/05, Chris Withers <[EMAIL PROTECTED]> wrote: > Phillip Hutchings wrote: > > On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > > > >>Another option is to look at the other User Folder products which > >>do things differently. Alternatively, you could modify the > >>CookieCrumbler pr

Re: [Zope] question about login

2005-05-12 Thread Chris Withers
Phillip Hutchings wrote: On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> wrote: Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model. I've used exUserFolder before, it can store

Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > > Another option is to look at the other User Folder products which > do things differently. Alternatively, you could modify the > CookieCrumbler product to make it fit your model. I've used exUserFolder before, it can store info in the se

Re: [Zope] question about login

2005-05-02 Thread Dennis Allison
Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model. On Tue, 3 May 2005, Phillip Hutchings wrote: > On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > > > > You mi

Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > > You might take a look at the CookieCrumbler product. It does pretty much > what you seem to want & manages much of the hard stuff. I was getting there ;) Though I don't really appreciate the way CookieCrumbler stores the passwords... --

Re: [Zope] question about login

2005-05-02 Thread Dennis Allison
You might take a look at the CookieCrumbler product. It does pretty much what you seem to want & manages much of the hard stuff. On Tue, 3 May 2005, Phillip Hutchings wrote: > On 03/05/05, u1207440 <[EMAIL PROTECTED]> wrote: > > I have created a login form an a few users in acl_users, both e

Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, u1207440 <[EMAIL PROTECTED]> wrote: > I have created a login form an a few users in acl_users, both exists in a > ordered folder > called conference. My login Form post to a login dtml method and login dtml > method > redirect me to another page. Even though the user exists and use

Re: [Zope] Question regarding changing Zope site to another distro

2005-04-22 Thread Jake
Hi Mario, This is my system for upgrading: http://zopezone.com/faq/1063992383 I have moved my Zope installation more than a few times from server to server and here are the basics. - Get the new installation up and running first, just plain Zope/Plone/CMF etc. You might want to start with a newe

Re: Potential PythonScript bug (was: Re: [Zope] question about manipulating zcatalog query results)

2005-04-04 Thread Ira Sher
Dieter, thanks. I'll take a look at that now. The folks at bug collection are unable to reproduce the bug on 2.7.5, though, and so we're trying to determine how else it might be occuring--Products would be my best guess, as the Product list has changed (many are obsolete or simply don't run on 2.7.

Potential PythonScript bug (was: Re: [Zope] question about manipulating zcatalog query results)

2005-04-04 Thread Dieter Maurer
Ira Sher wrote at 2005-4-3 13:32 -0700: > ... "NameError: global name _getiter_ not defined"... >if sorton == 'id': > res=[(row.id.split().pop(), row) for row in results] >res.sort() >return res > >This doesn't work, either, in zope 2.7.4 or 2.7.5 with python 2.3.4 >and 2.3.5 respectively, a

Re: [Zope] question about manipulating zcatalog query results

2005-04-03 Thread Ira Sher
Dieter, I actually put the list in because one of the last suggestions in the archives to repair the problem had to do with enclosing the assignment in a list. The original code was essentially: if sorton == 'id': res=[(row.id.split().pop(), row) for row in results] res.sort() return res T

Re: [Zope] question about manipulating zcatalog query results

2005-04-03 Thread Dieter Maurer
Ira Sher wrote at 2005-4-1 14:29 -0700: >I scoured the archives, and found mention of this problem, and a note >by you, Dieter saying it was a problem with the 2.7 beta (this was >back in May of 2004) but I can't find any subsequent mention of the >issue Nobody mentioned it again -- until your rep

Re: [Zope] question about manipulating zcatalog query results

2005-04-01 Thread Ira Sher
I scoured the archives, and found mention of this problem, and a note by you, Dieter saying it was a problem with the 2.7 beta (this was back in May of 2004) but I can't find any subsequent mention of the issue, and the problem I'm having is on both a 2.7.4 and a 2.7.5 build. thanks ira On Apr 1,

Re: [Zope] question about manipulating zcatalog query results

2005-04-01 Thread Dieter Maurer
Ira Sher wrote at 2005-3-31 01:05 -0700: > ... >I've found some reference to the _getiter_ problem on the forum, but >the queries date from nearly a year ago, and there were no fixes at >the time (save to wait for 7.4 to come out of beta). Is anyone else >experiencing this? Is there a workaround? W

Re: [Zope] question about manipulating zcatalog query results

2005-04-01 Thread Ira Sher
Chris, the relevant section of the script looks like this: zcat=context.Catalog if spontype == 'none': results = zcat(meta_type=mtype) else: results = zcat(meta_type=mtype,SB_sponsor_type=spontype) if sorton == 'id': res = [] rest = [] res = list(results)

Re: [Zope] question about manipulating zcatalog query results

2005-04-01 Thread Chris Withers
Ira Sher wrote: There is no call to _getiter_, of course, in the script, but whenever I use any for looping on the results, I get a variation of the above. Any thoughts on this? Hmm, I should have asked this in the first place, but can you post the source code for your test python script? cheers,

Re: [Zope] question about manipulating zcatalog query results

2005-03-31 Thread Ira Sher
Chris, a traceback for a script (testy in this case, called from testyer_html, as I've broken out the problem area and have been trying to work around it) using a for loop on a zcatalog result looks like: * Module ZPublisher.Publish, line 101, in publish * Module ZPublisher.mapply, line 8

Re: [Zope] question about manipulating zcatalog query results

2005-03-31 Thread Chris Withers
Ira Sher wrote: the time (save to wait for 7.4 to come out of beta). Is anyone else experiencing this? Is there a workaround? What am I missing? Can you paste a real traceback or two? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk

Re: [Zope] Question: How to generate a core file in Solaris 2.6

2001-01-04 Thread Dieter Maurer
Michael Best writes: > ... core generation under Solaris ... I have seen Zope cores under Solaris 2.6. This means, * either the problem you see does not result in a situation that usually causes a core dump or * your configuration prevents cores from being generated. I expect the latte

Re: [Zope] Question on __roles__

2001-01-04 Thread Cees de Groot
Chris Withers <[EMAIL PROTECTED]> said: >> As this is such a core piece of Zope, it seems quite unlikely to me >> that I found a bug here (although an older version of ZPublisher does >> check object instead of subobject). The only thing I can think of is >> that Acquisition should work for the ge

Re: [Zope] Question: How to generate a core file in Solaris 2.6

2001-01-03 Thread Jon Prettyman
I had a similar problem quite some time ago. I never could get a core file to generate, but since the crash occured so often, I was able to attach gdb (GNU debugger) to the process and was able to see the segmentation violation that was occurring. I never did figure out why I couldn't get a core

Re: [Zope] Question on __roles__

2001-01-03 Thread Chris Withers
Cees de Groot wrote: > > I've tried to trace down what happens, and found that ZPublisher.BaseRequest > has a funny bit: when trying to find out the necessary roles on an object, > it first tries to get the attribute '__roles__' on the subobject, and then > combines the current entry name plus '_

RE: [Zope] Question about cgi-bin scripts

2000-12-15 Thread sean . upton
If you have CGI programs written as perl scripts, how closely you can integrate with Zope depends entirely on what you are trying to do; as an application server designed around the object database, you can run DTML, python, and (soon) perl scripts to work with objects in the database; however the

Re: [Zope] Question about security

2000-11-22 Thread Tres Seaver
Harris Peter <[EMAIL PROTECTED]> wrote: > > I'm sorry, I must be missing something. > > The API reference I have doesn't contain any such thing. Neither does the > Zope book, before anyone else suggests that. The DTML on zope.org uses > a method that isn't recognised by the standard User Folder

Re: [Zope] Question about security

2000-11-22 Thread Phil Harris
To: <[EMAIL PROTECTED]> Sent: Wednesday, November 22, 2000 9:25 AM Subject: Re: [Zope] Question about security > Dieter wrote: > > >Joaldo Junior writes: > >> Does anyone can inform if is there any kind of function, > >> which a common user can change your passw

Re: [Zope] Question about security

2000-11-22 Thread Harris Peter
Dieter wrote: >Joaldo Junior writes: >> Does anyone can inform if is there any kind of function, >> which a common user can change your password by the same way a superuser can >> do in ACL_User? >Look at the built-in Zope API reference: User object. >The User object has methods to read and c

Re: [Zope] Question about security

2000-11-20 Thread Dieter Maurer
Joaldo Junior writes: > Does anyone can inform if is there any kind of function, > which a common user can change your password by the same way a superuser can > do in ACL_User? Look at the built-in Zope API reference: User object. The User object has methods to read and change the information

Re: [Zope] Question about dtml-in

2000-11-05 Thread Ender
Sean McGrath wrote: > > Hello all, > > I have a question about the dtml-in tag. When it is iterating over a > sequence, and the items in the sequence happen to be tuples containing > exactly two items, then dtml-in places the first item from the sequence in > sequence-key, and the second item go

Re: [Zope] Question about dtml-in

2000-11-05 Thread Dieter Maurer
Sean McGrath writes: > ... "dtml-in" treats sequences of two element tuples specially ... You are right. This is to support the frequent case of iterating over item sequences. There should be a "dtml-in" argument to switch off this special treatment. If I had your problem, I would go for such a

RE: [Zope] Question!

2000-10-19 Thread Farrell, Troy
iption, and a server name. Let me know what else you need to know. Troy -Original Message- From: Carlos Vasconez [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 10:56 AM To: Farrell, Troy Subject: Re: [Zope] Question! Hi I download de ZODBC but are not how connect to the data

  1   2   >