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

Big Sur #16

Open
distamio opened this issue Apr 21, 2021 · 2 comments
Open

Big Sur #16

distamio opened this issue Apr 21, 2021 · 2 comments

Comments

@distamio
Copy link

Hi, after updating to Big Sur I can't make it to work. I get the error message below. Any advice appreciated.
Thanks,
Dimitris

Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/ads2bibdesk", line 33, in
sys.exit(load_entry_point('ads2bibdesk==0.2.dev3', 'console_scripts', 'ads2bibdesk')())
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/ads2bibdesk", line 25, in importlib_load_entry_point
return next(matches).load()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ads2bibdesk/ads2bibdesk.py", line 22, in
from .bibdesk import BibDesk
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ads2bibdesk/bibdesk.py", line 5, in
import AppKit # from pyobjc-framework-Cocoa
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/AppKit/init.py", line 10, in
import Foundation
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/Foundation/init.py", line 9, in
import CoreFoundation
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/CoreFoundation/init.py", line 9, in
import objc
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/objc/init.py", line 6, in
from . import _objc
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/objc/_objc.cpython-39-darwin.so, 2): Symbol not found: _ffi_find_closure_for_code_np
Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/objc/_objc.cpython-39-darwin.so
Expected in: flat namespace
in /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/objc/_objc.cpython-39-darwin.so

@r-xue
Copy link
Owner

r-xue commented Sep 9, 2021

Sorry that I missed your report... Does the issue persist?

It seems that you're using MacPorts and have the packages installed in the site-package area of its Py39 (which I usually avoid). Did you reinstall MacPorts after the Big Sur upgrade?

@distamio
Copy link
Author

hi, yes the problem seems to have disappeared. Probably some package was updated at some point. thanks

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

2 participants