Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458772 - >=app-officelibreoffice-4 spellchecker not working anymore
Summary: >=app-officelibreoffice-4 spellchecker not working anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-02-22 18:32 UTC by Marc Schiffbauer
Modified: 2013-06-04 13:10 UTC (History)
3 users (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 Marc Schiffbauer gentoo-dev 2013-02-22 18:32:08 UTC
Hi,

since the update to libreoffice-4* spellchecking (german) is not working anymore for me using the gentoo packages. In the lo settings it cannot find any german dictionary anymore. In lo 3* everything was working just fine. I verified that by downgrading lo again.

bart ~ # qlist -ICv libreoffice hunspell myspell
app-dicts/myspell-de-2012.06.17
app-dicts/myspell-en-20081002
app-office/libreoffice-4.0.0.3
app-office/libreoffice-l10n-4.0.0.3
app-text/hunspell-1.3.2-r3
bart ~ #

(Already tried to rebuild all the *spell* stuff)

Workaround: Downloading the extension here[1] and installing it as user using the extensionmanager it works just fine (same version of the dict)

May there be some search paths borked somewhere or something like that??

[1] http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries

emerge --info
Portage 2.2.0_alpha163 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.7.6-gentoo x86_64)
=================================================================
System uname: Linux-3.7.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:    16448368 total,   2892284 free
KiB Swap:    3145724 total,   3108396 free
Timestamp of tree: Wed, 20 Feb 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2::kde
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo vmware sunrise hasufell gnustep mschiff-local mschiff kde
Installed sets: @kde-4.10, @kdepim-4.10, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Q3AEULA PUEL dlj-1.1 skype-4.0.0.7-copyright googleearth AdobeFlash-10.3 google-talkplugin Oracle-BCLA-JavaSE Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/tomoyo/conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --load-average=3.0 --tree --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /var/lib/layman/sunrise /var/lib/layman/hasufell /var/lib/layman/gnustep /home/mschiff/gentoo/overlays/mschiff-local /home/mschiff/gentoo/overlays/mschiff /home/mschiff/gentoo/overlays/kde"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns akonadi alsa amd64 ao audiofile bacula-clientonly bacula-console bash-completion berkdb bluetooth branding btrfs bzip2 cairo caps cdda cddb cdr chm cli consolekit cracklib crypt css cups curl cxx dbus declarative device-mapper dhclient djvu dri dts dvd dvdr ebook emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gimp glibc-omitfp google-gadgets gpm gtk iconv id3tag ieee1394 ipod ipv6 jpeg jpeg2k kde kipi l7filter lame laptop lcms ldap libnotify lm_sensors logrotate loop-aes lzma lzo mad mjpeg mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib musicbrainz mysql ncurses networkmanager nls nptl nsplugin ntp ogg openexr opengl openmp pam pango pch pcmcia pcre pdf phonon plasma png policykit postgres ppds pulseaudio qt3support qt4 readline rss samba sdl semantic-desktop session smapi smp sndfile spell spice sse sse2 ssl ssse3 startup-notification svg tcpd threads thumbnail tiff truetype udev udisks unicode upower usb vcd vim-syntax vnc vorbis webkit wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="btrfs crypt lvm" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="multiboot pc qemu" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2013-03-06 21:23:36 UTC
This seems to be upstream bug. From my tracing it seems to run multiple times over one paragraph which confuses the parser and thus does not mark anything as wrong.

See the mail "[Grammar checker] Undocumented change in the API for LO 4" sent to libreoffice-dev mailinglist.

As sidenote with dicts herd empty could you gather other DE devs and make all you guys maitain your spellcheck/hyph rules by any chance? :-)
Comment 2 Marc Schiffbauer gentoo-dev 2013-03-06 21:47:58 UTC
Ok thanks.

Regarding the spell/hyph stuff: What needs to be done here exactly? Its not that I have plenty of time left :-( But I might have a look every now and then...
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2013-03-07 13:18:54 UTC
(In reply to comment #2)
> Ok thanks.
> 
> Regarding the spell/hyph stuff: What needs to be done here exactly? Its not
> that I have plenty of time left :-( But I might have a look every now and
> then...

Well I created the snapshot from extensions.libreoffice.org site so you would have to monitor those and check for updates.

Also my german suck so acting on user reported bugs would be nice :-)
Comment 4 Marc Schiffbauer gentoo-dev 2013-03-12 22:43:19 UTC
OK, you can assign german bugs to me...

I am really willing to help more, but my time is somewhat limited at the moment :-/
Comment 5 RAPHEAD 2013-05-03 22:39:05 UTC
Sames Issue here with 4.0.2.2.
Any progress?
Comment 6 Michael Hofmann 2013-05-17 17:38:11 UTC
The bug is still present in LibreOffice Version 4.0.3.3: German spell checking doesn't work.
Comment 7 Michael Hofmann 2013-06-01 14:21:45 UTC
The reason for the problem is the name of the German dictionaries, which are installed with package myspell-de.

The dictionaries are called de_DE_frami.aff and de_DE_frami.dic. LibreOffice 4 doesn't like '_frami'.

A temporary workaround which brings back German spell checking to LibreOffice 4 is:

1) log in as root
2) cd /usr/share/myspell
3) ln -s /usr/share/hunspell/de_DE_frami.aff de_DE.aff
4) ln -s /usr/share/hunspell/de_DE_frami.dic de_DE.dic

Hyphenation and thesaurus don't need a fix since they work without problems.
Comment 8 Michael Hofmann 2013-06-02 16:50:51 UTC
It seems that LibreOffice is not the only program having problems with '_frami' in the filenames of German dictionaries: https://bugs.gentoo.org/show_bug.cgi?id=430468 

I think the best solution is to remove '_frami' from the filenames of the German dictionaries. This must be done by package maintainers of app-dicts/myspell-de.
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2013-06-04 13:10:32 UTC
Removed the frami part in -r1 bump of the dicts as suggested.

Lets see how many regressions that cause.