Error on master training

Hello everybody,

When I train the master assistant, I got a red error popin message at the bottom of the screen :slight_smile:
<html> <head><title>405 Not Allowed</title></head> <body> <center><h1>405 Not Allowed</h1></center> <hr><center>nginx</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

However it is not really helpful, I don’t know what triggers this error and how can I solve it ?

on the docker master container, I got these logs:
return await handler(**request_.view_args)

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py", line 88, in send_static_file                                                                  

    return await send_from_directory(self.static_folder, filename)                                                                                                   

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py", line 161, in send_from_directory                                                              

    file_path = safe_join(directory, file_name)                                                                                                                      

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py", line 131, in safe_join                                                                        

    raise NotFound()                                                                                                                                                 

quart.exceptions.NotFound: NotFound(404)                                                                                                                             

[ERROR:2020-06-26 15:53:55,779] rhasspyserver_hermes: NotFound(404)                                                                                                  

Traceback (most recent call last):                                                                                                                                   

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py", line 129, in safe_join                                                                        

    full_path = file_path_to_path(directory, *paths).resolve(strict=True)                                                                                            

  File "/usr/lib/python3.7/pathlib.py", line 1151, in resolve                                                                                                        

    s = self._flavour.resolve(self, strict=strict)                                                                                                                   

  File "/usr/lib/python3.7/pathlib.py", line 355, in resolve                                                                                                         

    return _resolve(base, str(path)) or sep                                                                                                                          

  File "/usr/lib/python3.7/pathlib.py", line 339, in _resolve                                                                                                        

    target = accessor.readlink(newpath)                                                                                                                              

  File "/usr/lib/python3.7/pathlib.py", line 437, in readlink                                                                                                        

    return os.readlink(path)                                                                                                                                         

FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/rhasspy/lib/python3.7/site-packages/swagger_ui/static/events'                                      

                                                                                                                                                                     

During handling of the above exception, another exception occurred:                                                                                                  

                                                                                                                                                                     

Traceback (most recent call last):                                                                                                                                   

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/app.py", line 1821, in full_dispatch_request                                                              

    result = await self.dispatch_request(request_context)                                                                                                            

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request                                                                   

    return await handler(**request_.view_args)                                                                                                                       

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py", line 88, in send_static_file                                                                  

    return await send_from_directory(self.static_folder, filename)                                                                                                   

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py", line 161, in send_from_directory                                                              

    file_path = safe_join(directory, file_name)                                                                                                                      

  File "/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py", line 131, in safe_join                                                                        

    raise NotFound()                                                                                                                                                 

quart.exceptions.NotFound: NotFound(404)

I tried to change the NLU manager from snips to RASA. Still, I get the same error… Here is the logs triggerred by this event :slight_smile:
`[DEBUG:2020-07-03 10:34:15,426] rhasspyasr_kaldi_hermes: -> AsrTrainSuccess(id=‘d5634c95-fca0-4dbe-a4ca-0ceeee97ffca’)
[DEBUG:2020-07-03 10:34:15,427] rhasspyasr_kaldi_hermes: Publishing 46 bytes(s) to rhasspy/asr/master/trainSuccess
[DEBUG:2020-07-03 10:34:15,430] rhasspyserver_hermes: Handling AsrTrainSuccess (topic=rhasspy/asr/master/trainSuccess, id=34dee97f-2ce3-47b5-9418-1b8258eb4044)
[ERROR:2020-07-03 10:34:19,345] rhasspyserver_hermes: NotFound(404)
Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py”, line 129, in safe_join
full_path = file_path_to_path(directory, *paths).resolve(strict=True)
File “/usr/lib/python3.7/pathlib.py”, line 1151, in resolve
s = self._flavour.resolve(self, strict=strict)
File “/usr/lib/python3.7/pathlib.py”, line 355, in resolve
return _resolve(base, str(path)) or sep
File “/usr/lib/python3.7/pathlib.py”, line 339, in _resolve
target = accessor.readlink(newpath)
File “/usr/lib/python3.7/pathlib.py”, line 437, in readlink
return os.readlink(path)
FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/lib/rhasspy/lib/python3.7/site-packages/swagger_ui/static/events’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/quart/app.py”, line 1821, in full_dispatch_request
result = await self.dispatch_request(request_context)
File “/usr/lib/rhasspy/lib/python3.7/site-packages/quart/app.py”, line 1869, in dispatch_request
return await handler(**request_.view_args)
File “/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py”, line 88, in send_static_file
return await send_from_directory(self.static_folder, filename)
File “/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py”, line 161, in send_from_directory
file_path = safe_join(directory, file_name)
File “/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py”, line 131, in safe_join
raise NotFound()
quart.exceptions.NotFound: NotFound(404)
[ERROR:2020-07-03 10:34:26,909] rhasspyserver_hermes: NotFound(404)
Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/quart/static.py”, line 129, in safe_join
full_path = file_path_to_path(directory, *paths).resolve(strict=True)
File “/usr/lib/python3.7/pathlib.py”, line 1151, in resolve
s = self._flavour.resolve(self, strict=strict)
File “/usr/lib/python3.7/pathlib.py”, line 355, in resolve
return _resolve(base, str(path)) or sep
File “/usr/lib/python3.7/pathlib.py”, line 339, in _resolve
target = accessor.readlink(newpath)
File “/usr/lib/python3.7/pathlib.py”, line 437, in readlink
return os.readlink(path)
FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/lib/rhasspy/lib/python3.7/site-packages/swagger_ui/static/events’

During handling of the above exception, another exception occurred:`

it seems this bug is related to SNIPS or RASA, because I don’t have any problem with fsticuffs…
My assistant runs on docker on synology