You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a GUI application on Windows using pyQt which queries an Oracle database using a connection string such as username/password@host_ip:port/db_name. Now when I run the application using python3 gui.py, it works, connects to the host and extracts the required information but when I compile it to an exe, it gives me the infamous ORA-12638.
I've scoured the interwebs for solutions ie: how to properly package cx_Oracle applications using pyinstaller and have done the following.
Add InstantClient and Qt DLLs to the path
Create a tnsnames.ora in the same folder as the exe
But to no avail.
The program works perfectly when I run it using python3 gui.py but somehow breaks when compiled. Am I missing something simple?
Any and all help would be appreciated. If I've left out something, do let me know I'll edit asap.