-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Withers wrote:
> Jürgen Herrmann wrote:
>> 2."Script Python" instances don't execute anymore. not the ones already in
>>    the db from the zope 2.10 install i used before nor newly created ones.
>>    traceback:
> 
> Yes they do ;-)
> 
>>     * Module ZPublisher.Publish, line 208, in publish_module_standard
>>     * Module ZPublisher.Publish, line 151, in publish
>>     * Module Zope2.App.startup, line 249, in __call__
>>     * Module ZPublisher.Publish, line 120, in publish
>>     * Module ZPublisher.mapply, line 77, in mapply
>>     * Module ZPublisher.Publish, line 43, in call_object
>>     * Module Shared.DC.Scripts.Bindings, line 324, in __call__
>>     * Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
>>     * Module App.special_dtml, line 185, in _exec
>>     * Module DocumentTemplate.DT_In, line 634, in renderwob
>>     * Module DocumentTemplate.DT_Raise, line 68, in render
>>    RuntimeError: http://new-manage.xlhost.local/bliss/cms
> 
> The "Try it" tab, however, is broken... My guess is that form that 
> renders the tab is trying to iterate over something in dtml and getting 
> something unexpected.

I fixed the issue Jürgen reported to LP:  the problem was in the code
which said "if no arguments, raise a Redirect to the script's direct
URL."  The <dtml-raise> implementation was not allowing exception types
defined in zExceptions;  it only allowed built-in exceptions.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKAc02+gerLs4ltQ4RAiOhAKDOadCSf1frpq7uObsDEpek/3KyYQCdFhI2
WuMsw/52jmgDqHio9g4krw8=
=KNZJ
-----END PGP SIGNATURE-----

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to