ibm_db 2.0.6 :: NotImplementedError: resource_filename() only supported for .egg, not .zip

377 views
Skip to first unread message

mohd ejaz Siddiqui

unread,
Mar 22, 2016, 11:38:24 PM3/22/16
to ibm_db
hi,

I am using ibm_db 2.0.6 package for my GUI application written in Python/Tkinter.
It works fine when I run the application through Python Interpreter.

But I get this error after I run a .exe successfully created out of this through cx_Freeze.

Error:

NotImplementedError: resource_filename() only supported for .egg, not .zip



Could please suggest how can this be resolved?

ibm_db Files in my site-packages:

C:\Python27\Lib\site-packages\ibm_db_dlls
C:\Python27\Lib\site-packages\ibm_db-2.0.6-py2.7.egg-info
C:\Python27\Lib\site-packages\ibm_db.py
C:\Python27\Lib\site-packages\ibm_db_dbi.py

I have searched for solutions to this, where people suggest to create a .zip file and place the .egg file inside of the .zip file.
It didn't work for me, or not sure if I did it correctly.

Error screenshot is below -




ibrac...@gmail.com

unread,
Nov 13, 2018, 8:03:15 AM11/13/18
to ibm_db
hi,
i have same error now with ibm_db.2.0.9. 
Have you found a solving ?

Thanks for your sharing.

Saba Kauser

unread,
Nov 13, 2018, 8:08:25 AM11/13/18
to ibm_db
Hello,
Could you please share exact reproduction steps for me to try this out and see what I could do to help you.
Reply all
Reply to author
Forward
0 new messages