question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Garbled when I use rasax to add Chinese templates

See original GitHub issue

Rasa version: 1.1.6 Rasa X version (if used & relevant): 0.19.5 Python version: 3.6.8 Operating system (windows, osx, …): windows Issue:

Garbled when I use rasax to add Chinese templates,Unable to start when I restart rasax, prompt coding problem

Error (including full traceback):

Traceback (most recent call last):
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\xuexi\Anaconda3\envs\rasax\Scripts\rasa.exe\__main__.py", line 9, in <module>
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\__main__.py", line 76, in main
    cmdline_arguments.func(cmdline_arguments)
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\cli\x.py", line 291, in rasa_x
    run_locally(args)
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\cli\x.py", line 315, in run_locally
    _validate_rasa_x_start(args, project_path)
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\cli\x.py", line 262, in _validate_rasa_x_start
    _validate_domain(os.path.join(project_path, DEFAULT_DOMAIN_PATH))
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\cli\x.py", line 275, in _validate_domain
    Domain.load(domain_path)
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\core\domain.py", line 72, in load
    other = cls.from_path(path, skill_imports)
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\core\domain.py", line 86, in from_path
    domain = cls.from_file(path)
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\core\domain.py", line 99, in from_file
    return cls.from_yaml(rasa.utils.io.read_file(path))
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\site-packages\rasa\utils\io.py", line 130, in read_file
    return f.read()
  File "c:\users\xuexi\anaconda3\envs\rasax\lib\codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 707: invalid continuation byte

image image

Command or request that led to error:

rasa x

Content of configuration file (config.yml) (if relevant):


Content of domain file (domain.yml) (if relevant):


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tmbocommented, Sep 19, 2019

this should be fixed in 0.20.3

1reaction
zesherkcommented, Sep 11, 2019

We are working on a fix for the issue. Will let you know once a patch is released 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apply a template to an existing presentation - Microsoft Support
Apply the template to existing slides, if any · Open the file that contains the existing slides. · Click the thumbnail pane and...
Read more >
Free templates about China for Google Slides and PowerPoint
Let's get to know the Chinese culture better with these Google Slides themes & PowerPoint templates! ✓ Free ✓ Easy to edit ✓...
Read more >
Standard vs. Widescreen PowerPoint Templates
Do you ever wonder why there are two, or get confused about when to use each format? In this blog, we'll answer those...
Read more >
Online PPT Maker - Free PowerPoint Alternative - Canva
1. Open up Canva and search for "Presentation" to create your own design. 2. Explore our vast library of simple presentations, educational slideshows,...
Read more >
PowerPoint Templates: Brand Tools - Northwestern University
Chinese Version. Description: PowerPoint Presentation highlighting Northwestern's global reach and impact including rankings, key partnerships, programs, awards ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found