· 6 years ago · Dec 02, 2019, 03:44 PM
1Starting REST API Listening port: 5000
2Starting Kalliope
3Press Ctrl+C for stopping
4Starting order signal
5I'm ready
6Exception in thread <class 'kalliope.signals.order.order.Order'>:
7Traceback (most recent call last):
8 File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
9 self.run()
10 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/signals/order/order.py", line 87, in run
11 self.start_trigger()
12 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 405, in trigger
13 return self.machine._process(func)
14 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 1086, in _process
15 self._transition_queue[0]()
16 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 423, in _trigger
17 return self._process(event_data)
18 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 433, in _process
19 if trans.execute(event_data):
20 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 283, in execute
21 self._change_state(event_data)
22 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 294, in _change_state
23 event_data.machine.get_state(self.dest).enter(event_data)
24 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 140, in enter
25 event_data.machine.callback(handle, event_data)
26 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 1031, in callback
27 func(*event_data.args, **event_data.kwargs)
28 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/signals/order/order.py", line 95, in start_trigger_process
29 self.trigger_instance = TriggerLauncher.get_trigger(settings=self.settings, callback=self.trigger_callback)
30 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/core/TriggerLauncher.py", line 37, in get_trigger
31 resources_dir=trigger_folder)
32 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/core/Utils/Utils.py", line 126, in get_dynamic_class_instantiation
33 mod = __import__(package_path, fromlist=[module_name.capitalize()])
34 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/__init__.py", line 1, in <module>
35 from .snowboy import Snowboy
36 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/snowboy.py", line 6, in <module>
37 from kalliope.trigger.snowboy import snowboydecoder
38 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/snowboydecoder.py", line 7, in <module>
39 from . import snowboydetect
40 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/snowboydetect.py", line 30, in <module>
41 _snowboydetect = swig_import_helper()
42 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/snowboydetect.py", line 26, in swig_import_helper
43 _mod = imp.load_module('_snowboydetect', fp, pathname, description)
44 File "/usr/lib/python3.7/imp.py", line 242, in load_module
45 return load_dynamic(name, filename, file)
46 File "/usr/lib/python3.7/imp.py", line 342, in load_dynamic
47 return _load(spec)
48ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
49
50^C
51
52Ctrl+C pressed. Killing Kalliope
53lloyd@lloyd-pc:~/kalliope_starter_en$ kalliope start --debug
542019-12-02 16:38:49 :: kalliope-0.5.5 :: Logger ready
552019-12-02 16:38:49 :: kalliope-0.5.5 :: kalliope args: Namespace(action='start', brain_file=None, deaf=False, debug=True, git_url=None, neuron_name=None, run_order=None, run_synapse=None, signal_name=None, stt_name=None, trigger_name=None, tts_name=None)
562019-12-02 16:38:49 :: kalliope-0.5.5 :: Try to load file from 1: /home/lloyd/kalliope_starter_en/settings.yml
572019-12-02 16:38:49 :: kalliope-0.5.5 :: File found in /home/lloyd/kalliope_starter_en/settings.yml
582019-12-02 16:38:49 :: kalliope-0.5.5 :: File path to load: /home/lloyd/kalliope_starter_en/settings.yml
592019-12-02 16:38:49 :: kalliope-0.5.5 :: File path to load: /home/lloyd/kalliope_starter_en/settings.yml
602019-12-02 16:38:49 :: kalliope-0.5.5 :: Default STT: google
612019-12-02 16:38:49 :: kalliope-0.5.5 :: Default TTS: pico2wave
622019-12-02 16:38:49 :: kalliope-0.5.5 :: Default Trigger name: snowboy
632019-12-02 16:38:49 :: kalliope-0.5.5 :: Default Player name: mplayer
642019-12-02 16:38:49 :: kalliope-0.5.5 :: Resource directory synapse: {'neuron': 'resources/neurons', 'stt': 'resources/stt', 'tts': 'resources/tts', 'signal': 'resources/signal'}
652019-12-02 16:38:49 :: kalliope-0.5.5 :: [SettingLoader] Neuron resource folder path loaded: resources/neurons
662019-12-02 16:38:49 :: kalliope-0.5.5 :: [SettingLoader] STT resource folder path loaded: resources/stt
672019-12-02 16:38:49 :: kalliope-0.5.5 :: [SettingLoader] TTS resource folder path loaded: resources/tts
682019-12-02 16:38:49 :: kalliope-0.5.5 :: [SettingLoader] Signal resource folder path loaded: resources/signal
692019-12-02 16:38:49 :: kalliope-0.5.5 :: Try to load file from 1: /home/lloyd/kalliope_starter_en/global_variables/variables.yml
702019-12-02 16:38:49 :: kalliope-0.5.5 :: File found in /home/lloyd/kalliope_starter_en/global_variables/variables.yml
712019-12-02 16:38:49 :: kalliope-0.5.5 :: File path to load: /home/lloyd/kalliope_starter_en/global_variables/variables.yml
722019-12-02 16:38:49 :: kalliope-0.5.5 :: [SettingsLoader] Options: {'name': 'Options', 'energy_threshold': 4000, 'adjust_for_ambient_noise_second': 0, 'deaf': False, 'mute': False, 'stt_timeout': 0}
732019-12-02 16:38:49 :: kalliope-0.5.5 :: [SettingsLoader] send_anonymous_usage_stats: 4858032f5f204b60a17e416f5e0035a1
742019-12-02 16:38:49 :: kalliope-0.5.5 :: Try to load file from 1: /home/lloyd/kalliope_starter_en/brain.yml
752019-12-02 16:38:49 :: kalliope-0.5.5 :: File found in /home/lloyd/kalliope_starter_en/brain.yml
762019-12-02 16:38:49 :: kalliope-0.5.5 :: File path to load: /home/lloyd/kalliope_starter_en/brain.yml
772019-12-02 16:38:49 :: kalliope-0.5.5 :: File path to load: /home/lloyd/kalliope_starter_en/brain.yml
78Starting REST API Listening port: 5000
792019-12-02 16:38:49 :: kalliope-0.5.5 :: Starting REST API Listening port: 5000
80Starting Kalliope
812019-12-02 16:38:49 :: kalliope-0.5.5 :: Starting Kalliope
82Press Ctrl+C for stopping
832019-12-02 16:38:49 :: kalliope-0.5.5 :: Press Ctrl+C for stopping
842019-12-02 16:38:49 :: kalliope-0.5.5 :: [Kalliope entrypoint] List of signal class to load: {'order'}
852019-12-02 16:38:49 :: kalliope-0.5.5 :: [Utils]-> get_dynamic_class_instantiation : package path : kalliope.signals.order.order
862019-12-02 16:38:49 :: kalliope-0.5.5 :: [NotificationManager] Add new instance to the manager
87Starting order signal
882019-12-02 16:38:49 :: kalliope-0.5.5 :: Starting order signal
892019-12-02 16:38:49 :: kalliope-0.5.5 :: PlayerLauncher: Start player mplayer with parameters: {}
902019-12-02 16:38:49 :: kalliope-0.5.5 :: [Utils]-> get_dynamic_class_instantiation : package path : kalliope.players.mplayer.mplayer
912019-12-02 16:38:49 :: kalliope-0.5.5 :: [Mplayer.__init__] instance
922019-12-02 16:38:49 :: kalliope-0.5.5 :: [Mplayer.__init__] args : {}
932019-12-02 16:38:49 :: kalliope-0.5.5 :: [HookManager] calling synapses in hook name: on_start
942019-12-02 16:38:49 :: kalliope-0.5.5 :: [HookManager] hook: on_start , type: <class 'str'>
952019-12-02 16:38:49 :: kalliope-0.5.5 :: [SynapseLauncher] start_synapse_by_list_name called with synapse list: ['on-start-synapse']
962019-12-02 16:38:49 :: kalliope-0.5.5 :: [LIFOBuffer] LIFO buffer created
972019-12-02 16:38:49 :: kalliope-0.5.5 :: [LIFOBuffer] Add a new synapse list to process to the LIFO
982019-12-02 16:38:49 :: kalliope-0.5.5 :: [LIFOBuffer] number of synapse list to process: 1
992019-12-02 16:38:49 :: kalliope-0.5.5 :: [LIFOBuffer] number of neuron to process: 1
1002019-12-02 16:38:49 :: kalliope-0.5.5 :: [LIFOBuffer] process_neuron_list: is_api_call: True
1012019-12-02 16:38:49 :: kalliope-0.5.5 :: [NeuronLauncher] replacing brackets from {'message': "I'm ready", 'is_api_call': True}, using {}
1022019-12-02 16:38:49 :: kalliope-0.5.5 :: [NeuronLauncher] replacing brackets from I'm ready, using {}
1032019-12-02 16:38:49 :: kalliope-0.5.5 :: [NeuronLauncher] replacing brackets from True, using {}
1042019-12-02 16:38:49 :: kalliope-0.5.5 :: Run neuron: "{'name': 'say', 'parameters': {'message': "I'm ready", 'is_api_call': True}}"
1052019-12-02 16:38:49 :: kalliope-0.5.5 :: [Utils]-> get_dynamic_class_instantiation : package path : kalliope.neurons.say.say
1062019-12-02 16:38:49 :: kalliope-0.5.5 :: [NeuronModule] TTS args: {'name': 'pico2wave', 'parameters': {'language': 'en-US', 'cache': True}}
1072019-12-02 16:38:49 :: kalliope-0.5.5 :: [NeuronModule] Say() called with message: I'm ready
1082019-12-02 16:38:49 :: kalliope-0.5.5 :: [NeuronModule] message is string
1092019-12-02 16:38:49 :: kalliope-0.5.5 :: [NeuronModule] tts_message to say: I'm ready
110I'm ready
1112019-12-02 16:38:49 :: kalliope-0.5.5 :: I'm ready
1122019-12-02 16:38:49 :: kalliope-0.5.5 :: [Cortex] key saved in memory. key: kalliope_last_tts_message, value: I'm ready
1132019-12-02 16:38:49 :: kalliope-0.5.5 :: [NeuronModule] mute is False, make Kalliope speaking
1142019-12-02 16:38:49 :: kalliope-0.5.5 :: [HookManager] calling synapses in hook name: on_start_speaking
1152019-12-02 16:38:49 :: kalliope-0.5.5 :: [HookManager] hook: on_start_speaking , type: <class 'NoneType'>
1162019-12-02 16:38:49 :: kalliope-0.5.5 :: [SynapseLauncher] start_synapse_by_list_name called with synapse list: None
1172019-12-02 16:38:49 :: kalliope-0.5.5 :: [Utils]-> get_dynamic_class_instantiation : package path : kalliope.tts.pico2wave.pico2wave
1182019-12-02 16:38:49 :: kalliope-0.5.5 :: PlayerLauncher: Start player mplayer with parameters: {}
1192019-12-02 16:38:49 :: kalliope-0.5.5 :: [Utils]-> get_dynamic_class_instantiation : package path : kalliope.players.mplayer.mplayer
1202019-12-02 16:38:49 :: kalliope-0.5.5 :: [Mplayer.__init__] instance
1212019-12-02 16:38:49 :: kalliope-0.5.5 :: [Mplayer.__init__] args : {}
1222019-12-02 16:38:49 :: kalliope-0.5.5 :: Class TTSModule called from module Pico2wave, cache: True, language: en-US, voice: default
1232019-12-02 16:38:49 :: kalliope-0.5.5 :: get_path_to_store_audio return: /tmp/kalliope_tts_cache/Pico2wave/en-US/default/51cdccf36c2b30017317d5fb74e0f766.tts
1242019-12-02 16:38:49 :: kalliope-0.5.5 :: TTSModule, File already in cache: /tmp/kalliope_tts_cache/Pico2wave/en-US/default/51cdccf36c2b30017317d5fb74e0f766.tts
1252019-12-02 16:38:49 :: kalliope-0.5.5 :: Mplayer cmd: ['/usr/bin/mplayer', '-slave', '-quiet', '/tmp/kalliope_tts_cache/Pico2wave/en-US/default/51cdccf36c2b30017317d5fb74e0f766.tts']
1262019-12-02 16:38:50 :: kalliope-0.5.5 :: [HookManager] calling synapses in hook name: on_stop_speaking
1272019-12-02 16:38:50 :: kalliope-0.5.5 :: [HookManager] hook: on_stop_speaking , type: <class 'NoneType'>
1282019-12-02 16:38:50 :: kalliope-0.5.5 :: [SynapseLauncher] start_synapse_by_list_name called with synapse list: None
1292019-12-02 16:38:50 :: kalliope-0.5.5 :: [LIFOBuffer] complete mode
1302019-12-02 16:38:50 :: kalliope-0.5.5 :: [Cortex] Clean temp memory
1312019-12-02 16:38:50 :: kalliope-0.5.5 :: [Order] Entering state: starting_trigger
1322019-12-02 16:38:50 :: kalliope-0.5.5 :: [HookManager] calling synapses in hook name: on_waiting_for_trigger
1332019-12-02 16:38:50 :: kalliope-0.5.5 :: [HookManager] hook: on_waiting_for_trigger , type: <class 'NoneType'>
1342019-12-02 16:38:50 :: kalliope-0.5.5 :: [SynapseLauncher] start_synapse_by_list_name called with synapse list: None
1352019-12-02 16:38:50 :: kalliope-0.5.5 :: TriggerLauncher: Start trigger snowboy with parameters: {'pmdl_file': 'trigger/kalliope-EN-12samples.pmdl', 'callback': <bound method Order.trigger_callback of <Order(<class 'kalliope.signals.order.order.Order'>, started daemon 140061098112768)>>}
1362019-12-02 16:38:50 :: kalliope-0.5.5 :: [Utils]-> get_dynamic_class_instantiation : package path : kalliope.trigger.snowboy.snowboy
137Exception in thread <class 'kalliope.signals.order.order.Order'>:
138Traceback (most recent call last):
139 File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
140 self.run()
141 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/signals/order/order.py", line 87, in run
142 self.start_trigger()
143 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 405, in trigger
144 return self.machine._process(func)
145 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 1086, in _process
146 self._transition_queue[0]()
147 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 423, in _trigger
148 return self._process(event_data)
149 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 433, in _process
150 if trans.execute(event_data):
151 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 283, in execute
152 self._change_state(event_data)
153 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 294, in _change_state
154 event_data.machine.get_state(self.dest).enter(event_data)
155 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 140, in enter
156 event_data.machine.callback(handle, event_data)
157 File "/usr/local/lib/python3.7/dist-packages/transitions-0.7.1-py3.7.egg/transitions/core.py", line 1031, in callback
158 func(*event_data.args, **event_data.kwargs)
159 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/signals/order/order.py", line 95, in start_trigger_process
160 self.trigger_instance = TriggerLauncher.get_trigger(settings=self.settings, callback=self.trigger_callback)
161 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/core/TriggerLauncher.py", line 37, in get_trigger
162 resources_dir=trigger_folder)
163 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/core/Utils/Utils.py", line 126, in get_dynamic_class_instantiation
164 mod = __import__(package_path, fromlist=[module_name.capitalize()])
165 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/__init__.py", line 1, in <module>
166 from .snowboy import Snowboy
167 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/snowboy.py", line 6, in <module>
168 from kalliope.trigger.snowboy import snowboydecoder
169 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/snowboydecoder.py", line 7, in <module>
170 from . import snowboydetect
171 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/snowboydetect.py", line 30, in <module>
172 _snowboydetect = swig_import_helper()
173 File "/usr/local/lib/python3.7/dist-packages/kalliope-0.5.5-py3.7.egg/kalliope/trigger/snowboy/snowboydetect.py", line 26, in swig_import_helper
174 _mod = imp.load_module('_snowboydetect', fp, pathname, description)
175 File "/usr/lib/python3.7/imp.py", line 242, in load_module
176 return load_dynamic(name, filename, file)
177 File "/usr/lib/python3.7/imp.py", line 342, in load_dynamic
178 return _load(spec)
179ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory