Closed Bug 1729113 Opened 3 years ago Closed 3 years ago

Non working spell checking - SM 2.53.9 (FreeBSD)

Categories

(SeaMonkey :: MailNews: Composition, defect)

SeaMonkey 2.53 Branch
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: seamonkey, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 SeaMonkey/2.53.9

Steps to reproduce:

Compile and install SM 2.53.9 on FreeBSD 12.2-STABLE (Aug 25).
Previous installation was SM 2.49.4.

Compose a new email

Actual results:

Every more than one letter word has a red squigly line under it as if a mispelling.

Console messages:
error: /usr/local/lib/seamonkey/dictionaries/en-US.aff: cannot open
error: /usr/local/lib/seamonkey/dictionaries/en-US.dic: cannot open
error: /usr/local/lib/seamonkey/dictionaries/en-US.aff: cannot open

-rw-r--r-- 1 root wheel 3.0K 18 Feb 2020 en-US.aff
-rw-r--r-- 1 root wheel 563K 8 Aug 23:01 en-US.dic

I have checked path permissions.
I checked also as the root user with the same result.

I tracked the error message down to filemgr.cxx where, as far as I can tell, the failure occurs:

myopen(fin, file, std::ios_base::in);
if (!fin.is_open()) {
// check hzipped file
std::string st(file);
st.append(HZIP_EXTENSION);
hin = new Hunzip(st.c_str(), key);
}
if (!fin.is_open() && !hin->is_open())
fail(MSG_OPEN, file); <<<<<<<< cannot open error msg

Expected results:

Spell check should work and all correctly spelt words should not be indicated as mispellings.

This issue was resolved on FreeBSD 12.2 by adding "ac_add_options --enable-system-hunspell" to .mozconfig

Curiously, this was not necessary for 2.53.8.1.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.