tesseract-ocr / tesstrain

Train Tesseract LSTM with make
Apache License 2.0
630 stars 184 forks source link

Invalid github urls #288

Closed z-aliakseyeu closed 2 years ago

z-aliakseyeu commented 2 years ago

Hello!

During execution encountered the following error:

wget -Odata/radical-stroke.txt 'https://github.com/tesseract-ocr/langdata_lstm/raw/master/radical-stroke.txt'

"HTTP request sent, awaiting response... 404 Not Found "
"2021-11-11 07:46:43 ERROR 404: Not Found. "
"make: *** [Makefile:316: data/radical-stroke.txt] Error 8 "
"FAILED "
"+ RESULT=2 "
"+ '[' 2 -eq 0 ']' "
"+ echo FAILED "
"+ exit 2 "

The root cause are the changes been provided to github url mappings and right now the address to raw content is through raw.github.com.

Affected lines: https://github.com/tesseract-ocr/tesstrain/blob/main/Makefile#L317 https://github.com/tesseract-ocr/tesstrain/blob/main/Makefile#L356

stweil commented 2 years ago

The old URL still works for me, but is redirected.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.