hi all,
We are stuck with a configuration error in porting zope2 to python2.5. Can
anybody help us in fixing configuration error in the module Zope2. The full
log of error message is given below.
Running tests at level 1
/home/zope/ztrunk25/lib/python/ZPublisher/HTTPResponse.py:19:
Summary of messages to the zope-tests list.
Period Fri Aug 22 11:00:00 2008 UTC to Sat Aug 23 11:00:00 2008 UTC.
There were 5 messages: 5 from Zope Tests.
Unknown
---
Subject: UNKNOWN : Zope-2.8 Python-2.3.6 : Linux
From: Zope Tests
Date: Fri Aug 22 20:41:42 EDT 2008
URL:
Chris Withers wrote at 2008-8-19 18:30 +0100:
...
class ISomething(Interface): pass
...
class MyClass: implements(ISomething)
...
m = MyClass()
Right, so this does make sense:
ISomething(m)
__main__.MyClass instance at 0x00BED6E8
This does not:
repr(queryAdapter(m,ISomething))
'None'
Jim Fulton wrote at 2008-8-19 17:57 -0400:
While I respect that this feature may have been chosen carefully, it
nevertheless seems more like a misfeature. Chris' expectation was
reasonable and ought not to be violated without a good cause.
queryAdapter is used to look up named adapters.
Hermann Himmelbauer wrote at 2008-8-20 19:34 +0200:
Hi,
I have a page template, that should have the characters and in the
resulting HTML code, e.g.:
input type=hidden, name=xyz, value=ABC /
HTML forbids in attributes: it must be represented there as lt;.
Thus, Zope does the correct thing