[EuroPython] Broken website

M.-A. Lemburg mal@lemburg.com
Wed, 12 Feb 2003 23:11:52 +0100


Juan David Ib=E1=F1ez Palomar wrote:
>=20
> Fixed, with a hack, now there is a DTMLMethod in root named
> changeLanguageForm, it is used instead of the default provided
> by Localizer.
>=20
> The "right" solution would be to install Zope 2.6.1 or to apply
> the Unicode patch by Toby Dickenson.
>=20
> The problem was that the changeLanguageForm generated a ISO-8859-1
> string which was mixed with a unicode string somewhere else,
> hence the decoding error.
>=20
> I fixed another bug in "regionalSettings/long_date_es", which only
> concerned spanish users.

Great :-) Thank you !

If it's not too difficult we should probably ask Amaze to
upgrade the two instances to 2.6.1 (unless this breaks something
else).

> M.-A. Lemburg wrote:
>=20
>> The web-site seems to be broken in all sorts of ways. Could
>> someone please fix this ? It would also be nice to revert
>> the 2002 frontpage back to the 2002 text and logo so
>> that we have templates to work from for 2003. Thanks.
>>
>> FYI, I very often get these kinds of errors:
>>
>> Error Type: UnicodeError
>> Error Value: ASCII decoding error: ordinal not in range(128)
>>
>> Traceback (innermost last):
>>   File=20
>> /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line=20
>> 150, in publish_module
>>   File=20
>> /usr/local/zope/zopesites/europy2/Products/Localizer/__init__.py, line=
=20
>> 58, in new_publish
>>   File=20
>> /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line=20
>> 114, in publish
>>   File /usr/local/zope/Zope-2.5.1-src/lib/python/Zope/__init__.py,=20
>> line 159, in zpublisher_exception_hook
>>     (Object: index_html)
>>   File=20
>> /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line=20
>> 98, in publish
>>   File /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/mapply.py,=
=20
>> line 88, in mapply
>>     (Object: manage_localPropertiesForm)
>>   File=20
>> /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line=20
>> 39, in call_object
>>     (Object: manage_localPropertiesForm)
>>   File=20
>> /usr/local/zope/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.p=
y,=20
>> line 252, in __call__
>>     (Object: manage_localPropertiesForm)
>>   File=20
>> /usr/local/zope/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.p=
y,=20
>> line 283, in _bindAndExec
>>     (Object: manage_localPropertiesForm)
>>   File=20
>> /usr/local/zope/zopesites/europy2/Products/Localizer/LocalFiles.py,=20
>> line 100, in _exec
>>     (Object: manage_localPropertiesForm)
>>   File /usr/local/zope/Zope-2.5.1-src/lib/python/App/special_dtml.py,=20
>> line 172, in _exec
>>     (Object: manage_localPropertiesForm)
>>   File /usr/local/python2.1.3/lib/python2.1/string.py, line 128, in jo=
in
>> UnicodeError: (see above)
>>
>=20
>=20

--=20
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Feb 12 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
Python UK 2003, Oxford:                                     48 days left
EuroPython 2003, Charleroi, Belgium:                       132 days left