Re: [Zope] Re: upgrade 2.5.1 to 2.7.5 causes error in product code

2005-08-30 Thread John Schinnerer
Aloha, python:here.sponsors[0] != '' if the tuple is empty, whereas 2.5.1/2.1.3 must have been returning some equivalent of boolean 'false' when the tuple was empty. No. Python 2.1.3 would have blown up the same way. Must have been Zope 2.5.1 somehow turning the python blowup into

Re: [Zope] Re: StructuredDocument size reduced after 2.5.1 to 2.7.5 upgrade

2005-08-30 Thread John Schinnerer
Hello, John Schinnerer wrote: I am using StructuredDocument objects in the custom products I am migrating to 2.7.5 from 2.5.1. In 2.7.5 I am now getting an error Value Error Maximum content length exceeded ... Anyone have any idea why I'm getting this size-related error with

Re: [Zope] passing a parameter - namespace and dtml-with

2005-08-30 Thread Peter Bengtsson
On 8/30/05, Sean Kelley [EMAIL PROTECTED] wrote: Only problem is I am using a dtml-in inside the category_results method which calls a sql method and it now gives me an error: dtml-in expr=category_match1(_) size=50 start=query_start ... /dtml-in Perhaps its not finding the title1

Re: [Zope] NauScheduler problem

2005-08-30 Thread Chris Withers
Barry Drake wrote: NauSchedule is a very cool product for scheduling automatic tasks, though there are only three sentences of documentation for installation. You may wish to have a look at Stepper and/or ZASync ;-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope] passing a parameter - namespace and dtml-with

2005-08-30 Thread Chris Withers
Sean Kelley wrote: Only problem is I am using a dtml-in inside the category_results method which calls a sql method and it now gives me an error: dtml-in expr=category_match1(_) size=50 start=query_start ... /dtml-in Perhaps its not finding the title1 value I am trying to pass to it?

[Zope] adding property to new Folder: can't pickle module objects

2005-08-30 Thread Roman Klesel
Hello everyone, again I'm stuck :-( I have a python script that looks as follows: results=[] for ids in context.objectIds('Folder'): results.append(ids) newid = str(int(max(results)) + 1) context.manage_addProduct['OFSP'].manage_addFolder(newid, title=person) newaddr=getattr(context,

[Zope] Re: adding property to new Folder: can't pickle module objects

2005-08-30 Thread Maik Jablonski
Roman Klesel wrote: newaddr.manage_addProperty(test, test, string) should be (string instead of string): newaddr.manage_addProperty(test, test, string) -mj ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] NauScheduler problem

2005-08-30 Thread Barry Drake
Thank you. I certainly will check those out. Barry --- Chris Withers wrote: Barry Drake wrote: NauSchedule is a very cool product for scheduling automatic tasks, though there are only three sentences of documentation for installation. You may wish to have a look at Stepper and/or

Re: [Zope] passing a parameter - namespace and dtml-with

2005-08-30 Thread John Eikenberry
Peter Bengtsson wrote: Better dtml-let orig_title='Hannoverian Stallions Lauries Crusador ' dtml-with links dtml-var catagory_results(_, _.None, title1=orig_title) /dtml-with /dml-let Use dtml-let and notice the extra _ in the parameters. I doubt that DTML methods accept plain

Re: [Zope] Re: passing a parameter - namespace and dtml-with

2005-08-30 Thread John Eikenberry
Alexander Limi wrote: comment mode=off-topic Wow, I had forgotten how incredibly ugly DTML can be. That just looks wrong, like you stumbled on your keyboard. Maybe I should go hang out on the perl lists and build up some tolerance for interesting syntax. :^) /comment Yes. DTML is ugly,

Re: [Zope] zope 2.8 command line tracebacks

2005-08-30 Thread Dieter Maurer
Ed Colmar wrote at 2005-8-29 15:38 -0700: The 2.8 version of zope no longer displays tracebacks in the terminal window (after excecuting ./runzope). It just stops execution at any errors. Do you speak of startup errors? I was able to analyse them with bin/zopectl fg. They came on the console

Re: [Zope] Where to authenticate during traversal

2005-08-30 Thread Dieter Maurer
Chris Withers wrote at 2005-8-29 22:21 +0100: ... a single state workflow should not control permissions (but allow them to be controlled by the environment). Now THAT is a good point... I forgot to mention that you need to reindex the index allowedRolesAndUsers for descendants when you

Re: [Zope] Re: StructuredDocument size reduced after 2.5.1 to 2.7.5 upgrade

2005-08-30 Thread Dieter Maurer
John Schinnerer wrote at 2005-8-30 00:09 -0700: ... For any StructuredDocument object I have, it breaks at approximately 4490 chars (seems to vary by a few chars - maybe due to how many line breaks...?). Less works OK; more returns the above error. Some Zope version may have introduced a few

Re: [Zope] Re: StructuredDocument size reduced after 2.5.1 to 2.7.5 upgrade

2005-08-30 Thread Jaroslav Lukesh
Dne úterý, 30. srpna 2005 20:33 Dieter Maurer [EMAIL PROTECTED] napsal(a): John Schinnerer wrote at 2005-8-30 00:09 -0700: ... For any StructuredDocument object I have, it breaks at approximately 4490 chars (seems to vary by a few chars - maybe due to how many line breaks...?). Less works

[Zope] Re: StructuredDocument size reduced after 2.5.1 to 2.7.5 upgrade

2005-08-30 Thread Maik Jablonski
John Schinnerer wrote: I am using StructuredDocument objects in the custom products I am migrating to 2.7.5 from 2.5.1. In 2.7.5 I am now getting an error Value Error Maximum content length exceeded ... ... Attached is a zexp of the StructuredDocument object I just used to get the

[Zope-Coders] Zope tests: 8 OK

2005-08-30 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Mon Aug 29 11:01:01 2005 UTC to Tue Aug 30 11: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: Mon Aug 29 22:22:27 EDT