Open adocampo opened 5 years ago
Make sure you have set the corpus path in docker-compose.yml. Also I assume you have tried using 'english_corpus_no_dups.csv', it has an empty line because of which you have that error. Pull the latest code and give it a shot. Let us know if you still have any issue.
I got a similar error on windows. the batch script is broken, had to fix many things to make it work. But a major error was UnicodeDecodeError: 'charmap' codec can't decode byte 0x99 in position 1683: character maps to <undefined>
which I narrowed down to the corpus file not being read at utf-8, changing line 80 in file_system.py to with open(prompts_path, 'r', encoding="utf8") as f:
include utf-8 fixed the problem of the backend not starting
I had the same issue when accessing not by localhost url. Try the following on your local computer.
autossh -L 3000:localhost:3000 DestinationIPFrontend autossh -L 5000:localhost:5000 DestinationIPBackend
Then recording with http://localhost:3000 in your local browser should work. Thanks to mycroft community member @gras64 for this tip.
check index.js file in api folder in frontend. in there apiRoot is mentioned as localhost change the localhost to your backend running IP.
I am assuming this code has never been fixed because a) this ticket is still open and b) I just got this error in 2023. Feels like this product needs some love if even the prebuilt dockers don't work properly. Seems to be a lot of bugs which have simple (for a developer) fixes.
I've just installed MRS on Linux with docker. So far it builds everything and I have two new containers:
My docker instances are on a NAS server (192.168.1.100) and I'm accessing it with my network computers (192.168.1.0/24). My mrs-backend IP is 172.21.0.2/16 while the mrs-frontend is 172.21.0.3/16. I can ping between them through IP and hostname as expected. I can also telnet to ports 5000 and 3000 of my docker host from my network computers.
So far, I can connect to the frontend just fine. But when I go to start recording, a error loading prompt... is the backend running? message appears on the screen![image](https://user-images.githubusercontent.com/2266612/54560290-516b9980-49c2-11e9-9887-8e007539c716.png)
On the
/src/prompts/
I have both theenglish_corpus.csv
andenglish_corpus_no_dups.csv
files.So, I'm a bit lost, becasue logs shows no errors