Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload repo cannot support chinese file name #55

Open
SeanHH86 opened this issue Oct 31, 2024 · 0 comments
Open

Upload repo cannot support chinese file name #55

SeanHH86 opened this issue Oct 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@SeanHH86
Copy link
Collaborator

File "/Users/hhwang/code/jihulab/opencsg/csghub-sdk/upload_repo.py", line 16, in <module>
  r.upload()
File "/Users/hhwang/code/jihulab/opencsg/csghub-sdk/pycsghub/repository.py", line 78, in upload
  self.track_large_files(work_dir=git_cmd_workdir)
File "/Users/hhwang/code/jihulab/opencsg/csghub-sdk/pycsghub/repository.py", line 277, in track_large_files
  size_in_mb = os.path.getsize(path_to_file) / (1024 * 1024)
File "/Users/hhwang/anaconda3/envs/hubsdk/lib/python3.10/genericpath.py", line 50, in getsize
  return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/csg/myds1/"\\345\\233\\276\\347\\211\\207-\\347\\224\\237\\346\\210\\220.jsonl"'
@SeanHH86 SeanHH86 added the bug Something isn't working label Oct 31, 2024
@SeanHH86 SeanHH86 self-assigned this Oct 31, 2024
@SeanHH86 SeanHH86 changed the title Load repo cannot support chinese file name Upload repo cannot support chinese file name Oct 31, 2024
@SeanHH86 SeanHH86 added the good first issue Good for newcomers label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant