[Tutor] mxODBC help on Win98

Fabrizio facelle@tiscalinet.it
Sat, 27 Jan 2001 14:20:39 +0100


Hi,

Newbie, Python2.0, Windows98.


I just would like to try to access to some MS Access or MS Excel data to
play around with Python.

I am trying to install mxODBC on my system, but this is what I get if I run
the included "test.py" script (I have installed Date Time and it seems to
work fine):


========================================================================
mxODBC Test Suite
------------------------------------------------------------------------

Subpackage Name [Windows]:
DriverConnect arguments [DSN=test;UID=test;PWD=test]:
Clear AUTOCOMMIT  ? (1/0) [1]
Run tests continuously to check for leaks ? (y/n) [n]
Show driver type information ? (y/n) [n]
Output file [stdout]:

Test suite:
 Connecting to the database.
Traceback (innermost last):
  File "C:\Python20\Lib\ODBC\Misc\test.py", line 1054, in ?
    rc = main()
  File "C:\Python20\Lib\ODBC\Misc\test.py", line 1004, in main
    connection = apply(connectapi,connectargs)
OperationalError: ('IM002', 0, '[Microsoft][ODBC Driver Manager] Nome
origine dati non trovato e driver predefinito non specificato.', 4316)


The last line, in Italian, sounds like : "Couldn't find data origin name and
predefined driver not specified".


What is wrong ?
Thanks in advance.

Fabrizio C.