[Zope-dev] problem with TAL statements across multiple lines in zope 2.7b3

2003-12-12 Thread Gerry Kirk
i didn't have this problem with zope 2.6.2. I have a TAL statement as follows: tal:define = "url python:test(item_typeinfo.getId() in use_folder_contents, item.absolute_url()+'/folder_contents', item.absolute_url()+'/'+action);" this statement works if it is all on one line, but i get a synta

[Zope-dev] Re: problem with TAL statements across multiple lines in zope 2.7b3

2003-12-12 Thread Gerry Kirk
Dieter Maurer wrote: Gerry Kirk wrote at 2003-12-12 11:34 -0500: i didn't have this problem with zope 2.6.2. I have a TAL statement as follows: tal:define = "url python:test(item_typeinfo.getId() in use_folder_contents, item.absolute_url()+'/folder_contents', item.absol

RE: [Zope-dev] problem with TAL statements across multiple lines in zope 2.7b3

2003-12-15 Thread Gerry Kirk
These are lines that did not produce an error with zope 2.6.2. They aren't even my code - I've run into errors in two different products - Plone and PloneCalendar. For testing, I merged the line together, then pressed Enter and used spaces to move the code across multiple lines.

[Zope-dev] bizarre slicing behaviour in Zope

2003-12-17 Thread Gerry Kirk
try this in a script in zope 2.7b3 (maybe others, too) if you want to go crazy: dd = ('dd', 'diocese', 'Parish.2003-12-16.8636751973', 'bob', 'Workspace.2003-12-17.8140751750','gerry.2003-12-17.8140751750') return dd[4:] you should get the last two items from the tuple, but I get the last ite

RE: [Zope-dev] bizarre slicing behaviour in Zope

2003-12-18 Thread Gerry Kirk
Well, at least I know it's only a Zpublisher thing, and not an issue with the underlying data. That's all that matters to me. Gerry Gerry Kirk Project Manager www.faithonline.com www.dioceseonline.com > -Original Message- > From: Terry Hancock [mailto:[EMAIL PR

[Zope-dev] Re: app = Zope.app() backwards incompatibility notice / discussion

2004-01-26 Thread Gerry Kirk
Chris McDonough wrote: Note that FWIW, you can also do (on UNIX): zopectl run > .. which will run a script with the name "app" set up as the root Zope > application object. This might be the easiest way to run scripts which > need to operate against Zope objects going forward. > > - C > I tri

[Zope-dev] session error

2004-10-19 Thread Gerry Kirk
A user got this error trying to edit content. It only happened once, and on second try she was ok. Using Zope 2.7.0: Traceback (innermost last): Module ZPublisher.Publish, line 100, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object