BUG - TORNADO::KeyError() when trying to change a show's directory
Before submitting your issue:
Enable debug logging from settings in SiCKRAGE then try and reproduce the error
Summary
Cannot change a show's directory, get this error instead
Branch/Commit
develop/2a3dbf37 // Version: 10.0.10.dev1 // Synology Package: 10.0.10.dev1-85
OS
Synology DSM 6.2.3-25426 Update 3
Steps to reproduce
change a show's directory
What is the current bug behavior?
When trying to change a show's directory, get error screen after clicking Save Changes
What is the expected correct behavior?
Show's directory get's changed.
Relevant logs and/or screenshots
Error
KeyError()
Traceback
Traceback (most recent call last):
File "/volume1/@appstore/sickrage-dev/env/lib/python3.7/site-packages/tornado/web.py", line 1703, in _execute result = await result
File "/volume1/@appstore/sickrage-dev/share/SiCKRAGE/sickrage/core/webserver/handlers/base.py", line 187, in wrapper await sickrage.app.wserver.io_loop.run_in_executor(self.executor, functools.partial(method, *args, **kwargs))
File "/var/packages/python3/target/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs)
File "/volume1/@appstore/sickrage-dev/env/lib/python3.7/site-packages/tornado/web.py", line 3178, in wrapper return method(self, *args, **kwargs)
File "/volume1/@appstore/sickrage-dev/share/SiCKRAGE/sickrage/core/webserver/handlers/manage/__init__.py", line 681, in post search_delay=search_delay)
File "/volume1/@appstore/sickrage-dev/share/SiCKRAGE/sickrage/core/webserver/handlers/manage/__init__.py", line 200, in edit_show show_obj.search_format = SearchFormat[search_format]
File "/var/packages/python3/target/lib/python3.7/enum.py", line 352, in __getitem__ return cls._member_map_[name]
KeyError:
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)