Please, if you don’t find your issue, problem, or error reported here below yet, contact Bella Gardner (i.v.gardner@student.vu.nl) or Jacopo di Matteo (j.m.di.matteo@vu.nl) to inform them about a common problem which other students might also run into.
When you report an issue, please include at least the following:
Short description of your problem (one or two sentences);
the platform that you are using (Windows, Linux, Mac);
the error information/details from your console;
steps to reproduce the problem.
As we go along the course, we will fill this page with common errors we find.
Solved Errors
Installation
Can’t clone repository because of access rights → https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
Libraries and Modules
Redis not found on Windows + VsCode 2 solutions:
Installing WSL can lead to a host of problems, which is why we don't want to promote that. We provided a much simpler solution by providing a redis-server.exe application (which is developed for Windows!). If these students really run on windows, they should try again running the redis-server.exe in a terminal.
Install Redis through WSL (Linux), so naturally it won't be accessible through regular Powershell terminal, therefore before running redis commands I had to connect to WSL Ubuntu (command: wsl -d Ubuntu), and then try to run the redis command, which worked for me.
Shoutout to the student who gave me this solution!
Repository
Intent and Slot Classifier
Training your NLU model but met errors with 'NoneType' although you did developed the model:
Due to how the imports are set up and because the nlu
(intent and slot classifier) service is part of the social-interaction-cloud
python package when you make changes you need to make sure to reinstall the social interaction cloud via pip install .
MARBEL Agent
Unsolved Errors - with Possible Solutions
Issue with PyAudio (on MacBook):
Try: conda install portaudio pyaudio
(if this works, please let us know, so we can mark this issue to resolved)
Microphone issue:
Error similar to the one below, related to DesktopMicrophoneSensor
. Most likely, this happens when you try to access the microphone more than once. Make sure you don’t run the code in more than one environment simultaneously.
Completely Unsolved Errors
I've been running into this issue the whole day and haven't managed to fix it.
Issue:
When running dialogflow, the script cannot connect with the redis server, even though the redis server is running. I've attempted nearly all possible modifications of the conf files. I had managed to run all the scripts once, but then had to restart my pc to fix the microphone issue and I didn't manage to connect to the redis server from dialogflow since.ss of server launched:
<image.png>Platform:
Windows, installed Redis on Ubuntu (WSL 2)
Console feedback:
PS D:\docs\uni-folder\2024-2025\project-conversational-agents\agent-group_i1> run-dialogflow
Turbojpeg not found, falling back to PILTraceback (most recent call last):
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\connection.py", line 592, in read_response
response = self._parser.read_response(disable_decoding=disable_decoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\_parsers\resp2.py", line 15, in read_response
result = self._read_response(disable_decoding=disable_decoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\_parsers\resp2.py", line 25, in _read_response
raw = self._buffer.readline()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\_parsers\socket.py", line 115, in readline
self._read_from_socket()
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\_parsers\socket.py", line 65, in _read_from_socket
data = self._sock.recv(socket_read_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\sic_framework\core\sic_redis.py", line 118, in __init__
self._redis.ping()
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\commands\core.py", line 1212, in ping
return self.execute_command("PING", **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\client.py", line 559, in execute_command
return self._execute_command(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\client.py", line 565, in _execute_command
conn = self.connection or pool.get_connection(command_name, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\connection.py", line 1422, in get_connection
connection.connect()
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\connection.py", line 369, in connect
self.on_connect()
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\connection.py", line 434, in on_connect
auth_response = self.read_response()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\redis\connection.py", line 600, in read_response
raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:6379 : (10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\hleca\miniconda3\envs\PCA25\Scripts\run-dialogflow.exe\__main__.py", line 7, in <module>
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\sic_framework\services\dialogflow\dialogflow.py", line 347, in main
SICComponentManager([DialogflowComponent])
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\sic_framework\core\component_manager_python2.py", line 56, in __init__
self.redis = SICRedis()
^^^^^^^^^^
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\sic_framework\core\sic_redis.py", line 126, in __init__
six.reraise(Exception, e, None)
File "C:\Users\hleca\miniconda3\envs\PCA25\Lib\site-packages\six.py", line 719, in reraise
raise value
Exception: Could not connect to redis at 127.0.0.1
Have you started redis? Use: `redis-server conf/redis/redis.conf`
Steps to reproduce:
open a wsl interface and initialize the redis server from the config file provided in the GH repo (can also not do this, same error happens). Like this
<image.png>attempt to run-dialogflow. Ensure that PCA25 venv is on.
fallback into PIL, leads to connection failure with redis.