Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Nov 2014, 04:39
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Spellchecker in ABIword
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
don


Joined: 06 Sep 2005
Posts: 57
Location: Virginia, USA

PostPosted: Sun 21 Apr 2013, 09:53    Post subject:  Spellchecker in ABIword
Subject description: Wont add new words to dictionary
 

Everything I use in Slacko-5.5 seems rock solid except for ABIword's spellchecker. When I add a new word (e.g., my name), initially flagged as misspelled, the current document subsequently accepts the spelling as being OK. However, in any new document the word is not recognized as being correct, and is flagged again as a misspell. I have not encountered this behavior in any other puppy including UPUP-Precise, Lupu-528, and Dpup-Squeeze. Am I missing a dictionary for added words, or is there some fundamental difference between Slacko and these other builds in how new words are added to ABIword?
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Wed 24 Jul 2013, 20:07    Post subject:  

It looks like AbiWord is saving words to your personal dictionary OK (/root/.config/enchant/*.dic), but not loading that dictionary when AbiWord starts. If I create a new document within the same AbiWord session, the new words are recognized, but not if I exit AbiWord and restart.

This appears to be a problem with the libenchant.so.1.5.0 library. I was able to replace it with the libenchant.so.1.6.0 library from my puppy_precise_5.6.sfs file, and then it worked OK.

You have a choice of three options:

1. If you happen to have libenchant.so.1.6.0 available on another distro, like I did, you can copy it to Slacko's /usr/lib/ directory. You then need to change a symlink like this:
Code:
ln -fs libenchant.so.1.6.0 /usr/lib/libenchant.so.1


2. If you don't already have libenchant.so.1.6.0, you can extract it from the libenchant1c2a_1.6.0-7_i386.deb package, which can be found at:

http://packages.debian.org/wheezy/i386/libenchant1c2a/download

Download and save the package to the /tmp/ directory, then in a terminal window run these commands:
Code:
dpkg-deb -x /tmp/libenchant1c2a_1.6.0-7_i386.deb /tmp/libenchant1c2a
mv /tmp/libenchant1c2a/usr/lib/libenchant.so* /usr/lib/


Both #1 and #2 above replace only the one library from the package. Sometimes replacing only part of a package can cause problems, and is not a practice I would normally encourage. I am suggesting it here only because I know that replacing the whole package will cause problems if you use any ispell dictionaries. If you run into problems with options #1 or #2, you can try option #3.


3. If you never use ispell dictionaries, or if you are willing to replace any ispell dictionaries that you have with myspell, hunspell, or ispell dictionaries with a different format, you can simply choose to let petget install the whole package instead of just downloading it and extracting the one library. In that case you will need to also install libhunspell-1.3-0_1.3.2-4_i386.deb, which is a dependency, and can be found at:

http://packages.debian.org/wheezy/i386/libhunspell-1.3-0/download

After installing libhunspell, you will need to move it to its proper Puppy location:
Code:
mv /usr/lib/i386-linux-gnu/libhunspell-1.3.so.* /usr/lib/

(For most .deb packages, and with most Puppies, petget will move libraries to their proper Puppy location automatically; I'm not sure why it doesn't work in this case.)

If you need to replace your old ispell dictionaries with myspell, hunspell, or ispell dictionaries with a different format, see the thread at: abiword UK spellcheck
Back to top
View user's profile Send private message 
don


Joined: 06 Sep 2005
Posts: 57
Location: Virginia, USA

PostPosted: Thu 25 Jul 2013, 08:57    Post subject: Spellchecker in ABIword  

Thanks, npierce.

Your suggestion #1 works perfectly. I am now able to use PHATSlacko as my primary distro.

don
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Thu 25 Jul 2013, 09:08    Post subject:  

You're welcome.

Glad to hear it worked for you.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0533s ][ Queries: 11 (0.0069s) ][ GZIP on ]