Closed iygfyifgugo closed 11 months ago
Hi,
My mind is that the third line of your config file is the problem : folder = "C:\Users\Nicholas\Downloads" Apparently, the \ are the cause of this error. You should consider using forward slash (/) instead of back slash(\) or double backslash wich result to escape the them. Here are the results of the two options in your case :
Let me know if this work for you
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
Don't know what to do. I know nothing about coding. Thanks. This happens: InvalidUnicodeValueError
Invalid unicode value at line 3 col 13
at AppData\Local\Programs\Python\Python311\Lib\site-packages\tomlkit\parser.py:897 in _parse_escaped_char 893│ self.inc_n(len(ue) + 1) 894│ 895│ return u 896│ → 897│ raise self.parse_error(InvalidUnicodeValueError) 898│ 899│ raise self.parse_error(InvalidCharInStringError, self._current) 900│ 901│ def _parse_string(self, delim): # type: (StringType) -> String
The following error occurred when trying to handle this error:
Exception
Error parsing config file with error Invalid unicode value at line 3 col 13. Make sure you escape backslashes () in Windows paths. Example: "E:\StreamripDownloads\"
at AppData\Local\Programs\Python\Python311\Lib\site-packages\rip\config.py:139 in load 135│ with open(self._path) as cfg: 136│ try: 137│ toml = tomlkit.loads(cfg.read().strip()).items() 138│ except Exception as e: → 139│ raise Exception( 140│ f"Error parsing config file with error {e}. Make sure you escape " 141│ r'backslashes () in Windows paths. Example: "E:\StreamripDownloads\" ' 142│ ) 143│
If this was unexpected, please open a Bug Report at https://github.com/nathom/streamrip/issues/new/choose
Command Used
Debug Traceback
Config File
Operating System
windows 11
streamrip version
1.9.7
Screenshots and recordings
No response
Additional context
No response