l3uddz / cloudplow

Automatic rclone remote uploader, with support for multiple remote/folder pairings. UnionFS Cleaner functionality: Deletion of UnionFS whiteout files and their corresponding files on rclone remotes. Automatic remote syncer: Sync between different remotes via a Scaleway server instance, that is created and destroyed at every sync.
GNU General Public License v3.0
338 stars 48 forks source link

'ascii' codec can't encode character '\u2026' #90

Closed yleflour closed 2 years ago

yleflour commented 3 years ago

Describe the bug When running cloudplow upload the following message appears:

UnicodeEncodeError: 'ascii' codec can't encode character '\u2026' in position 146: ordinal not in range(128)
Call stack:
  File "/usr/local/bin/cloudplow", line 815, in <module>
    do_upload()
  File "/opt/cloudplow/utils/decorators.py", line 13, in timer
    result = method(*args, **kw)
  File "/usr/local/bin/cloudplow", line 377, in do_upload
    resp_delay, resp_trigger = uploader.upload()
  File "/opt/cloudplow/utils/uploader.py", line 53, in upload
    upload_status, return_code = rclone.upload(self.__logic)
  File "/opt/cloudplow/utils/rclone.py", line 168, in upload
    return_code = process.execute(cmd, callback)
  File "/opt/cloudplow/utils/process.py", line 18, in execute
    log.info(output)

Expected behavior The \u2026 character should not be appearing in the file path. It corresponds to ... used by the system when the file path is too long

System Information

chimpy commented 3 years ago

I have the same bug.

saltydk commented 2 years ago

Reopen if you post a full debug log with this happening.