Page MenuHomeSolus

Uberwriter enchant not found
Closed, InvalidPublic

Description

When I try to start uberwriter, it says that is could not find pyenchant even though it has been installed as a dependency.

$ uberwriter
Traceback (most recent call last):
  File "/usr/bin/uberwriter", line 49, in <module>
    import uberwriter
  File "/usr/lib/python3.6/site-packages/uberwriter/__init__.py", line 28, in <module>
    from . import UberwriterWindow
  File "/usr/lib/python3.6/site-packages/uberwriter/UberwriterWindow.py", line 43, in <module>
    from uberwriter_lib.gtkspellcheck import SpellChecker
  File "/usr/lib/python3.6/site-packages/uberwriter_lib/gtkspellcheck/__init__.py", line 52, in <module>
    from .spellcheck import (SpellChecker, NoDictionariesFound,
  File "/usr/lib/python3.6/site-packages/uberwriter_lib/gtkspellcheck/spellcheck.py", line 26, in <module>
    import enchant
  File "/usr/lib/python3.6/site-packages/enchant/__init__.py", line 92, in <module>
    from enchant import _enchant as _e
  File "/usr/lib/python3.6/site-packages/enchant/_enchant.py", line 145, in <module>
    raise ImportError(msg)
ImportError: The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI.

$ eopkg list-installed  | grep enchant
enchant                                     - Spell check library wrapper program
pyenchant                                   - Python language bindings for enchant

This also happens, when trying to import enchant in python.

Event Timeline

Nesaijn created this task.Thu, Feb 13, 9:29 PM
DataDrake triaged this task as Normal priority.Thu, Feb 13, 9:46 PM
DataDrake edited projects, added Software; removed Lacks Project.
DataDrake moved this task from Backlog to Package Fixes on the Software board.
JoshStrobl closed this task as Invalid.Fri, Feb 14, 1:59 AM
JoshStrobl added a subscriber: JoshStrobl.

Already fixed in R2507:7f99f1bb23a6: Fix rundeps for pyenchant, you'll get it during the Friday sync.

Everything seems fine. Awesome! Thanks!