-
Notifications
You must be signed in to change notification settings - Fork 134
Documentation
adhamehab edited this page Jan 15, 2018
·
17 revisions
Changes in the location and format of datasets by the data providers can prevent the Retriever from properly processing the data. If you encounter an error in a script, please report it by opening an issue.
If you are installing from source you will need a Python 2.x installation with the following modules:
- setuptools
- wxPython
- xlrd
You will also need the following modules to use specific databases:
- mysqldb (MySQL)
- psycopg2 (PostgreSQL)
- pyodbc (MS Access).
To quickly get the required modules installed in Ubuntu use:
apt-get install python-mysqldb python-psycopg2 python-pyodbc python-setuptools python-xlrd
The following modules are required for rolling releases: mysqldb, psycopg2, pyodbc, py2app (Mac), py2exe (Windows), and stdeb (Ubuntu/Debian).
Follow these instructions to run a complete set of test imports for any branch
- Clone the branch you want to test
- Run
python setup.py install
- Run
python tests.py
- At the prompt enter the login or filename information for each database engine you want to test
- SQLite allows relative paths and the file does not have to exist (the Retriever will create it)
- MS Access requires an absolute path to an already created Access file
- Ctrl+C will skip any engines you don't want to test
- When the tests have finished running a table of errors will be returned