Replies: 1 comment
-
谢谢反馈。看上去应该是文件名有乱码问题? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[11:49:40] Failed to save Hash Cache.
Exception:
<class 'UnicodeEncodeError'> - 'utf-8' codec can't encode characters in position 2-3: surrogates not allowed
Stack:
File "/usr/local/bin/bypy", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/bypy/bypy.py", line 3826, in main
result = getattr(by, args.command[0])(*uargs)
File "/usr/local/lib/python3.6/site-packages/bypy/bypy.py", line 3025, in syncup
subresult = self._syncup_single(localdir, rpath, compare_result)
File "/usr/local/lib/python3.6/site-packages/bypy/bypy.py", line 2988, in _syncup_single
subresult = self._syncup_local_one(rpath, localdir, l)
File "/usr/local/lib/python3.6/site-packages/bypy/bypy.py", line 2952, in _syncup_local_one
subresult = self._upload_file(lcpath, rcpath)
File "/usr/local/lib/python3.6/site-packages/bypy/bypy.py", line 1814, in _upload_file
result = self._rapidupload_file(localpath, remotepath, ondup)
File "/usr/local/lib/python3.6/site-packages/bypy/bypy.py", line 1699, in _rapidupload_file
self._get_hashes_for_rapidupload(lpath, setlocalfile)
File "/usr/local/lib/python3.6/site-packages/bypy/bypy.py", line 1695, in _get_hashes_for_rapidupload
self._current_file_slice_md5 = slice_md5(self._current_file)
File "/usr/local/lib/python3.6/site-packages/bypy/cached.py", line 92, in call
self._store(info, path, result)
File "/usr/local/lib/python3.6/site-packages/bypy/cached.py", line 127, in _store
cached.savecache()
File "/usr/local/lib/python3.6/site-packages/bypy/cached.py", line 230, in savecache
perr("Failed to save Hash Cache.\n{}".format(formatex(ex)))
File "/usr/local/lib/python3.6/site-packages/bypy/util.py", line 73, in formatex
type(ex), ex, ''.join(traceback.format_stack()))
Beta Was this translation helpful? Give feedback.
All reactions