Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Bonito: "error": "Unknown method"

24 views
Skip to first unread message

fbild...@web.de

unread,
Oct 10, 2024, 9:23:42 AM10/10/24
to NoSketch Engine
Dear all,

I am having trouble setting up Bonito and Crystal on a new machine.

I compiled the current releases from source (manatee 2.225.8, bonito 5.71.15, crystal 2.166.4) on Rocky Linux 9.4 (Python 3.9.18, Apache 2.4.57).

Manatee itself is running fine,  I can use the "corpquery" script from the terminal and access the installed corpora.

I configured Bonito and Crystal for use without authentication and registration. However, when I call Bonito's run.cgi in a web browser, instead of of getting the query form, I get a blank screen with only the following info:

{"error": "Unknown method", "api_version": "open-5.71.15", "manatee_version": "2.36.7-open-2.225.8", "request": {}}

When I call Crystal from a web browser, it does display a proper web page. The first time, there was an error message about Crystal not being able to establish a session (or something similar), which strangely went away then and did not reappear. However, no corpora are displayed at all, so I am unable to select a corpus and proceed.

Has anybody else run into similar issues? Any pointers are appreciated. I have been running older versions of Manatee and Bonito (though not Crystal) on a CentOS 7 machine for years without any problems.

Many thanks,
Felix

fbild...@web.de

unread,
Oct 15, 2024, 10:06:55 AM10/15/24
to NoSketch Engine, fbild...@web.de
I did not set MANATEE_REGISTRY (plus another few configuration issues in run.cgi). Did not notice it first because corpquery was working fine even without explicitly setting MANATEE_REGISTRY. (This might be included as a command-line argument in setupbonito.)

Best,
Felix

Reply all
Reply to author
Forward
0 new messages