A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tesseract-ocr/tesseract/issues/3000 below:

Debugger Viewer doesn't work, can't connect to ScrollView server · Issue #3000 · tesseract-ocr/tesseract · GitHub

Environment Current Behavior:

When using the parameter inter or interactive_display_mode, the application hangs.

Expected Behavior:

The debugger viewer window should open.

Suggested Fix:

The issue seems to be that ScrollView uses java.net.ServerSocket which always uses TCP, whereas the SVNetwork logic in svutil.cpp may look for either a TCP or UDP socket. In my case, it was looking for a UDP socket and was not able to successfully connect. Tentatively, it seems that passing an addrinfo hints object that sets ai_protocol to IPPROTO_TCP was sufficient to work around the problem (https://www.man7.org/linux/man-pages/man3/getaddrinfo.3.html).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4