OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Martin Iturbide on December 12, 2019, 12:41:05 am

Title: Tea - Hunspell errors
Post by: Martin Iturbide on December 12, 2019, 12:41:05 am
Hi

I'm running the Tea text editor (yum install tea).

When I run it I got the following hunspell errors.
Quote
error: \usr\share\hunspell\en.aff: cannot open
error: \usr\share\hunspell\en.dic: cannot open
error: \usr\share\hunspell\en.aff: cannot open

I have installed the Hunspell dictionary. Hunspell installed the dictionaries on "usr/share/myspell"

Another issue seems to be like that tea is looking for "en.aff" and others, while on /myspell it is "en-US.aff".

Is this problem hardcoded on the tea port? or is there a way to solve this error?

Regards

Title: Re: Tea - Hunspell errors
Post by: Pete on December 12, 2019, 02:10:33 am
Hi Martin

If I understand you correctly you have usr/share/myspell/en-US.aff installed but Tea is looking for \usr\share\hunspell\en.aff

Sounds like a bit of a mixup...

Maybe this will work:  create \usr\share\hunspell then copy usr/share/myspell/en-US.aff to \usr\share\hunspell\en.aff


Regards

Pete
Title: Re: Tea - Hunspell errors
Post by: Dave Yeo on December 12, 2019, 03:47:02 am
Sounds like a ticket is needed. Not sure whether Tea should be adjusted or Hunspell should have some symlinks for apps like Tea.
Title: Re: Tea - Hunspell errors
Post by: Silvan Scherrer on December 12, 2019, 07:06:45 am
Sounds like a ticket is needed. Not sure whether Tea should be adjusted or Hunspell should have some symlinks for apps like Tea.
no no no ticket for that. all works as designed when nothing is set.
you need to set "spell_lang" and "hunspell_dic_path" in the settings. At least thats what the code says.
Title: Re: Tea - Hunspell errors
Post by: roberto on December 12, 2019, 04:21:44 pm
If i try to install with anpm that give me:
ERROR en el chequeo de la transacción vs resolución de dependencias:poppq51.dll es necesario por tea-50.0.4-1.oc00.i686Por favor, informe este error en http://trac.netlabs.org/rpm/
Title: Re: Tea - Hunspell errors
Post by: TeLLie on December 12, 2019, 06:38:34 pm
Hi Roberto,

If you want to use the poppler that is needed for latest tea, you need to install netlabs.repo

Please do with anpm and install the netlabs repo.
If you don't want to do, download then the zip file.

http://rpm.netlabs.org/experimental/00/zip/poppler-0_61_1-1_oc00.zip
Inside is the dll

Title: Re: Tea - Hunspell errors
Post by: roberto on December 12, 2019, 07:58:14 pm
Double thanks Tellie, for your comment and for the ports. Now I understand I had the experimental report * deactivated * when activated, I have seen a lot of pending updates.
Title: Re: Tea - Hunspell errors
Post by: Dave Yeo on December 12, 2019, 09:28:01 pm
Careful with the NSS and NSPR updates, reports of instability and the updated NSS breaks some HTTPS sites on FF38 and friends.
Title: Re: Tea - Hunspell errors
Post by: Martin Iturbide on December 12, 2019, 10:00:06 pm
Hi

I found "tea.conf" on the C:\Home\Tea\

I added:
- spell_lang=en_US
- hunspell_dic_path=hunspell_dic_path=C:/usr/share/myspell

The errors are now gone.
When I close Tea I got this message:
Quote
[C:\]tea
rvln::~rvln()

But now I'm noticing that copy+paste is not working. Is anybody experiencing that ?

Regards
Title: Re: Tea - Hunspell errors
Post by: ivan on December 13, 2019, 01:43:34 am
Hi Martin,

What version of Tea are you using?  Here I have v36.0.2 and everything works without problems.

I assume that later versions follow the setup that the version I have - if so then you need to open the 'Tune' tab and select 'functions'.  There you fill in the information in the spell check section.
Title: Re: Tea - Hunspell errors
Post by: TeLLie on December 14, 2019, 11:09:35 am
Hi all,

There will be a new version soon, that would fix some of the errors that been showed here...
Title: Re: Tea - Hunspell errors
Post by: roberto on December 14, 2019, 04:45:21 pm
Careful with the NSS and NSPR updates, reports of instability and the updated NSS breaks some HTTPS sites on FF38 and friends.
After updating my system, I see that the Seamonkey closes very frequently.User agent: Mozilla / 5.0 (OS / 2; Warp 4.5;
 rv: 45.0) Gecko / 20100101 Firefox / 45.0 SeaMonkey / 2.42.9esr
Build identifier: 20190601192153

So I decide to change the tcpip, and add in Host name, the ip of my pc with the host name of this computer to host list.
And the number of closures decreases a lot.