Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73480 - app-office/lyx - spell checking with aspell or ispell (using run-with-aspell) broken
Summary: app-office/lyx - spell checking with aspell or ispell (using run-with-aspell)...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-05 13:32 UTC by Andreas Hofer
Modified: 2009-07-10 17:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hofer 2004-12-05 13:32:16 UTC
While trying to spell check a text from within lyx, lyx reports that the spell cker finished with an error condition reported in an alert message box like this:

The spell-checker has failed.
The spell process returned an error.
Perhaps it has been configured wrongly?

Following relevant ebuilds are emerged:
app-office/lyx-1.3.5  +cups -debug -gnome +nls -qt
app-text/aspell-0.50.5-r4  +debug +gpm
app-dicts/aspell-en-0.51.1
app-dicts/aspell-de-0.50.2
app-dicts/aspell-fr-0.50.3

I also tried to emerge lyx with USE="debug" option, but the build process failed with a linker error. Without debug option the buil succeeds -- strange.

One more information. Following environment variables are set to "de.DE@euro":
LANG, LANGUAGE, LC_ALL.
I also unset these, same error.

Reproducible: Always
Steps to Reproduce:
1.Start "lyx" or "run-with-aspell lyx"
2.Load any lyx file (I tried with files in german and in english language)
3.Hit F7 to start spell checker
4.Change spell checker in preferences (ispell <-> aspell) and try again
Actual Results:  
The alert box appears telling me that "The spell-checker has failed."

Expected Results:  
Well, just spell check the text and complain about misspelled words

emerge --info yields:

Portage 2.0.51-r3 (!/usr/portage/profiles/default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 i586)
=================================================================
System uname: 2.6.9-gentoo-r6 i586 Mobile Pentium MMX
Gentoo Base System version 1.4.16
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium-mmx -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-mmx -fomit-frame-pointer -pipe"
DISTDIR="/leffe-neu/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.gentoo.skynet.be/pub/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/leffe-neu/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/leffe-neu/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts crypt cups encode esd f77 foomaticdb
fortran gdbm gif gpm gtk imagemagick imlib java jpeg libg++ libwww mad mikmod
mmx mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime
readline sdl slang spell ssl svga tcpd tetex tiff truetype x86 xml2 xmms xv zlib"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-05 15:04:58 UTC
Is this only with lyx, do other applications work well?
Comment 2 Andreas Hofer 2004-12-05 23:51:08 UTC
Yes, it seems to be related to lyx only. I can spell check german and english texts using standalone aspell.
I emerged lyx, aspell, aspell-en, aspell-de on another machine (2.66GHz HT Intel P4) and the error does not show up on this machine!
Any clue how to pinpoint the problem?

Andreas
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-06 05:58:42 UTC
no pinpoint yet, just wanted to assure correct assignment
Comment 4 Andreas Hofer 2004-12-07 09:19:31 UTC
Additional information: Emerged latest ispell. With ispell, lyx seems to work flawlessly. After configuring lyx back to use aspell, lyx shows the described error. Maybe some problem with the communication between the two processes?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-04 17:42:27 UTC
Still relevant?
Comment 6 Andreas Hofer 2006-08-05 01:23:17 UTC
I don't know if it is still relevant, since I didn't use lyx for a long time and have no plans to do so. So, for me it is ok to close this one.

Andreas
Comment 7 Andreas Hofer 2006-08-05 03:30:16 UTC
I don't know if it is still relevant, since I didn't use lyx for a long time and have no plans to do so. So, for me it is ok to close this one.

Andreas
Comment 8 Chris Slycord 2009-07-10 17:22:06 UTC
I've tried using ispell and aspell and neither seem to work with lyx.

If I click on the spell-checking icon it simply shows at the bottom of the screen "(dialog-show spellchecker: F7)" then that disappears moments later. And if I choose "tools -> spellchecker" then sometimes a menu will come up but it disappears instantly.

So still relevant.

I have lyx-1.6.3, ispell-3.3.02-r2, aspell-0.60.6-r1, and aspell-en-6.0.0