Comments

Log in with itch.io to leave a comment.

Hi, I cannot install this app, because I do not have sudo or root authority. Is there any other solutions? Thanks.

Hi, I like this tool, but using it under Cinnamon seems to freezes my desktop for a couple of seconds after choosing a word, no matter what application I use it in. Any suggestions?

(1 edit)

Would love to check this app out, but I'm getting an error and I'm not sure if that's because I'm using Wayland or something else is wrong.

$ textsuggest-server

/usr/bin/textsuggest-server: line 3: /usr/share/textsuggest/textsuggest-server: cannot execute binary file: Exec format error


It is my understanding that Wayland has an X emulator or something similar built in so figured I would give it a go. 


I'm running mobian (debian) on pinephone.


EDIT
I compiled the binaries myself for arm and did get it to run. However, it doesn't work correctly because..


qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Anyway, thanks for your time. Hopefully I can find something to suit my needs.
(1 edit)

Hello @bharadwaj-raju!

I downloaded prebuilt package and tried to run textsuggest-server, but got the following result:

$ textsuggest-server 
/usr/bin/textsuggest-server: line 3: /usr/share/textsuggest/textsuggest-server: Permission denied

It seems that textsuggest-server binary tries to run some other script or binary via shell but target don't have appropriate rights.

I use Ubuntu 18.04.

Try sudo chmod a+x /usr/share/textsuggest/textsuggest-server.


The install script should've done this automatically, I'll see why it didn't work. Thanks for reporting.

That was not the problem. I added execution rights (chmod +x) to all libraries inside /usr/share/textsuggest/libs/, now the server went further and says:

textsuggest-server: symbol lookup error: /lib/x86_64-linux-gnu/librt.so.1: undefined symbol: __clock_nanosleep, version GLIBC_PRIVATE

I suppose that my version of librt.so isn't appropriate for it.

I see. I think the fix is to bundle librt as well along with everything else. I'll try to get that done within next week. Thanks again for reporting!

Please check if this build works. If it does I'll upload to itch.
https://gofile.io/d/e92CA5

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.