Closed stevejackson closed 3 years ago
This seems like a problem unique to the return result from OCR space. We could parse the results in ocr_space.py so they could be on one line.
Edit: removed new lines in ocr_space result with commit https://github.com/mathewthe2/Game2Text/commit/50e075d3f192121d9e375a744ce650f73e222599 Closing now.
Platform/version
main
branch, Apr 23 2021. MacOS 11.1, Chrome.Using Space OCR EU.
Bug reproduction
OCR'd this:
It results in OCR with multiple lines of text (it has line breaks):
Looks like this in the logs/text file:
It causes this error when logs panel is opened up:
Likely cause
I think it's expecting all log entries to be a single line. We could fix this to be on a single line, or else change the logger format.