iSpell Spell Checker - OTRS 3.3.9/Debian 8

Moderator: crythias

Locked
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by tupson »

Within OTRS 3.3.9 SysConfig --> I enabled Spell Checker and it defaults are set to:


SpellChecker : Yes (enables spell checker support)

SpellCheckerBin : /usr/bin/ispell (default)

SpellCheckerDictDefault : english

SpellCheckerIgnore : www, webmail, https, http, html, rfc



1. When I try to click "ABC" within an OTRS window, it detects an incorrect spelled word (red underline), but doesn't offer a correctly spelled word (nor does right-clicking the word help).

2. From Command Line, if I run:

echo "Hello just a tets" | ispell -a -d english

an error is thrown: can't open /usr/lib/ispell/english.hash

I checked in /usr/bin and there is no ispell directory. However, there is an ispell and ispell-wrapper file within /usr/bin/


So, what should I do here to get spell check to work?

I tried a Google recommendation changing from ispell to aspell, but that broke the checker all together (as I assume it doesn't exist).
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by tupson »

bump
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by crythias »

tupson wrote:an error is thrown: can't open /usr/lib/ispell/english.hash
tupson wrote:I checked in /usr/bin and there is no ispell directory
seems legit. It's complaining about /usr/lib. You may need to install a dictionary.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by tupson »

any reference/guide on how to install the english dictionary to go with ispell? (sorry not a linux guy -- yet)
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by tupson »

It appears the ispell english.hash isn't even installed properly?

How do I address this?

I went into the directories where it appears iSpell has been installed, but I see the following

Image

Image

Image
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by crythias »

I can't know for sure, but it looks like you have no dictionaries installed for ispell...

This isn't a forum to discuss that, but LMGTFY...
http://www.delorie.com/gnu/docs/ispell/ispell.4.html
https://www.google.com/search?q=debian+ ... dictionary
and if it doesn't *still* have english.hash,
ln -s /usr/lib/ispell/american.hash /usr/lib/ispell/english.hash
might be of use, though this is offtopic for OTRS...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by tupson »

Point taken (not the forum), its just OTRS within its SysConfig --> Spell Checker options uses iSpell, the install path and language settings by default; which is why I even brought it up to begin with. Perhaps the Debian 8 / Turnkey Linux developers forgot to include this within the OTRS Appliance build. I'll follow up with them directly.

However, they pushed me here for all OTRS questions -- so be it OTRS by default uses iSpell, I felt it was only right to ask.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by jojo »

the best option is to use the browser spelling aid
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by tupson »

There appears to be an issue with using the default browser spell check within Chrome and Firefox:

When I write an incorrect word within the "Body" of the ticket - it doesn't propagate spell checking options:

Image

However, up in another section of the ticket, it does:
Image

In Internet Explorer, the spell check appears to work in both locations:
Image

Yes, I can sum this up to using IE for spell checking purposes, but any idea why spell checking isn't an option within the "Body" using Chrome or Firefox; but works within other fields?
Last edited by tupson on 22 Oct 2015, 18:19, edited 1 time in total.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by crythias »

hold ctrl and right-click
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by tupson »

bingo, that works - why is the control key required (just for learning purposes)?
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by jojo »

try crtl + right click
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by crythias »

tupson wrote:bingo, that works - why is the control key required (just for learning purposes)?
http://ckeditor.com/addon/contextmenu
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tupson
Znuny advanced
Posts: 133
Joined: 07 Oct 2015, 05:54
Znuny Version: 7.0.2
Real Name: Tony
Company: Upson Productions, LLC
Location: DC

Re: iSpell Spell Checker - OTRS 3.3.9/Debian 8

Post by tupson »

thank you.
Tony :mrgreen:
OTRS version installed: v7.0.2 (.rpm)
OS: CENTOS7 (latest updates via -yum install)
OS: Ubuntu 20.04.3 (latest apt-get upgrades)
GURU: Microsoft & VMware Environments
Locked