-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
RuntimeError: could not open display #226
Comments
The error looks like the display is not found for matplot, and indeed you write that you are using ocropy on the command line CentOS server. You can try to set |
I tried to do so. After this I launched:
|
Hm... I have no experience with CentOS. Maybe @kba has some ideas? |
Hard to say w/o running a CentOS image. numpy/scipy/matplotlib can be tricky at times because of location of compiled libs etc. Maybe run ocropus w/ docker? |
Isn't it normal behavior that no display is found if you run on a host which only has command line installed? If I have a program which requires a display I'd install display support (for example X Windows on Linux). |
That was the initial issue, solved by setting Matplotlib's backend. The second issue is something different. |
@kba |
You can use this docker image: https://hub.docker.com/r/kbai/ocropy/ |
@vlad-wonderkidstudio Did you find a solution for your CentOS? |
After installed on the command line CentOS server, when I try to run any OCRopus command, I get the following error:
Expected Behavior
On my home Ubuntu within Gnome command line it works just fine.
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Your Environment
Git revision of ocropy:
commit 358df8d
Merge: dacf0fc e016e74
Author: Philipp Zumstein zuphilip@users.noreply.github.com
Date: Mon May 22 22:38:33 2017 +0200
Merge pull request Delete unused function bounding_box in ocropus-linegen #219 from tmbdev/del-bbox-func
Delete unused function bounding_box in ocropus-linegen
Operating System and version:
CentOS Linux release 7.3.1611 (Core)
The text was updated successfully, but these errors were encountered: