-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I get the following error when I try to run the integrity check on a file that includes an emoji in the name. This happens even after I renamed the file, I suspect it's baked in the database now. Here is the error:
Traceback (most recent call last):
File "/volume1/system/scorch/scorch.py", line 640, in inst_check
newfi = get_fileinfo(filepath)
File "/volume1/system/scorch/scorch.py", line 404, in get_fileinfo
st = os.lstat(filepath)
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f917' in position 56: ordinal not in range(128)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/volume1/system/scorch/scorch.py", line 1647, in <module>
main()
File "/volume1/system/scorch/scorch.py", line 1626, in main
rv = rv | func(opts,directory,db,dbremove)
File "/volume1/system/scorch/scorch.py", line 707, in inst_check
print_filepath(filepath,actions,total,opts.quote)
File "/volume1/system/scorch/scorch.py", line 432, in print_filepath
print(s,end=end)
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f917' in position 66: ordinal not in range(128)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels