Error Message when Running Zotify #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I keep on getting these long strings of code when running Zotify. This is what I typed into Powershell:
zotify -l --download-lyrics=True --download-quality=high --md-allgenres=True --skip-existing=true
Then, it showed the following as the download was going on.
`incomplete escape \U at position 3
Traceback (most recent call last):
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\site-packages\zotify\track.py", line 190, in download_track
c = len([file for file in Path(filedir).iterdir() if re.search(f'^{filename}', str(file))]) + 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\site-packages\zotify\track.py", line 190, in
c = len([file for file in Path(filedir).iterdir() if re.search(f'^{filename}', str(file))]) + 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\re_init_.py", line 176, in search
return compile(pattern, flags).search(string)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\re_init.py", line 294, in _compile
p = _compiler.compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\re_compiler.py", line 743, in compile
p = _parser.parse(p, flags)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\re_parser.py", line 980, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\re_parser.py", line 455, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\re_parser.py", line 539, in _parse
code = _escape(source, this, state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tong\AppData\Local\Programs\Python\Python311\Lib\re_parser.py", line 393, in _escape
raise source.error("incomplete escape %s" % escape, len(escape))
re.error: incomplete escape \U at position 3`
I get the same issue. Unsure of the cause or fix.