rcbyron / hey-athena-client

Your personal voice assistant
https://heyathena.com
MIT License
421 stars 98 forks source link

Wrong AVBin 10 version (32 bit vs 64 bit) #32

Closed rcbyron closed 8 years ago

rcbyron commented 8 years ago

Unexpected error loading library libavbin.so.10: libavbin.so.10: wrong ELF class: ELFCLASS64 Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/pyglet/init.py", line 351, in getattr return getattr(self._module, name) AttributeError: 'NoneType' object has no attribute 'load'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/athena/brain.py", line 202, in run text = stt.active_listen() File "/usr/local/lib/python3.4/dist-packages/athena/stt.py", line 59, in active_listen tts.play_mp3('double-beep.mp3') File "/usr/local/lib/python3.4/dist-packages/athena/tts.py", line 28, in play_mp3 sound = pyglet.resource.media(file_name, streaming=False) File "/usr/local/lib/python3.4/dist-packages/pyglet/resource.py", line 629, in media return media.load(path, streaming=streaming) File "/usr/local/lib/python3.4/dist-packages/pyglet/init.py", line 357, in getattr import(import_name) File "/usr/local/lib/python3.4/dist-packages/pyglet/media/init.py", line 1492, in from . import avbin File "/usr/local/lib/python3.4/dist-packages/pyglet/media/avbin.py", line 62, in av = pyglet.lib.load_library(av) File "/usr/local/lib/python3.4/dist-packages/pyglet/lib.py", line 135, in load_library lib = ctypes.cdll.LoadLibrary(name) File "/usr/lib/python3.4/ctypes/init.py", line 429, in LoadLibrary return self._dlltype(name) File "/usr/lib/python3.4/ctypes/init.py", line 351, in init self._handle = _dlopen(self._name, mode) OSError: libavbin.so.10: wrong ELF class: ELFCLASS64

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.4/dist-packages/athena/main.py", line 4, in brain.inst.run() File "/usr/local/lib/python3.4/dist-packages/athena/brain.py", line 217, in run raise Exception Exception

rcbyron commented 8 years ago

Fix by switching from 64 bit to 32 bit or vice versa.