OK I managed to get it running but don’t know yet if it works, but at least I got the web admin page to load. A lot of things were broken in the build. Here’s various things I did.
#//// try this first, then below two edits if it doesn’t work.
$ ./.venv/bin/pip install -U networkx
Collecting networkx
Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
#remove the inclusion of np.float, np.int in these files.
#better to determine the correct networkx package version to use TBD:
xed ./.venv/lib/python3.10/site-packages/networkx/readwrite/graphml.py &
xed ./.venv/lib/python3.10/site-packages/networkx/readwrite/gexf.py &
$ ./.venv/bin/pip uninstall markupsafe
$ ./.venv/bin/pip install markupsafe==2.0.1
$ ./.venv/bin/pip install -U aiohttp
$ ./.venv/bin/pip install -U discord
$ ./.venv/bin/pip install -U hypercorn
$ ./rhasspy.sh --profile en
Starting up…
Using virtual environment at /home/sass/Documents/saytoshi/rhasspy/.venv
DEBUG:rhasspysupervisor:Namespace(profile=‘en’, system_profiles=None, user_profiles=PosixPath(‘/home/sass/.config/rhasspy/profiles’), supervisord_conf=‘supervisord.conf’, docker_compose=‘’, local_mqtt_port=12183, mosquitto_path=‘mosquitto’, debug=True)
DEBUG:rhasspysupervisor:Loading profile en (user=/home/sass/.config/rhasspy/profiles, system=None)
DEBUG:rhasspyprofile.profile:Loading /home/sass/Documents/saytoshi/rhasspy/rhasspy-profile/rhasspyprofile/profiles/en/profile.json
DEBUG:rhasspyprofile.profile:Loading /home/sass/.config/rhasspy/profiles/en/profile.json
DEBUG:rhasspysupervisor:Generating supervisord conf
DEBUG:rhasspysupervisor:Microphone disabled (system=dummy)
DEBUG:rhasspysupervisor:Speakers disabled (system=dummy)
DEBUG:rhasspysupervisor:Wake word disabled (system=dummy)
DEBUG:rhasspysupervisor:Speech to text disabled (system=dummy)
DEBUG:rhasspysupervisor:Intent recognition disabled (system=dummy)
DEBUG:rhasspysupervisor:Intent handling disabled (system=dummy)
DEBUG:rhasspysupervisor:Text to speech disabled (system=dummy)
DEBUG:rhasspysupervisor:Dialogue disabled (system=dummy)
DEBUG:rhasspysupervisor:Wrote /home/sass/.config/rhasspy/profiles/en/supervisord.conf
Starting services…
Using virtual environment at /home/sass/Documents/saytoshi/rhasspy/.venv
Using virtual environment at /home/sass/Documents/saytoshi/rhasspy/.venv
2022-12-31 17:43:22,969 INFO supervisord started with pid 15336
/home/sass/Documents/saytoshi/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/main.py:89: DeprecationWarning: There is no current event loop
_LOOP = asyncio.get_event_loop()
Unable to detect CPU capabilities
[DEBUG:2022-12-31 17:43:23,443] rhasspyserver_hermes: Namespace(profile=‘en’, host=‘0.0.0.0’, port=12101, url_root=‘’, mqtt_host=None, mqtt_port=None, mqtt_username=None, mqtt_password=None, local_mqtt_port=12183, system_profiles=None, user_profiles=‘/home/sass/.config/rhasspy/profiles’, set=[], certfile=None, keyfile=None, log_level=‘DEBUG’, log_format=‘[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, web_dir=‘/home/sass/Documents/saytoshi/rhasspy/rhasspy-server-hermes/web’)
/home/sass/Documents/saytoshi/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/main.py:204: DeprecationWarning: ssl.SSLContext() without protocol argument is deprecated.
ssl_context = ssl.SSLContext()
/home/sass/Documents/saytoshi/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/main.py:204: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
ssl_context = ssl.SSLContext()
[DEBUG:2022-12-31 17:43:23,501] rhasspyprofile.profile: Loading /home/sass/Documents/saytoshi/rhasspy/rhasspy-profile/rhasspyprofile/profiles/en/profile.json
[DEBUG:2022-12-31 17:43:23,502] rhasspyprofile.profile: Loading /home/sass/.config/rhasspy/profiles/en/profile.json
[DEBUG:2022-12-31 17:43:23,502] rhasspyprofile.profile: Loading default profile settings from /home/sass/Documents/saytoshi/rhasspy/rhasspy-profile/rhasspyprofile/profiles/defaults.json
[DEBUG:2022-12-31 17:43:23,503] rhasspyserver_hermes: Starting core
[DEBUG:2022-12-31 17:43:23,503] rhasspyserver_hermes: Connecting to localhost:12183 (retries: 0/10)
[ERROR:2022-12-31 17:43:23,505] rhasspyserver_hermes: mqtt connect
Traceback (most recent call last):
File “/home/sass/Documents/saytoshi/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/init.py”, line 290, in start
self.client.connect(self.host, self.port)
File “/home/sass/Documents/saytoshi/rhasspy/.venv/lib/python3.10/site-packages/paho/mqtt/client.py”, line 937, in connect
return self.reconnect()
File “/home/sass/Documents/saytoshi/rhasspy/.venv/lib/python3.10/site-packages/paho/mqtt/client.py”, line 1071, in reconnect
sock = self._create_socket_connection()
File “/home/sass/Documents/saytoshi/rhasspy/.venv/lib/python3.10/site-packages/paho/mqtt/client.py”, line 3522, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File “/usr/lib/python3.10/socket.py”, line 845, in create_connection
raise err
File “/usr/lib/python3.10/socket.py”, line 833, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
2022-12-31 17:43:23,978 INFO spawned: ‘mqtt’ with pid 15345
1672519404: mosquitto version 2.0.11 starting
1672519404: Using default config.
1672519404: Starting in local only mode. Connections will only be possible from clients running on this machine.
1672519404: Create a configuration file which defines a listener to allow remote access.
1672519404: For more details see Authentication methods | Eclipse Mosquitto
1672519404: Opening ipv4 listen socket on port 12183.
1672519404: Opening ipv6 listen socket on port 12183.
1672519404: mosquitto version 2.0.11 running
[DEBUG:2022-12-31 17:43:24,509] rhasspyserver_hermes: Connecting to localhost:12183 (retries: 1/10)
1672519404: New connection from 127.0.0.1:39953 on port 12183.
1672519404: New client connected from 127.0.0.1:39953 as auto-A504A6D1-E466-C411-6915-9DCEAED0729C (p2, c1, k60).
[DEBUG:2022-12-31 17:43:24,521] rhasspyserver_hermes: Connected to MQTT broker
[DEBUG:2022-12-31 17:43:24,522] rhasspyserver_hermes: Subscribed to hermes/hotword/+/detected
[DEBUG:2022-12-31 17:43:24,522] rhasspyserver_hermes: Subscribed to hermes/asr/textCaptured
[DEBUG:2022-12-31 17:43:24,523] rhasspyserver_hermes: Subscribed to hermes/intent/#
[DEBUG:2022-12-31 17:43:24,524] rhasspyserver_hermes: Subscribed to hermes/nlu/intentNotRecognized
[DEBUG:2022-12-31 17:43:24,524] rhasspyserver_hermes: Subscribed to rhasspy/asr/default/+/audioCaptured
[DEBUG:2022-12-31 17:43:24,524] rhasspyserver_hermes: Subscribed to hermes/audioServer/default/audioSummary
[DEBUG:2022-12-31 17:43:24,525] rhasspyserver_hermes: Subscribed to hermes/intent/#
[DEBUG:2022-12-31 17:43:24,526] rhasspyserver_hermes: Subscribed to hermes/nlu/intentNotRecognized
[DEBUG:2022-12-31 17:43:24,526] rhasspyserver_hermes: Subscribed to hermes/audioServer/default/audioSummary
[DEBUG:2022-12-31 17:43:24,526] rhasspyserver_hermes: Subscribed to hermes/asr/textCaptured
[DEBUG:2022-12-31 17:43:24,527] rhasspyserver_hermes: Subscribed to hermes/hotword/+/detected
[DEBUG:2022-12-31 17:43:24,528] rhasspyserver_hermes: Subscribed to rhasspy/asr/default/+/audioCaptured
[INFO:2022-12-31 17:43:24,528] rhasspyserver_hermes: Started
[DEBUG:2022-12-31 17:43:24,529] rhasspyserver_hermes: Starting web server at http://0.0.0.0:12101
[2022-12-31 17:43:24 -0300] [15335] [INFO] Running on http://0.0.0.0:12101 (CTRL + C to quit)
[INFO:2022-12-31 17:43:24,538] hypercorn.error: Running on http://0.0.0.0:12101 (CTRL + C to quit)
2022-12-31 17:43:25,530 INFO success: mqtt entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
TTS is working now but not STT/ASR
logs: https://termbin.com/kt39t