[Zope-dev] Zope Tests: 7 OK

2007-02-19 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Sun Feb 18 12:00:00 2007 UTC to Mon Feb 19 12:00:00 2007 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Sun Feb 18 21:04:48 EST 2007

[Zope] Error Value: 'Set' object has no attribute 'count'

2007-02-19 Thread kjcsb
I am getting an error message when Zope is trying to evaluate the following: elif string.count(product_info['product']['options'],'lookup') == 1: The error message is: Error Value: 'Set' object has no attribute 'count' I have two instances of Zope running. On Zope 2.8.2-final, python 2.3.5,

Re: [Zope] Error Value: 'Set' object has no attribute 'count'

2007-02-19 Thread Andreas Jung
--On 19. Februar 2007 22:18:38 +1300 kjcsb [EMAIL PROTECTED] wrote: I am getting an error message when Zope is trying to evaluate the following: elif string.count(product_info['product']['options'],'lookup') == 1: The error message is: Error Value: 'Set' object has no attribute 'count'

[Zope] Moodle and Zope SSO.

2007-02-19 Thread Jose Luis de la Rosa Triviño
Hello all, I need to implement a SSO solution for Moodle and Zope. My use case is: 1. The user logs in Zope. 2. Zope logs in Moodle (in behalf of the user) and forwards the authentication cookie to the client. I suppose that the user has the same credentials in Zope and Moodle. I'm trying

[Zope] Cache values may only be in one cache

2007-02-19 Thread Jonas Nielsen
I'm getting the following error: Cache values may only be in one cache I'm getting this error every time I refresh my skin product. So I have to remember to restart zope every time I make a change. I'm running Plone 2.5.2 and Zope 2.9.6 On this page:

Re: [Zope] Cache values may only be in one cache

2007-02-19 Thread Peter Bengtsson
Product refreshing is a brilliant timesaver for development if it suits your development style. Some people prefer to restart Zope on every change which is the only option for Zope 2.9 and Zope 2.8. The error is somehow related to the use of the Session Manager I think. If you instead use my

Re: [Zope] Suggestion for an opensource barchart/piechart graphic package in python

2007-02-19 Thread Joost van Lawick
Hi, I am using matplotlib: http://matplotlib.sourceforge.net/ Joost On [EMAIL PROTECTED] Sat, Feb 17, 2007 at 07:07:50PM +0100 zope-mailing-list , Marco Bizzarri wrote: Hi all. I'm looking for an alternative to python gdchart for barchart/piechart in a web application. I'm looking to

Re: [Zope] Suggestion for an opensource barchart/piechart graphic package in python

2007-02-19 Thread Marco Bizzarri
On 2/17/07, Bill Campbell [EMAIL PROTECTED] wrote: On Sat, Feb 17, 2007, Marco Bizzarri wrote: On 2/17/07, Bill Campbell [EMAIL PROTECTED] wrote: On Sat, Feb 17, 2007, Marco Bizzarri wrote: Hi all. I'm looking for an alternative to python gdchart for barchart/piechart in a web application. I'm

Re: [Zope] Suggestion for an opensource barchart/piechart graphic package in python

2007-02-19 Thread Marco Bizzarri
On 2/18/07, Richard Jones [EMAIL PROTECTED] wrote: I know gnuplot; what is the support for python? Google. gnuplot python It's not hard. Richard It's a lot harder to avoid making posts like this. If all that I needed was to get some package for creating charts using python (and

Re: [Zope] Suggestion for an opensource barchart/piechart graphicpackage in python

2007-02-19 Thread Jaroslav Lukesh
- Original Message - From: Marco Bizzarri [EMAIL PROTECTED] On 2/18/07, Richard Jones [EMAIL PROTECTED] wrote: I know gnuplot; what is the support for python? It's a lot harder to avoid making posts like this. If all that I needed was to get some package for creating charts

Re: [Zope] Suggestion for an opensource barchart/piechart graphicpackage in python

2007-02-19 Thread Marco Bizzarri
On 2/19/07, Jaroslav Lukesh [EMAIL PROTECTED] wrote: I can see that there is a package for python with gnuplot. But is it used? Is it stable? Have it been used inside Zope environment? It is very hard to find something at new zope site from 2004 Try ZGDChart, it is simple and good I

Re: [Zope] Suggestion for an opensource barchart/piechart graphic package in python

2007-02-19 Thread Marco Bizzarri
On 2/19/07, Martijn Pieters [EMAIL PROTECTED] wrote: On 19. feb. 2007, at 14.29, Marco Bizzarri wrote: Yes, pychart looks good, even though I have too look at what is needed in order to have it run (PIL?) Nope, pychart has no dependencies other than Python. Martijn Pieters Oh, a pure

Re: [Zope] Suggestion for an opensource barchart/piechart

2007-02-19 Thread hpinson
ChartDirector. Not open source, but very good and very affordable: http://www.advsofteng.com/ -- Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] Phone: 505 994-2135 Fax: 505 994-3603 ___ Zope maillist - Zope@zope.org

Re: [Zope] Suggestion for an opensource barchart/piechart

2007-02-19 Thread Marco Bizzarri
On 2/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ChartDirector. Not open source, but very good and very affordable: http://www.advsofteng.com/ -- Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] Phone: 505 994-2135 Fax: 505 994-3603 Thanks, I would consider it for a non

Re: [Zope] Re: problem with input elements and unicode/utf-8

2007-02-19 Thread Daryl Daly
On Sun, February 18, 2007 1:29 pm, Jostein Leira wrote: After the comments in the Collector above I'm wondering what to do if I should not set the sys.setdefaultencoding()? Not changing the default encoding I always get a decode error when trying to save a page template with non-ascii

Re: [Zope] Re: problem with input elements and unicode/utf-8

2007-02-19 Thread Andreas Jung
--On 18. Februar 2007 16:29:43 -0500 Jostein Leira [EMAIL PROTECTED] wrote: Have set sys.setdefaultencoding('utf-8') in /usr/local/lib/python2.4/site.py. Have set management_page_charset='utf-8' as property of / in ZMI. Have set default-zpublisher-encoding utf-8 in etc/zope.conf. Changing

Re: [Zope] Re: problem with input elements and unicode/utf-8

2007-02-19 Thread Dieter Maurer
Jostein Leira wrote at 2007-2-18 16:29 -0500: I have experienced on my installation that Zope decides that the character set should be iso-8859-1 for IE7 even no HTTP_ACCEPT_CHARSET is sent from IE7 and preferred charset is utf-8. Firefox submits HTTP_ACCEPT_CHARSET and Zope handles that OK. It

Re: [Zope] Error Value: 'Set' object has no attribute 'count'

2007-02-19 Thread Dieter Maurer
kjcsb wrote at 2007-2-19 22:18 +1300: I am getting an error message when Zope is trying to evaluate the following: elif string.count(product_info['product']['options'],'lookup') == 1: The error message is: Error Value: 'Set' object has no attribute 'count' Apparently string is a Set object in

Re: [Zope] Moodle and Zope SSO.

2007-02-19 Thread Dieter Maurer
Jose Luis de la Rosa Triviño wrote at 2007-2-19 13:07 +0100: I need to implement a SSO solution for Moodle and Zope. My use case is: 1. The user logs in Zope. 2. Zope logs in Moodle (in behalf of the user) and forwards the authentication cookie to the client. I suppose that the user has the

Re: [Zope] Cache values may only be in one cache

2007-02-19 Thread Dieter Maurer
Jonas Nielsen wrote at 2007-2-19 13:54 +0100: I'm getting the following error: Cache values may only be in one cache I'm getting this error every time I refresh my skin product. I think this is a long standing bug in the auto refresh machinery. Do not use auto refresh and the problem should

Re: [Zope] Moodle and Zope SSO.

2007-02-19 Thread Maciej Wisniowski
I'm trying to implement a script like the one shown below but it seems too tricky and it does not work. Has anybody implemented this kind of sso with zope and moodle or whatever? We're using Zope and PHP apps with SSO build with use of CAS. Works good. For zope you'll find CAS4PAS

Re: [Zope] Re: problem with input elements and unicode/utf-8

2007-02-19 Thread Jostein Leira
Dieter, Andreas and Daryl Here comes a detailed description of a new Zope-installation I just made on a new Debian (testing) machine. Here are the steps to reproduce my problem. (I'm still not sure it is a problem other than me not understanding how this should work). Downloading