anki-search-inside-add-card icon indicating copy to clipboard operation
anki-search-inside-add-card copied to clipboard

Error changing the default location in the config window

Open glazzarelli opened this issue 4 years ago • 1 comments

This is not stricly a problem of the add-on itself but, when I try to change the default location of pdfUrlImportSavePath, Anki prompts me this error (Windows):

Invalid configuration: JSONDecodeError('Invalid\escape: line 104 column 32 (char 3766)')

The solution I came with is to double escaping each escape character in my location path.

glazzarelli avatar Apr 05 '21 20:04 glazzarelli

Hi, thanks for noticing me, it should probably check for any unescaped backslash and replace it with escaped ones upon save. In general, I just type all the paths with forward slashes to avoid such problems.

fonol avatar Apr 09 '21 05:04 fonol