-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
Description
Hey Everyone,
The latest 0.8.0 release seems to have broken C bindings for this package. I am facing issues when installing and using the latest version from pypi.
The redacted traceback for the error I am facing is detailed below.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/ggevent.py", line 146, in init_process
super().init_process()
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 135, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 147, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 57, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 370, in import_app
mod = importlib.import_module(module)
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/src/app/wsgi.py", line 1, in <module>
from <redacted> import handler
File "<redacted>", line 18, in <module>
from <redacted> import <redacted>
File "<redacted>/c2pa_service.py", line 1, in <module>
import c2pa
File "/usr/local/lib/python3.10/site-packages/c2pa/__init__.py", line 1, in <module>
from .c2pa import * # NOQA
File "/usr/local/lib/python3.10/site-packages/c2pa/c2pa.py", line 570, in <module>
_UniFFILib.uniffi_c2pa_fn_free_reader.argtypes = (
File "/usr/local/lib/python3.10/ctypes/__init__.py", line 387, in __getattr__
func = self.__getitem__(name)
File "/usr/local/lib/python3.10/ctypes/__init__.py", line 392, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/local/lib/python3.10/site-packages/c2pa/libuniffi_c2pa.so: undefined symbol: uniffi_c2pa_fn_free_reader
The core error is AttributeError: /usr/local/lib/python3.10/site-packages/c2pa/libuniffi_c2pa.so: undefined symbol: uniffi_c2pa_fn_free_reader
Downgrading to 0.6.1 solves this issue.
atlas-editor