Open ErikTromp opened 5 years ago
I am facing the same issue when the domain.yml contains some german umlauts
We ended up just not using Rasa X
Im also Facing the same issue.
I just ran into the same issue - did anyone find a possible solution or workaround so far?
EDIT: The underlying issue is that python by default writes to files with the system code page, unless an override is provided, and rasa does not specificy UTF8. Additionally, when loading the domain.yml file rasa first reformats and saves it, before actually loading and parsing it, during the first step we lose the encoding, and when loading we are no longer UTF8 causing the error.
Workaround: (Python 3.7+ only) set the environment variable PYTHONUTF8
to 1
before running rasa, this forces python to use utf8 as default encoding. On Windows: set PYTHONUTF8=1
Solved? I ran into a similar issue and realized that there was dot-file-debris left by my mac when ssh-ing into my rasa data-directory. I deleted these hidden files to resolve the issue.
Main point: Be sure there are no hidden files in the rasa data directory!
Not sure where to put this as it is a Rasa-X error and not this demo per se, but I get this when I use a domain.yml file with UTF8 encoding on Windows and some special characters (like é):
What seems to happen is: