i found two bugs in the current zope 2.12 beta: 1. standard_error_message is not used, this is due to code in ZPublisher/HTTPResponse.py, method _error_html(self,title,body) comment: XXX could this try to use standard_error_message somehow? so could it? i'm willing to give it a try and fix this. can i acquire standard_error_message from a HTTPResponse instance? 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: * 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 no clues on this one. where can i report these two bugs? ...or maybe a fix for 1. best regards, jürgen herrmann --
XLhost.de - eXperts in Linux hosting ® <<
XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218 Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)700 XLHOSTDE [0700 95467833] WEB: http://www.XLhost.de IRC: #XLhost@irc.quakenet.org
https://bugs.launchpad.net/zope2 -Tom Jürgen Herrmann wrote:
i found two bugs in the current zope 2.12 beta:
1. standard_error_message is not used, this is due to code in ZPublisher/HTTPResponse.py, method _error_html(self,title,body) comment: XXX could this try to use standard_error_message somehow?
so could it? i'm willing to give it a try and fix this. can i acquire standard_error_message from a HTTPResponse instance?
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: * 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
no clues on this one.
where can i report these two bugs? ...or maybe a fix for 1.
best regards, jürgen herrmann --
XLhost.de - eXperts in Linux hosting ® <<
XLhost.de GmbH Jürgen Herrmann, Geschäftsführer Boelckestrasse 21, 93051 Regensburg, Germany
Geschäftsführer: Volker Geith, Jürgen Herrmann Registriert unter: HRB9918 Umsatzsteuer-Identifikationsnummer: DE245931218
Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)700 XLHOSTDE [0700 95467833]
WEB: http://www.XLhost.de IRC: #XLhost@irc.quakenet.org
_______________________________________________ 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 )
On 06.05.09 10:55, Jürgen Herrmann wrote:
where can i report these two bugs? ...or maybe a fix for 1.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jürgen Herrmann wrote:
i found two bugs in the current zope 2.12 beta:
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: * 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
no clues on this one.
No idea whats going on there too, i get the same traceback when clicking the 'Test' button in ZMI (.../ZScriptHTML_tryForm). But if you click the objects 'Interfaces' button in ZMI (.../manage_interfaces) the script is rendered ok. Also looking at the object in the browser works for me. Regards Michael - -- http://blog.d2m.at http://planetzope.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKAVSbl0uAvQJUKVYRAiSsAKCZWOdYwL+LqjzbG9QWF5u8Ru9YQQCgo2cE uabB8JNRMIHeRYlUdsE9qdU= =EpE0 -----END PGP SIGNATURE-----
Jürgen Herrmann wrote:
1. standard_error_message is not used, this is due to code in ZPublisher/HTTPResponse.py, method _error_html(self,title,body) comment: XXX could this try to use standard_error_message somehow?
The code you're referring to is as old as the hills, so I don't think that's it. Something else is causing standard_error_message not to be used, I've noticed this too and got bitched at for asking if anyone knew what change had caused the problem. Let me know if you get any further and where the issue is in launchpad when you raise it. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
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. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
-----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 tseaver@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-----
On 06.05.09 19:47, Tres Seaver wrote:
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.
Thanks for fixing. Andreas
participants (6)
-
Andreas Jung -
Chris Withers -
Jürgen Herrmann -
Michael Haubenwallner -
Tom Gross -
Tres Seaver