`fread()` doesn't support unicode in file names on Windows
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- operating-systems
Research direction
Start with the fread() entry point and reproduce the reported IOError on Windows using a path such as D:/测试.csv, then compare it with an equivalent ASCII-only path. Trace the filename handling until the reported file-size lookup; done means fread() can open and process Unicode paths without the missing-file error.
Written by the indexing model from the issue text.
Description
我刚刚开始尝试使用datatable,发现如果文件中含有中文路径,将会出现IOError。
然而同一个文件,在全英文路径下则不会出现这样的问题。
报错信息附在最后。
我不知道,是否已存在了解决方案,我尝试搜过,但没有找到解决方案。
My English is not good. I use machine translation:
I just tried to use datatable, and found that if the file contains a Chinese path, an IOError will appear.
However, for the same file, this problem will not occur in the full English path.
The error information is attached at the end.
I don't know whether there is a solution. I tried to search, but I didn't find a solution.
IOError Traceback (most recent call last)
<timed exec> in <module>
IOError: Unable to obtain size of D:/测试.csv: [errno 2] No such file or directory
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from h2oai/datatable
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Similar issues
-
comp-s3queue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClickHouse/ClickHouse#137649 ·
Maintainers usually reply within 1 day
-
Clear params.inputs in dials.indexPossibly taken @phyy-nx claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
dials/dials#3361 · 1 comment ·
Maintainers usually reply within 1 day
-
difficulty:easy prio:low type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NatronGitHub/Natron#2405 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
facebookexperimental/semcode#195 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100