- 
                Notifications
    You must be signed in to change notification settings 
- Fork 7
Description
I run tibo index in ubuntu 20.04.2 and python3.12, but it occurs error: OSError:***/.local/lib/python3.12/site-packages/tibo/indexing/call_graph_utils/typescript/build/typescript.so: invalid ELF header
Failed to load TypeScript language: /home/smb/.local/lib/python3.12/site-packages/tibo/indexing/call_graph_utils/typescript/build/typescript.so: invalid ELF header Ensure the .so file is built and the path is correct. See setup instructions. Traceback (most recent call last): File "/home/smb/.local/bin/tibo", line 5, in <module> from tibo.cli import cli File "/home/smb/.local/lib/python3.12/site-packages/tibo/cli.py", line 6, in <module> from tibo.indexing.indexing import index_project File "/home/smb/.local/lib/python3.12/site-packages/tibo/indexing/indexing.py", line 3, in <module> from .call_graph_utils.call_graph import generate_call_graph, get_project_structure File "/home/smb/.local/lib/python3.12/site-packages/tibo/indexing/call_graph_utils/call_graph.py", line 9, in <module> from .typescript.call_graph_ts import extract_ts_project_structure_and_call_graph File "/home/smb/.local/lib/python3.12/site-packages/tibo/indexing/call_graph_utils/typescript/call_graph_ts.py", line 5, in <module> from .ParserClassTS import CodeStructureExtractor, CallGraphExtractor File "/home/smb/.local/lib/python3.12/site-packages/tibo/indexing/call_graph_utils/typescript/ParserClassTS.py", line 11, in <module> TS_LANGUAGE = Language(TS_LANGUAGE_PATH, "typescript") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/smb/.local/lib/python3.12/site-packages/tree_sitter/__init__.py", line 132, in __init__ self.lib = cdll.LoadLibrary(fspath(path_or_ptr)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/etc/python3.12/lib/python3.12/ctypes/__init__.py", line 460, in LoadLibrary return self._dlltype(name) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/etc/python3.12/lib/python3.12/ctypes/__init__.py", line 379, in __init__ self._handle = _dlopen(self._name, mode) ^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: /home/smb/.local/lib/python3.12/site-packages/tibo/indexing/call_graph_utils/typescript/build/typescript.so: invalid ELF header