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
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
Traceback (most recent call last):
File "bug.py", line 4, in <module>
foo = pinject.new_object_graph()
File "/Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/site-packages/pinject/object_graph.py", line 105, in new_object_graph
found_classes = finding.find_classes(modules, classes)
File "/Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/site-packages/pinject/finding.py", line 32, in find_classes
all_classes |= _find_classes_in_module(module)
File "/Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/site-packages/pinject/finding.py", line 47, in _find_classes_in_module
for member_name, member in inspect.getmembers(module):
File "/Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/inspect.py", line 252, in getmembers
value = getattr(object, key)
File "/Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/_vendor/six.py", line 92, in __get__
result = self._resolve()
File "/Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/_vendor/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/_vendor/six.py", line 82, in _import_module
__import__(name)
ImportError: dlopen(/Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/gdbm.so, 2): Symbol not found: _gdbm_errno
Referenced from: /Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/gdbm.so
Expected in: /usr/local/opt/gdbm/lib/libgdbm.4.dylib
in /Users/bob/.pyenv/versions/2.7.13/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/gdbm.so
Environment:
rdflib 4.2.2
pinject 0.10.2
python 2.7.13 (MacOS) and 2.7.14 (Amazon Linux)
As a workaround, I'm passing a list of modules to new_object_graph to exclude rdflib, and that seems to be working so far.
Thank you for this awesome library. Other than this one small hiccup, it has been working very well, doing exactly what I would expect it to do.
The text was updated successfully, but these errors were encountered:
Sample code:
Running this results in the following traceback:
Environment:
As a workaround, I'm passing a list of modules to
new_object_graph
to exclude rdflib, and that seems to be working so far.Thank you for this awesome library. Other than this one small hiccup, it has been working very well, doing exactly what I would expect it to do.
The text was updated successfully, but these errors were encountered: