Hi! the following zpt snippet crashes zope 2.7.3 on Linux (the python process hangs). <tal:block define=" items python: {u'\xc4': ''}; key python: u'\xc4'" content="items/?key" /> can someone confirm that the bug is present in zope 2.7.4-b1 too before I do a bug report? regards /JM
Jean-Marc Orliaguet wrote:
Hi!
the following zpt snippet crashes zope 2.7.3 on Linux (the python process hangs).
<tal:block define=" items python: {u'\xc4': ''}; key python: u'\xc4'" content="items/?key" />
can someone confirm that the bug is present in zope 2.7.4-b1 too before I do a bug report?
regards /JM
OK it is reported as Issue 1617 in the zope bug collector (I tagged it as confidential since the process sometimes dumps core) regards /JM
--On Donnerstag, 9. Dezember 2004 13:12 Uhr +0100 Jean-Marc Orliaguet <jmo@ita.chalmers.se> wrote:
Jean-Marc Orliaguet wrote:
Hi!
the following zpt snippet crashes zope 2.7.3 on Linux (the python process hangs).
<tal:block define=" items python: {u'\xc4': ''}; key python: u'\xc4'" content="items/?key" />
can someone confirm that the bug is present in zope 2.7.4-b1 too before I do a bug report?
regards /JM
OK it is reported as Issue 1617 in the zope bug collector (I tagged it as confidential since the process sometimes dumps core)
Since it is already on the list it is no longer confidential...currently working on the issue.. -aj
Andreas Jung wrote:
--On Donnerstag, 9. Dezember 2004 13:12 Uhr +0100 Jean-Marc Orliaguet <jmo@ita.chalmers.se> wrote:
Jean-Marc Orliaguet wrote:
Hi!
the following zpt snippet crashes zope 2.7.3 on Linux (the python process hangs).
<tal:block define=" items python: {u'\xc4': ''}; key python: u'\xc4'" content="items/?key" />
can someone confirm that the bug is present in zope 2.7.4-b1 too before I do a bug report?
regards /JM
OK it is reported as Issue 1617 in the zope bug collector (I tagged it as confidential since the process sometimes dumps core)
Since it is already on the list it is no longer confidential...currently working on the issue..
-aj
OK so the solution right now is to await a new version of python or use python 2.3.3 /JM
This is a Zope bug, not a Python bug. The line in question isn't checking the return value of PyString_AsString. The PyString_AsString call is failing because the unicode value can't be converted to a string with the default encoding. PyString_AsString is returning NULL and Zope is trying to dereference a NULL pointer. Let's discuss off-line how to get a fix out. Jim Jean-Marc Orliaguet wrote:
Andreas Jung wrote:
--On Donnerstag, 9. Dezember 2004 13:12 Uhr +0100 Jean-Marc Orliaguet <jmo@ita.chalmers.se> wrote:
Jean-Marc Orliaguet wrote:
Hi!
the following zpt snippet crashes zope 2.7.3 on Linux (the python process hangs).
<tal:block define=" items python: {u'\xc4': ''}; key python: u'\xc4'" content="items/?key" />
can someone confirm that the bug is present in zope 2.7.4-b1 too before I do a bug report?
regards /JM
OK it is reported as Issue 1617 in the zope bug collector (I tagged it as confidential since the process sometimes dumps core)
Since it is already on the list it is no longer confidential...currently working on the issue..
-aj
OK so the solution right now is to await a new version of python or use python 2.3.3
/JM _______________________________________________ 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 )
-- Jim Fulton mailto:jim@zope.com Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org
--On Donnerstag, 9. Dezember 2004 12:46 Uhr +0100 Jean-Marc Orliaguet <jmo@ita.chalmers.se> wrote:
Hi!
the following zpt snippet crashes zope 2.7.3 on Linux (the python process hangs).
<tal:block define=" items python: {u'\xc4': ''}; key python: u'\xc4'" content="items/?key" />
can someone confirm that the bug is present in zope 2.7.4-b1 too before I do a bug report?
Confirmed... -aj
participants (3)
-
Andreas Jung -
Jean-Marc Orliaguet -
Jim Fulton