You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launch of fresh install fails if mecab is not installed. installing the mecab module resolve the problem, but if lute depends on mecab, it should be marked as a dependency so that it is installed.
To Reproduce
Steps to reproduce the behavior, e.g.:
Start a fresh virtualenv
Install lute using pip
Launch lute
See error:
$ lute
Starting Lute version 3.10.1.
Using default config
Using new production config.
data path: /home/asaf/.local/share/Lute3
database: /home/asaf/.local/share/Lute3/lute.db
Initializing app.
Initializing parsers from plugins ...
Enabled parsers:
* Space Delimited
* Turkish
* Japanese
* Classical Chinese
Loading demo data.
--------------------------------------------------
Error during startup:
Type: <class 'natto.api.MeCabError'>
MECAB_NBEST request type is not set
Please check your setup and try again.
Ask for help on Discord, or report an issue on GitHub.
Additionally, help is available with --help.
--------------------------------------------------
The text was updated successfully, but these errors were encountered:
Ah such a drag. MeCab actually is not, or should not be, a required dependency ... it runs on my mac and on github ci without mecab, but the Lute code for it is kind of messy. I did the best I could and yet problems occasionally appear, like this one. Sorry for the hassle.
I'll need to re-investigate the mecab-related code, and see if there's a better way to handle it. Cheers!
Description
Launch of fresh install fails if mecab is not installed. installing the mecab module resolve the problem, but if lute depends on mecab, it should be marked as a dependency so that it is installed.
To Reproduce
Steps to reproduce the behavior, e.g.:
The text was updated successfully, but these errors were encountered: