I had issues like described in
http://code.google.com/p/ibm-db/issues/detail?id=112&q=importerror#makechanges
The issue is that import of ibm_db.pyd can't be done since dependencies of pyd
file can't be loaded.
This could be easier detected (apache error log), if ibm_db_django module
reported real issue.
That could be improved with the patch in attachment, i.e. instead of reporting:
raise ImportError( "ibm_db module not found. Install ibm_db module from http://code.google.com/p/ibm-db/." )
report real error:
raise ImportError( "ibm_db module not found. Install ibm_db module from http://code.google.com/p/ibm-db/. Error: %s" % e )
Then the error is reported like:
ibm-db module ... Error: libdb2.so.1: cannot open shared object file: No such file or directory
Original issue reported on code.google.com by trebor74hr@gmail.com on 14 May 2012 at 8:18
Original issue reported on code.google.com by
trebor74hr@gmail.com
on 14 May 2012 at 8:18Attachments: