[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#650695: myspell-it: bad flagvector error



Package: myspell-it
Version: 1:3.3.0-3
Severity: minor

When using myspell-it dictionary multiple bad flagvector messages are sent to the console.

Run hunspell with it_IT dictionary to reproduce:
$ hunspell -d it_IT
error: line 3: bad flagvector
error: line 8: bad flagvector
error: line 12: bad flagvector
error: line 14: bad flagvector
error: line 16: bad flagvector
error: line 18: bad flagvector
error: line 22: bad flagvector
error: line 27: bad flagvector

This is caused by single "/" inside the dictionary file /usr/share/hunspell/it_IT.dic

It is most annoying when using myspell wit php because these errors appeared in my apache error.log everytime the Italian dictionary was used.

It can be fixed by running the command:
sed '/^\/$/d' -i /usr/share/hunspell/it_IT.dic

This should probably be added as part of the build process.




-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages myspell-it depends on:
ii  dictionaries-common [openoffi 1.5.17     Common utilities for spelling dict

myspell-it recommends no packages.

myspell-it suggests no packages.

-- no debconf information



Reply to: