Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running tests or opening AAF results in Segmentation Fault 11 #31

Open
kevkelsey opened this issue Nov 28, 2016 · 0 comments
Open

Running tests or opening AAF results in Segmentation Fault 11 #31

kevkelsey opened this issue Nov 28, 2016 · 0 comments

Comments

@kevkelsey
Copy link

Hi,

So I've attempted to clone and setup twice now, with the master branch and the dev branch. I am on OSX 10.12.1 (Sierra) with Python 3.5.2. When running setup.py I get a lot of warnings of this sort:

aaf/storage.cpp:12158:33: warning: unused function '__Pyx_PyInt_FromSize_t'
[-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {

After the install completes I attempt to do "import aaf" and I get:

dlopen() failed for libcom-api.dylib: <dlopen(libcom-api.dylib, 2): image not found>
dlopen() failed for libcom-api.dylib: <dlopen(libcom-api.dylib, 2): image not found>
Traceback (most recent call last):
File "/Users/Kev/Dropbox/Programming/PyAAF/tests/test_ClassDef.py", line 2, in
import aaf
File "/Users/Kev/anaconda/lib/python3.5/aaf/init.py", line 8, in
core.register_all(path)
File "aaf/core.pyx", line 19, in aaf.core.register_all (aaf/core.cpp:1162)
File "aaf/util.pyx", line 23, in aaf.util.error_check (aaf/util.cpp:1790)
RuntimeError: failed with [-2146302976]: Unknown Error

I fixed that by doing this:

Kev$ export LD_LIBRARY_PATH=/Programming/AAF-devel-libs-x86_64Darwin-1.1.6.0/bin

After that I was able to import AAF (had to copy the "aaf" folder to my Python folder), but each time I try to do aaf.open I get "Segmentation Fault: 11" and Python dies. What did I do wrong here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant