You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a Photo Scan (on Nextcloud), the worker errors out if there's a file containing Non-ASCII characters, like ö, ä and so on.
Traceback (most recent call last):
File "/miniconda/lib/python3.6/site-packages/rq/worker.py", line 793, in perform_job
rv = job.perform()
File "/miniconda/lib/python3.6/site-packages/rq/job.py", line 599, in perform
self._result = self._execute()
File "/miniconda/lib/python3.6/site-packages/rq/job.py", line 605, in _execute
return self.func(*self.args, **self.kwargs)
File "/code/nextcloud/directory_watcher.py", line 63, in scan_photos
if not os.path.exists(local_dir):
File "/miniconda/lib/python3.6/genericpath.py", line 19, in exists
os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 50: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
When running a Photo Scan (on Nextcloud), the worker errors out if there's a file containing Non-ASCII characters, like ö, ä and so on.
The text was updated successfully, but these errors were encountered: