Zim

Spell error on Mac OS X

Bug #515752 reported by EF Fay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Invalid
Undecided
Unassigned

Bug Description

Hello,

I am running 0.43 on Mac OS 10.6.2 with Macports.
I'm at Python 2.6 for all Macport packages

I have GTKSpell installed and am using the en_US dictionary. When I got to use spell checking with zim -D workbook, I get the following output:

fordfay:zim-data fay$ DEBUG: Action: toggle_spellcheck
DEBUG: Action: toggle_spellcheck
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zim/plugins/spell.py", line 90, in do_toggle_spellcheck
    self.spell = gtkspell.Spell(textview, lang)
AttributeError: 'NoneType' object has no attribute 'Spell'

Am I doing something dumb?

Thanks,

Ford

.

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

Looks like you don't have the python-gtkspell bindings. A quick check of the macports website doesn't give me a result for something like "pygtkspell", so not sure if it exists. If you find out please let me know so I can add it to the installation docs.

You can test if gtkspell python bindings are installed correctly with the command:

  $ python -c 'import gtkspell; print "OK"'

Will close this bug since it is not an real error in zim. There is a related item that zim should deal better with warning users of dependencies not being met - see bug #505743.

Changed in zim:
status: New → Invalid
Revision history for this message
reagle (joseph.reagle) wrote :

I've gotten this to work with macports, but not homebrew---not sure what the package should be there.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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