This repository was archived by the owner on Oct 13, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 9
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
Issue with unicode character in filename #275
Copy link
Copy link
Open
Description
Describe the bug
Issue with unicode character in filename
To Reproduce
Steps to reproduce the behavior:
Create a directory with unicode character in my case 2007 - Foto Perù/DSCN0490.JPG
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
File "/mediadc/binaries/mediadc_manylinux_amd64/nc_py_api/files.py", line 196, in fs_file_data
UnicodeEncodeError: 'ascii' codec can't encode character '\xf9' in position 82: ordinal not in range(128)
DEBUG:nc_py_api.mediadc:images:process_images:calculating hash for image: fileid = 3237910
ERROR:nc_py_api:files:fs_file_data:Exception during reading 2007 - Foto Per\xf9_1/DSCN0490.JPG
Traceback (most recent call last):
File "/mediadc/binaries/mediadc_manylinux_amd64/nc_py_api/files.py", line 196, in fs_file_data
UnicodeEncodeError: 'ascii' codec can't encode character '\xf9' in position 82: ordinal not in range(128)
DEBUG:nc_py_api.mediadc:task:updated_time_background_thread:BT:Updating keepalive.
Desktop (please complete the following information):
{
"nextcloud-version": "30.0.14.1",
"app-versions": {
"cloud_py_api-version": "0.2.0",
"mediadc-version": "0.4.0"
},
"is-videos-supported": true,
"is-snap": false,
"arch": "amd64",
"webserver": "nginx/1.22.1",
"database": {
"type": "mysql",
"version": "10.11.11",
"size": "629080064"
},
"php-version": "8.2.29",
"php-interpreter": "/usr/bin/php8.2",
"python-interpreter-setting": "/usr/bin/python3",
"os": "Linux",
"os-release": "6.1.0-38-amd64",
"machine-type": "x86_64"
}
Additional context
n/a
Metadata
Metadata
Assignees
Labels
No labels