openassistant / oa-core

Open Assistant Core
http://openassistant.org
GNU General Public License v3.0
293 stars 77 forks source link

PocketSphinx Missing Attribute #23

Closed emeri1md closed 4 years ago

emeri1md commented 4 years ago

Getting the following:

ERROR MainThread [agent.py:_load_modules:42]: Error loading speech_recognition: module 'pocketsphinx._pocketsphinx' has no attribute 'SegmentIterator_ptr_get'

Just installed PocketSphinx 5prealpha-10 today.

Leads to this:

INFO mind [init.py:load_minds:54]: Loading minds... File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/matt/Code/oa-core/oa/main.py", line 113, in config=args.config_file, [2019-10-01 02:23:35,171] INFO mind [init.py:load_minds:58]: <- boot.py File "/home/matt/Code/oa-core/oa/main.py", line 80, in start a = LoadAssistant(config=kwargs.get('config')) File "/home/matt/Code/oa-core/oa/main.py", line 54, in LoadAssistant a.parts[_in].output += [a.parts[_out]] File "/home/matt/Code/oa-core/oa/core/util.py", line 89, in getitem return getattr(self, key) AttributeError: 'Core' object has no attribute 'speech_recognition'

All other lines are INFO.

Is this a bad install? Using pacman-manager in Manjaro. The Git clone and prereq setup went fine.

emeri1md commented 4 years ago

I ended up installing Arch over Manjaro and am in the process of installing OpenAssistant again. Ran into another error, which I'll document as another issue after closing this one.