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
Kaldi-Active-Grammar v3.1.0: If this free, open source engine is valuable to you, please consider donating https://github.com/daanzu/kaldi-active-grammar Disable message by calling `kaldi_active_grammar.disable_donation_message()`Traceback (most recent call last): File "/home/silvio/kaldi/full_example.py", line 10, in <module> compiler = kaldi_active_grammar.Compiler(model_dir=model_dir, tmp_dir=tmp_dir) File "/nix/store/incraiihd7bdwvrgh46kz5648bf4ks27-python3-3.9.12-env/lib/python3.9/site-packages/kaldi_active_grammar/compiler.py", line 270, in __init__ NativeWFST.init_class( File "/nix/store/incraiihd7bdwvrgh46kz5648bf4ks27-python3-3.9.12-env/lib/python3.9/site-packages/kaldi_active_grammar/wfst.py", line 202, in init_class cls.init_ffi() File "/nix/store/incraiihd7bdwvrgh46kz5648bf4ks27-python3-3.9.12-env/lib/python3.9/site-packages/kaldi_active_grammar/ffi.py", line 35, in init_ffi cls._lib = _ffi.init_once(cls._init_ffi, cls.__name__ + '._init_ffi') File "/nix/store/incraiihd7bdwvrgh46kz5648bf4ks27-python3-3.9.12-env/lib/python3.9/site-packages/cffi/api.py", line 749, in init_once result = func() File "/nix/store/incraiihd7bdwvrgh46kz5648bf4ks27-python3-3.9.12-env/lib/python3.9/site-packages/kaldi_active_grammar/ffi.py", line 40, in _init_ffi return _ffi.dlopen(_library_binary_path) File "/nix/store/incraiihd7bdwvrgh46kz5648bf4ks27-python3-3.9.12-env/lib/python3.9/site-packages/cffi/api.py", line 150, in dlopen lib, function_cache = _make_ffi_library(self, name, flags) File "/nix/store/incraiihd7bdwvrgh46kz5648bf4ks27-python3-3.9.12-env/lib/python3.9/site-packages/cffi/api.py", line 832, in _make_ffi_library backendlib = _load_backend_lib(backend, libname, flags) File "/nix/store/incraiihd7bdwvrgh46kz5648bf4ks27-python3-3.9.12-env/lib/python3.9/site-packages/cffi/api.py", line 827, in _load_backend_lib raise OSError(msg)OSError: cannot load library '/nix/store/w6qjl5zfygzyica619imp2pvpy7hydyf-kaldi-kag-v2.1.0/lib/libkaldi-dragonfly.so': libstdc++.so.6: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called '/nix/store/w6qjl5zfygzyica619imp2pvpy7hydyf-kaldi-kag-v2.1.0/lib/libkaldi-dragonfly.so'
Describe the bug
I'm trying to run the example script https://raw.githubusercontent.com/daanzu/kaldi-active-grammar/master/examples/full_example.py, but I get the following error:
Steps To Reproduce
Steps to reproduce the behavior:
nix develop
into this flake:wget https://raw.githubusercontent.com/daanzu/kaldi-active-grammar/master/examples/full_example.py
python full_example.py
Expected behavior
I'm trying out the software for the first time, so I didn't know what to expect, but I guess I didn't expect this error.
Additional context
I tried nixpkgs master first, but there,
kaldi-kag
wouldn't build.Notify maintainers
@ckiee
Metadata
The text was updated successfully, but these errors were encountered: