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

hello, i change the font and have a error #25

Closed
tjpulfn opened this issue Nov 29, 2018 · 4 comments
Closed

hello, i change the font and have a error #25

tjpulfn opened this issue Nov 29, 2018 · 4 comments

Comments

@tjpulfn
Copy link

tjpulfn commented Nov 29, 2018

`The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/liufengnan/Desktop/TextRecognitionDataGenerator/TextRecognitionDataGenerator/run.py", line 392, in
main()
File "/Users/liufengnan/Desktop/TextRecognitionDataGenerator/TextRecognitionDataGenerator/run.py", line 309, in main
), total=args.count):
File "/usr/local/lib/python3.6/site-packages/tqdm/_tqdm.py", line 979, in iter
for obj in iterable:
File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py", line 735, in next
raise value
OSError: broken file
`

@Belval
Copy link
Owner

Belval commented Nov 29, 2018

  1. Can you provide the font you used?
  2. In what directory did you put it?
  3. Can you provide the full command line used?

@tjpulfn
Copy link
Author

tjpulfn commented Nov 30, 2018

first. i use the font "SourceHanSans-Normal.ttf" that in the project it is successful
and then i change a new font "Arial Unicode.ttf" and run.py, it has error , i put it in "cn" directory
ps: can i speak chinese???

@tjpulfn
Copy link
Author

tjpulfn commented Nov 30, 2018

@Belval hello, the problem is solved! thank you

@Belval
Copy link
Owner

Belval commented Nov 30, 2018

Glad you got it sorted out! I'm closing the issue but feel free to reopen it if you need any help.

ps: As much as I would love to, I never got the chance to learn Chinese :(

@Belval Belval closed this as completed Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants