[EuroPython] Broken website

Juan David Ibáñez Palomar j-david@noos.fr
Wed, 12 Feb 2003 20:35:10 +0100


Fixed, with a hack, now there is a DTMLMethod in root named
changeLanguageForm, it is used instead of the default provided
by Localizer.

The "right" solution would be to install Zope 2.6.1 or to apply
the Unicode patch by Toby Dickenson.

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.

I fixed another bug in "regionalSettings/long_date_es", which only
concerned spanish users.


M.-A. Lemburg wrote:

> 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 
> /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 
> 150, in publish_module
>   File 
> /usr/local/zope/zopesites/europy2/Products/Localizer/__init__.py, line 
> 58, in new_publish
>   File 
> /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 
> 114, in publish
>   File /usr/local/zope/Zope-2.5.1-src/lib/python/Zope/__init__.py, 
> line 159, in zpublisher_exception_hook
>     (Object: index_html)
>   File 
> /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 
> 98, in publish
>   File /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/mapply.py, 
> line 88, in mapply
>     (Object: manage_localPropertiesForm)
>   File 
> /usr/local/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 
> 39, in call_object
>     (Object: manage_localPropertiesForm)
>   File 
> /usr/local/zope/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.py, 
> line 252, in __call__
>     (Object: manage_localPropertiesForm)
>   File 
> /usr/local/zope/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.py, 
> line 283, in _bindAndExec
>     (Object: manage_localPropertiesForm)
>   File 
> /usr/local/zope/zopesites/europy2/Products/Localizer/LocalFiles.py, 
> line 100, in _exec
>     (Object: manage_localPropertiesForm)
>   File /usr/local/zope/Zope-2.5.1-src/lib/python/App/special_dtml.py, 
> line 172, in _exec
>     (Object: manage_localPropertiesForm)
>   File /usr/local/python2.1.3/lib/python2.1/string.py, line 128, in join
> UnicodeError: (see above)
>


-- 
J. David Ibáñez, http://www.j-david.net
Software Engineer / Ingénieur Logiciel / Ingeniero de Software