REQUEST.set('n', n+1) broken on zope.org
As the subject says, REQUEST.set('n', n+1) is broken on zope.org. The following DTML will raise an AttributeError on __add__: <dtml-call REQUEST.set('n', 1)> <dtml-call REQUEST.set('n', n+1)> Is this a permanent change and is this going into the Zope codebase? Richard -- Richard Jones richard@bizarsoftware.com.au Senior Software Developer, Bizar Software www.bizarsoftware.com.au
Maybe you should try this with the "" ie <dtml-call "REQUEST.set('n', 1)"> <dtml-call "REQUEST.set('n', n+1)"> regards. -- Pavel Cosmos-Mebel, JSC. http://www.cosmos-mebel.spb.ru ----- Original Message ----- From: "Richard Jones" <richard@bizarsoftware.com.au> To: <zope@zope.org> Sent: 5 ??????? 2000 ?. 9:16 Subject: [Zope] REQUEST.set('n', n+1) broken on zope.org
As the subject says, REQUEST.set('n', n+1) is broken on zope.org. The following DTML will raise an AttributeError on __add__:
<dtml-call REQUEST.set('n', 1)> <dtml-call REQUEST.set('n', n+1)>
Is this a permanent change and is this going into the Zope codebase?
Richard
-- Richard Jones richard@bizarsoftware.com.au Senior Software Developer, Bizar Software www.bizarsoftware.com.au
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
after (finally) getting access to an IMAP server...worldpilot in zope 2.1.6 breaks with this error when reading mail. Listing is fine, sending is fine...only reading has this problem... <!-- Traceback (innermost last): File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 214, in publish_module File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 179, in publish File C:\PROGRA~1\Zope\lib\python\Zope\__init__.py, line 202, in zpublisher_exception_hook (Object: RoleManager) File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 165, in publish File C:\PROGRA~1\Zope\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: prog) File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 102, in call_object (Object: prog) File C:\PROGRA~1\Zope\lib\python\Products\WorldPilot\WorldPilot.py, line 1906, in prog (Object: RoleManager) File C:\PROGRA~1\Zope\lib\python\Products\WorldPilot\WorldPilot.py, line 1831, in displayIfLoggedOn (Object: RoleManager) File C:\PROGRA~1\Zope\lib\python\Products\WorldPilot\WorldPilot.py, line 369, in callResource File C:\PROGRA~1\Zope\lib\python\Products\WorldPilot\Resource.py, line 137, in callResource File C:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_String.py, line 502, in __call__ (Object: <string>) File C:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_With.py, line 133, in render (Object: Logon.getIMAPMsg(20, REQUEST)) File C:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_Util.py, line 335, in eval (Object: Logon.getIMAPMsg(20, REQUEST)) (Info: Logon) File <string>, line 0, in ? File C:\PROGRA~1\Zope\lib\python\Products\WorldPilot\WorldPilot.py, line 911, in getIMAPMsg File C:\PROGRA~1\Zope\lib\python\Products\WorldPilot\WorldPilot.py, line 822, in makeMessage File C:\PROGRA~1\Zope\lib\python\Products\WorldPilot\WorldPilot.py, line 674, in makePartList IndexError: list index out of range --> ...anyone recognize this? cheers tom
participants (3)
-
Pavel V. Piankov -
Richard Jones -
tom smith