Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683634 - x11-misc/sunflower - sunflower: ImportError: No module named chardet
Summary: x11-misc/sunflower - sunflower: ImportError: No module named chardet
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Piotr Karbowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-16 19:06 UTC by Dmitriy Baranov
Modified: 2019-04-20 17:53 UTC (History)
0 users

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 Dmitriy Baranov 2019-04-16 19:06:16 UTC
$ sunflower 
Gtk-Message: 21:46:13.094: Failed to load module "canberra-gtk-module"
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/sunflower/application/main.py", line 31, in <module>
    from gui.main_window import MainWindow
  File "/usr/lib64/python2.7/site-packages/sunflower/application/gui/main_window.py", line 31, in <module>
    from plugin_base.item_list import ItemList
  File "/usr/lib64/python2.7/site-packages/sunflower/application/plugin_base/item_list.py", line 11, in <module>
    from tools.viewer import Viewer
  File "/usr/lib64/python2.7/site-packages/sunflower/application/tools/viewer.py", line 2, in <module>
    import chardet
ImportError: No module named chardet
Failed running with python2.7
Comment 1 Dmitriy Baranov 2019-04-16 19:07:17 UTC
Works w/o errors if dev-python/chardet installed.
Comment 2 Larry the Git Cow gentoo-dev 2019-04-20 17:53:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca2bb633bc01b54f41fb0a42709fe307a0a4b15

commit bca2bb633bc01b54f41fb0a42709fe307a0a4b15
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2019-04-20 17:52:06 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2019-04-20 17:52:55 +0000

    x11-misc/sunflower: add missing dependency on pycairo and chardet.
    
    Closes: https://bugs.gentoo.org/683634
    Package-Manager: Portage-2.3.64, Repoman-2.3.12
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 x11-misc/sunflower/sunflower-0.3.61.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)