Description
Hello, I am having problems to use this macro with my Oracle installation (Windows 2003, Oracle DB 9.2.0.5, python 2.4.3, MoinMoin 1.5.3, cx_oracle 4.1). The error reported by Moin is "DLL load failed: The specified procedure could not be found." and it highlights line 95 in SQL.py (where it does "import cx_Oracle"). It looks like it doesn't find the cx_oracle libraries, not the oracle client libraries). Where is the problem? Could you please help me? Thanks, PaoloM
Sorry for the delay in getting back with you. Unfortunately I have very little Windows experience, so I may not be able to help. A similar issue comes up though on the Unix/Linux side of things.
- Bring up Python and try 'import cx_Oracle'. If this works then there should be some environment variable to set or adjust (perhaps PYTHONPATH? - but you will have to look in your web server documentation) in the web server environment that indicates the location of the cx_Oracle DLL.
- If the above doesn't work, then there is something unusual about the cx_Oracle install that prevents Python from finding the DLL. Search for all files with 'cx_Oracle' in their name. The directory containing the cx_Oracle library (it might have the extension .pyd) should be in you PYTHONPATH environment variable.