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
This error occurs after freezing an application using cx_freeze, which utilises PyUPC-EAN.
The full error message:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in
exec(code, m.dict)
File "datastar.py", line 23, in
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 2237, in _find_and_load
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 2226, in _find_and_load_unlocked
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 1191, in load_unlocked
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 1161, in load_backward_compatible
File "C:\Python34\lib\site-packages\pyupc_ean-2.7.15-py3.4.egg\upcean__init.py", line 40, in
import upcean.validate, upcean.convert, upcean.support, upcean.getprefix, upcean.oopfuncs;
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 2237, in _find_and_load
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 2226, in _find_and_load_unlocked
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 1191, in load_unlocked
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 1161, in load_backward_compatible
File "C:\Python34\lib\site-packages\pyupc_ean-2.7.15-py3.4.egg\upcean\oopfuncs__init.py", line 19, in
from upcean.oopfuncs.oopfuncs import *;
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 2237, in _find_and_load
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 2226, in _find_and_load_unlocked
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 1191, in load_unlocked
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 1161, in load_backward_compatible
File "C:\Python34\lib\site-packages\pyupc_ean-2.7.15-py3.4.egg\upcean\oopfuncs\oopfuncs.py", line 20, in
import upcean.fonts, upcean.xml, upcean.barcodes;
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 2237, in find_and_load
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 2226, in find_and_load_unlocked
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 1191, in load_unlocked
File "c:\python\32-bit\3.4\lib\importlib_bootstrap.py", line 1161, in load_backward_compatible
File "C:\Python34\lib\site-packages\pyupc_ean-2.7.15-py3.4.egg\upcean\fonts__init.py", line 26, in
fontpathocra = pkg_resources.resource_filename(name, "OCRA.otf");
File "C:\Python34\lib\site-packages\pkg_resources__init.py", line 1171, in resource_filename
self, resource_name
File "C:\Python34\lib\site-packages\pkg_resources__init.py", line 1872, in get_resource_filename
"resource_filename() only supported for .egg, not .zip"
NotImplementedError: resource_filename() only supported for .egg, not .zip
The text was updated successfully, but these errors were encountered:
This error occurs after freezing an application using cx_freeze, which utilises PyUPC-EAN.
The full error message:
The text was updated successfully, but these errors were encountered: