Software Requirements Under Windows
From Maay
Running Maay using the Python interpreter
Software :
- Python (2.4.2) local (http://maay.netofpeers.net/files/windows/python-2.4.2.msi)
- MySQL (4.1.15) local (http://maay.netofpeers.net/files/windows/mysql-essential-4.1.15-win32.msi) => (maay_dir)\thirdparty\mysql
Modules :
- Zope-Interface (3.0.1) local (http://maay.netofpeers.net/files/windows/zope.interface-3.0.1.win32-py2.4.exe)
- Logilab-common (0.12.0) (patched) local (http://maay.netofpeers.net/files/windows/common-0.12.0.win32.exe)
- MySQL-python local (http://maay.netofpeers.net/files/windows/MySQL-python.exe-1.2.0.win32-py2.4.exe)
- Twisted (2.0.1) local (http://maay.netofpeers.net/files/windows/Twisted_NoDocs-2.0.1.win32-py2.4.exe)
- Nevow (0.6) local (http://maay.netofpeers.net/files/windows/Nevow-0.6.0.win32.exe)
- PIL (1.1.5) local (http://maay.netofpeers.net/files/windows/PIL-1.1.5.win32-py2.4.exe)
- eGenix Base package local (http://maay.netofpeers.net/files/windows/egenix-mx-base-2.0.6.win32-py2.4.exe)
Converters :
The converter must be installed at specific location :
- Antiword (0.36) local (http://maay.netofpeers.net/files/windows/antiword-0_36-windows.zip) => (maay_dir)\thirdparty\antiword
- pdf2html (0.36) local (http://maay.netofpeers.net/files/windows/pdftohtml-0.36-win32.zip) => (maay_dir)\thirdpary\pdftohtml
To make the installation easier, we provide this pack (http://maay.netofpeers.net/files/windows/thirdparty.zip) which contains antiword, pdf2html and MySQL.
Building executable
- INNO Setup (5.1.5) local (http://maay.netofpeers.net/files/windows/inno%20setup-5.1.5.exe)
- Py2Exe (0.6.3) local (http://maay.netofpeers.net/files/windows/py2exe-0.6.3.win32-py2.4.exe)
- PyWin32 (205) local (http://maay.netofpeers.net/files/windows/pywin32-205.win32-py2.4.exe)
Download the Inno Setup Script (http://maay.netofpeers.net/files/windows/maay.iss) (some fix) to create the maay auto-installer.
Some errors / answers
Q: When I launch maay_server (or server.py), I get this error :
Traceback (most recent call last): File "maay\querier.pyc", line 103, in __init__ TypeError: connect() got an unexpected keyword argument 'unicode' *** *** Could not create web querier *** Got exception Failed to authenticate user 'maay' [connect() got an unexpecte d keyword argument 'unicode']
A: You use a logilab.common python module version which are too old or not patched (see Software_Requirements for instructions)
Q: And then this error :
Traceback (most recent call last): File "maay\querier.pyc", line 103, in __init__ TypeError: connect() got an unexpected keyword argument 'unicode' *** *** Could not create web querier *** Got exception Failed to authenticate user 'maay' [connect() got an unexpecte d keyword argument 'unicode'] *** This may hurt in unexpected ways *** Traceback (most recent call last): File "maay\querier.pyc", line 103, in __init__ TypeError: connect() got an unexpected keyword argument 'unicode' Querier <maay.querier.MaayQuerier object at 0x012FE510> is being GCed ... Exception exceptions.AttributeError: "'MaayQuerier' object has no attribute '_cn x'" in <bound method MaayQuerier.__del__ of <maay.querier.MaayQuerier object at 0x012FE510>> ignored
A: Problem with the version of MySQL (works with MySQL version 4.1). To solve the problem, you can also edit the file mysql.sql and remove the unicode stuff when creating database, just write CREATE DATABASE MAAY. Then relaunch createdb.
