Summary: | net-im/pidgin-2.4.3 spellcheck no longer works. USE flag is enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sumit Khanna <notify> |
Component: | Current packages | Assignee: | Gentoo Net-im project <net-im> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexblyon, eric, kalin, pqGungnir |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Pidgin debug out |
Description
Sumit Khanna
2008-08-12 01:33:24 UTC
Could you provide information about all your USE flags for pidgin? Could you try to run pidgin with "pidgin --debug" from termninal to see if there are problems there? Reopen with this info, if still have problems. I am having the same problem. I'll give you the information you asked for from my machine. No amount of remerging of gtkspell or pidgin seems to fix it. USE: net-im/pidgin-2.4.3 USE="dbus eds gnutls gstreamer gtk meanwhile ncurses nls perl spell tk -bonjour -debug -doc -gadu -groupwise -networkmanager -prediction -qq -sasl -silc -tcl -zephyr" Relevant debug output: plugins: probing /usr/lib/pidgin/spellchk.so gtkspell: Failed to setup GtkSpell: enchant error for language: en Created attachment 163120 [details]
Pidgin debug out
I am getting the same error in my debug out. On top of that, this is affecting other GTK apps. gedit spell check doesn't work either (it marks every word as wrong and offers no suggestions). It seems to be a gtk-spell problem. Here are my use flags: net-im/pidgin-2.4.3 USE="dbus eds gstreamer gtk ncurses nls perl spell -bonjour -debug -doc -gadu -gnutls -groupwise -meanwhile -networkmanager -prediction -qq -sasl -silc -tcl -tk -zephyr" If I run aspell -a by itself, it works fine, so the En dictionary is installed, gtk-spell just can't pick it up for some reason. I've also attached the pidgin debug out. I'm re-opening this bug. Thanks for all information. One more question: (13:35:49) gtkspell: Failed to setup GtkSpell: enchant error for language: en_US This appears to be enchant error (it is engine used by GtkSpell). Could you just try to rebuild it to see if the helps? It depends on hunspell and there was an update lately. You can also try revdep-rebuild. If this won't help reopen one more time. did an emerge sync and world, re-emerged enchant and removed /root/.revdep* and ran revdep-rebuild (it found no broken links). I then restarted xdm. Spell check still doesn't work (In reply to comment #6) > did an emerge sync and world, re-emerged enchant and removed /root/.revdep* and > ran revdep-rebuild (it found no broken links). I then restarted xdm. Spell > check still doesn't work > Try emerging app-dicts/myspell-en and then restart Pidgin. After reading this bug, I ran enchant-lsmod which displayed myspell (Myspell Provider) I then checked and there wasn't a myspell-en installed on the system. Once I emerged it and restarted piding, spellchecking worked. I guess it's a missing dependancy somewhere. Well Eric's suggestion worked. I now have spell check back in GTK apps that use enchant. My make.conf has LINGUAS="en" in it, so some ebuild somewhere is not pulling that in like it should. Please leave this bug open until the dependency issue is resolved. I think the problem is that app-text/enchant has the useflags aspell and hunspell whereas aspell is disabled by default. If you set the aspell useflag on enchant you don't need to emerge app-dicts/myspell-en, app-dicts/aspell-en will do fine. upgraded to enchant 1.4.2 with aspell flag fixed my problem perhaps enchant 1.4.2 could be stabilized because 1.3.0 doesn't allow me to set aspell use flags. (In reply to comment #9) look at the enchant ebuild looks broken to me. What do you think? app-text/enchant/enchant-1.3.0.ebuild looks like a bad ebuild. > I think the problem is that app-text/enchant has the useflags aspell and > hunspell whereas aspell is disabled by default. If you set the aspell useflag > on enchant you don't need to emerge app-dicts/myspell-en, app-dicts/aspell-en > will do fine. > I am not sure how the whole *spell - enchant - pidgin system works, but in my setup, I fixed it by creating a custom config in .enchant/enchant.ordering containing only the following line: *:aspell I have myspell and aspell and dictionaries installed, but pidgin/enchant seem to be working only with aspell for some reason... Now I can successfully use: x11-plugins/purple-plugin_pack-2.5.1 (to be able to switch dicts on the fly) net-im/pidgin-2.5.8 app-text/enchant-1.4.2 app-text/aspell-0.60.6 app-text/gtkspell-2.0.15 (not sure if it is involved) app-text/hunspell-1.2.8 (not sure if it is involved) +1 here ... my pidgin debug said: ... enchant error for language: en_US.UTF8 had to change USE flags in app-text/enchant from "hunspell -aspell" to "-hunspell aspell". then everything started working. (In reply to comment #7) > (In reply to comment #6) > > did an emerge sync and world, re-emerged enchant and removed /root/.revdep* and > > ran revdep-rebuild (it found no broken links). I then restarted xdm. Spell > > check still doesn't work > > > > Try emerging app-dicts/myspell-en and then restart Pidgin. After reading this > bug, I ran enchant-lsmod which displayed > > myspell (Myspell Provider) > > I then checked and there wasn't a myspell-en installed on the system. Once I > emerged it and restarted piding, spellchecking worked. I guess it's a missing > dependancy somewhere. > Thank you Eric, this suggestion worked for me, now all kinds of apps are supporting inline spell checking again. hunspell differed from aspell that it did not installed dictionaries by default. Currently this is fixed and this issue should be fixed too. |