-
Notifications
You must be signed in to change notification settings - Fork 0
/
troubleshooting.txt
40 lines (26 loc) · 1.75 KB
/
troubleshooting.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Additional resource: https://pypi.org/project/SpeechRecognition/#:~:text=install%20openai.-,Troubleshooting,-The%20recognizer%20tries
This might address some errors you could encounter which aren't mentioned below
-------------------------------------------------------------------------------------------
Check the "connection.log" file in the directory and see the relevant information below
1. Connection Refused Error
Prompt:
Windows: ERROR __main__ [WinError 1225] The remote computer refused the network connection
Linux: ERROR __main__ [Errno 111] Connect call failed ('127.0.0.1', 4212)
Possible cause(s): The IP Address of the host machine OR/AND port is incorrect OR/AND VLC Media Player is not running.
Fix:
(i) Delete config.json
(ii) Run 'setup.py' and generate new config.json
(iii) Additionally you can open config.json in text editor and verify the correct details
----------------------------------------------------------------
2. Configuration file not found error
Prompt: ERROR __main__ [Errno 2] No such file or directory: 'config.json'
Possible cause: You executed 'connection.py' before 'setup.py' hence, config.json doesn't exist in the script directory.
Fix: Run 'setup.py' and generate new config.json before running 'connection.py'
----------------------------------------------------------------
3. JSONDecodeError
Prompt: ERROR __main__ Expecting value: line 1 column 1 (char 0)
Possible cause: The config.json file is empty.
Fix: Run 'setup.py' and generate new config.json with correct details. Additionally, you can verify using a text editor that correct details are saved.
Possible MacOS installation issues:
1. When running req.sh there is an error message saying "pip3 command not found".
This indicates that pip3 is not installed with Python.