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
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
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
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
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?
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,
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
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
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
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,
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
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
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
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
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
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
16 matches
Mail list logo