> There is an error in the rpm-distribution. Rename
> /opt/sdb/7600/lib/python.zip to /opt/sdb/7600/lib/python23.zip.
> 

The rename worked (by sys.path I can see python is looking for
/opt/sdb/7600/lib/python23.zip and /opt/sdb/7600/lib/python2.3)

But I have encountered another import error. While running
/opt/sdb/testdb76/create_demo_db.sh python fails to import a module by the
name "JDBC". 

[EMAIL PROTECTED]:/opt/sdb/testdb76# ./create_demo_db.sh
create database TST76...
set parameters for TST76...
start TST76...
initialize TST76...
load system tables...
load system tables failed: ERR
-24964,ERR_EXECUTE: error in program execution
1024,/opt/sdb/7600/bin/x_python /opt/sdb/7600/env/lsystab.py -R
/opt/sdb/7600 -d TST76 -u dba,*
Removing obsolete objects
Installing Loader tables
Installing messages and help
Installing SYSDBA tables
Installing comments for SYSDBA tables
Installing precompiler tables
Installing system tables for R3 backup information
Installing ODBC tables
Installing system tables for ORACLE (V7) mode
Installing data dictionary tables and views
Installing synonyms for oracle system tables
Installing comments on oracle sytem tables
Installing tables for WebAgent
Installing DOMAIN tables
Installing comments for DOMAIN tables
Installing Views as replacement for SHOWs
Installing Database Manager tables
Installing SYSINFO tables
Installing comments for SYSINFO tables
Installing support for UDE (User Defined Extensions)
---------Traceback---------------
  File "/opt/sdb/7600/env/installib.py", line 406, in connectAndInstall
    installRoutine (session, options)
  File "/opt/sdb/7600/env/lsystab.py", line 183, in install
    "JDBC"
  File "/opt/sdb/7600/env/installib.py", line 158, in include
    module = __import__ (file)
---------Error-------------------
exceptions.ImportError: No module named JDBC

Python looks in ['', '/opt/sdb/7600/lib/python2.3',
'/opt/sdb/7600/lib/python23.zip', '/opt/sdb/7600/lib/python2.3/plat-linux2',
'/opt/sdb/7600/lib/python2.3/lib-tk',
'/opt/sdb/7600/lib/python2.3/lib-dynload']

I have the following RPM-packages installed:
maxdb-srv76-7.6.0.5-1
maxdb-scriptif-7.6.0.5-1
maxdb-ind-7.6.0.5-1
maxdb-callif-7.6.0.5-1
maxdb-testdb76-7.6.0.5-1


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to