Traceback (most recent call last):
File "/usr/local/bin/aliyunpan-cli", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/main.py", line 224, in main
cli()
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/main.py", line 102, in mkdir
commander.mkdir(path)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
[Previous line repeated 977 more times]
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 260, in mkdir
file_id = self._path_list.get_path_fid(path, update=False)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/api/models.py", line 154, in get_path_fid
if str(path) in ('', '/', '\\', '.', 'root'):
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/api/models.py", line 216, in __str__
path = [i for i in str(PurePosixPath(Path(p).as_posix())).split('/') if i != '']
File "/usr/lib/python3.9/pathlib.py", line 1071, in __new__
self = cls._from_parts(args, init=False)
File "/usr/lib/python3.9/pathlib.py", line 696, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/lib/python3.9/pathlib.py", line 689, in _parse_args
return cls._flavour.parse_parts(parts)
File "/usr/lib/python3.9/pathlib.py", line 68, in parse_parts
it = reversed(parts)
RecursionError: maximum recursion depth exceeded while calling a Python object
Traceback (most recent call last):
File "/usr/local/bin/aliyunpan-cli", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/main.py", line 224, in main
cli()
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/main.py", line 193, in sync
commander.sync(local_path, remote_path, sync_time, time_out, chunk_size, retry, delete)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 668, in sync
self.upload(path, upload_path, timeout=time_out, chunk_size=chunk_size, retry=retry)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 375, in upload
upload_file_list = self.upload_dir(path, upload_path)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 416, in upload_dir
self.mkdir(upload_path)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
[Previous line repeated 973 more times]
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 260, in mkdir
file_id = self._path_list.get_path_fid(path, update=False)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/api/models.py", line 154, in get_path_fid
if str(path) in ('', '/', '\\', '.', 'root'):
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/api/models.py", line 216, in __str__
path = [i for i in str(PurePosixPath(Path(p).as_posix())).split('/') if i != '']
File "/usr/lib/python3.9/pathlib.py", line 1071, in __new__
self = cls._from_parts(args, init=False)
File "/usr/lib/python3.9/pathlib.py", line 696, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/lib/python3.9/pathlib.py", line 689, in _parse_args
return cls._flavour.parse_parts(parts)
File "/usr/lib/python3.9/pathlib.py", line 68, in parse_parts
it = reversed(parts)
RecursionError: maximum recursion depth exceeded while calling a Python object
Traceback (most recent call last):
File "/usr/local/bin/aliyunpan-cli", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/main.py", line 224, in main
cli()
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/main.py", line 193, in sync
commander.sync(local_path, remote_path, sync_time, time_out, chunk_size, retry, delete)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 668, in sync
self.upload(path, upload_path, timeout=time_out, chunk_size=chunk_size, retry=retry)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 375, in upload
upload_file_list = self.upload_dir(path, upload_path)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 416, in upload_dir
self.mkdir(upload_path)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 265, in mkdir
file_list.extend(self.mkdir(path.parent))
[Previous line repeated 973 more times]
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 260, in mkdir
file_id = self._path_list.get_path_fid(path, update=False)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/api/models.py", line 154, in get_path_fid
if str(path) in ('', '/', '\\', '.', 'root'):
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/api/models.py", line 216, in __str__
path = [i for i in str(PurePosixPath(Path(p).as_posix())).split('/') if i != '']
File "/usr/lib/python3.9/pathlib.py", line 1071, in __new__
self = cls._from_parts(args, init=False)
File "/usr/lib/python3.9/pathlib.py", line 696, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/lib/python3.9/pathlib.py", line 689, in _parse_args
return cls._flavour.parse_parts(parts)
File "/usr/lib/python3.9/pathlib.py", line 68, in parse_parts
it = reversed(parts)
RecursionError: maximum recursion depth exceeded while calling a Python object
Traceback (most recent call last):
File "/usr/local/bin/aliyunpan-cli", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/main.py", line 224, in main
cli()
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/main.py", line 133, in tree
commander.tree(path)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/cli/cli.py", line 141, in tree
return self._path_list.tree(path, stdout)
File "/usr/local/lib/python3.9/dist-packages/aliyunpan/api/models.py", line 129, in tree
raise FileNotFoundError(path)
FileNotFoundError: /SmartHome