Zim

Getting spell check working on Windows

Bug #984668 reported by binkino
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Zim
In Progress
Wishlist
Brendan Kidwell

Bug Description

Is it possible to enable spell check in Windows build? It seems Pidgin which also uses gtkspell has enabled spell check in Windows build. So maybe this is doable in Zim as well.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

@brendan: I think this was discussed on the mailing list before - could you comment on this ? Thanks.

Changed in zim:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
binkino (binkino) wrote :

Just found this in the mailing list

https://lists.launchpad.net/zim-wiki/msg01458.html

It seems to be a working solution, although it requires installation of Python packages, which contradicts the purpose of a Zim binary package.

Revision history for this message
binkino (binkino) wrote :

Anyway, it seems current Windows build missing a couple of libraries, i.e. Enchant/PyEnchant and GTKSpell/PyGTKSpell, and maybe other libraries.

Revision history for this message
binkino (binkino) wrote :

PyGTKSpell is part of package "gnome-python-extras", source code is at

http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras/

PyEnchant, with source code and Windows binary, is at

http://packages.python.org/pyenchant/download.html

Revision history for this message
binkino (binkino) wrote :

As for PyEnchant, there are prebuilt Windows libraries for Python 2.5/2.6/2.7 at

http://pypi.python.org/pypi/pyenchant/

Revision history for this message
Brendan Kidwell (bkidwell) wrote :

It appears that gtkspell and gnome-python-extras are completely unsupported in Windows.

The binary for gtkspell from the GRAMPS project is the only one I can find, and it's for Python 2.6.

gtkspellcheck ( https://pypi.python.org/pypi/pygtkspellcheck/ ) seems to be the successor to gtkspell for Python. I have it installed in Windows, and the docs claim it provides a "legacy API" for gtkspell, but fiddling with the source code for Zim's 'spell.py' plugin, I could not get it to work.

Until Jaap ports the spellcheck plugin over to gtkspellcheck, I can't work on this issue.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Hi Brendan,

I updated the spell plugin to use gtkspellcheck instead of gtkspell when it is available. Hope this helps to get spell checking to work.

Updates are in rev777.

Cheers!

Jaap

Changed in zim:
status: Confirmed → In Progress
assignee: nobody → Brendan Kidwell (bkidwell)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.