I tried out Hatta v1.0 last night, but ran into the following exception:
Traceback (most recent call last):
File “hatta.py”, line 708, in <module>
class WikiResponse(werkzeug.BaseResponse, werkzeug.ETagResponseMixin,
AttributeError: ‘module’ object has no attribute ‘BaseResponse’$ uname -a Linux zdani 2.6.24-21 #2 SMP Tue Oct 21 23:09:30 UTC 2008 x86_64 GNU/Linux $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION=“Ubuntu 8.04.1” $ python --version Python 2.5.2 $ dpkg -l python-werkzeug | grep ^ii ii python-werkzeug 0.1~svn3830-2 a collection of […]
Workaround
Looks like that version of Werkzeug has different API than the later versions. The best solution that I can think of is either to download and install a later version, maybe from http://packages.ubuntu.com or http://www.debian.org/distrib/packages, or download a recent version of Werkzeug from http://werkzeug.pocoo.org/download and either install it from egg, or just unpack, and copy the "werkzeug" directory to the same directory where hatta.py is.
Additionally PYTHONPATH may need to be modified to point to the "werkzeug" directory.
![[Home]](/+download/logo.png)