Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, thank you very much for your tools i really enjoyed-it but i have a problem to use-it. When i launch the server on a terminal he give me this error "terminate called after throwing an instance of 'std::out_of_range'" after that i use the custom shortcut to start textsuggest and the i type the Enter key he crash at this moment and he doesn't write the selected words. Thaks you for your help and sorry if my english is bad or if i paste my problem to the wrong place.


textsuggest-server

Started server at org.textsuggest.server, PID: 11219…

time get_all_words([English, English]) = 0.00136692

Adding 'prevent' to custom_words

Processing 'prevent'
   Found custom word 'prevent', expanding to 'prevent'
   Found processor 'command' from '/usr/share/textsuggest/processors/command'
   Using processor 'command' from '/usr/share/textsuggest/processors/command'

terminate called after throwing an instance of 'std::out_of_range'
 what():  basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 0)

/usr/bin/textsuggest-server : ligne 3 : 11219 Abandon                 LD_LIBRARY_PATH=/usr/share/textsuggest/
libs /usr/share/textsuggest/textsuggest-server "$@"

(1 edit)

Hi, thanks for using my tool.


I can reproduce the issue. Sorry, I'll fix it soon.

fixed in latest release (4.2.5), please try again

Thanks for your answer ! Sadly i can't start the textsuggest-server as root but i think that's normal and it work great ! Thanks you for your time !

Now i have another problem to use multiple language with --languge=

textsuggest-server --language=English --lan
guage=French  
terminate called after throwing an instance of 'cxxopts::option_not_exists_exception'
 what():  Option ‘language’ does not exist

/usr/bin/textsuggest-server : ligne 3 : 25407 Abandon                 LD_LIBRARY_PATH=/usr/share/textsuggest/
libs /usr/share/textsuggest/textsuggest-server "$@"

For the moment i use only the English.txt with french word in it but that's alright. I have also a problem when i try to use my French.txt renamed in English.txt because he can't find anything but i think that the problem come from the .txt itself because when i copy the words in it on to the English.txt he work perfectly. Thank you for your amazing job i really apreciate-it, i try to switch to linux sooo this is hard to me to stop using this kind of stuff that other OS have.

> Thanks for your answer ! Sadly i can't start the textsuggest-server as root but i think that's normal and it work great ! Thanks you for your time !

Yes, you should start it as the normal user, not root.


> Now i have another problem to use multiple language with --languge=

I'll try to fix the language problem too, thanks for telling me.