Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747112 - www-misc/buku-4.3: ModuleNotFoundError: No module named 'sqlite3'
Summary: www-misc/buku-4.3: ModuleNotFoundError: No module named 'sqlite3'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: David Roman
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-10-07 14:34 UTC by nbao
Modified: 2020-10-07 18:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My emerge --info (emerge-info.txt,7.22 KB, text/plain)
2020-10-07 14:39 UTC, nbao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nbao 2020-10-07 14:34:48 UTC
Error run buku, not found the module sqlite3. Message outputdown:

"
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/buku", line 33, in <module>
    sys.exit(load_entry_point('buku==4.3', 'console_scripts', 'buk
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py
    module = __import__(self.module_name, fromlist=['__name__'], l
  File "/usr/lib/python3.7/site-packages/buku.py", line 32, in <mo
    import sqlite3
ModuleNotFoundError: No module named 'sqlite3'
"
Comment 1 nbao 2020-10-07 14:39:23 UTC
Created attachment 664171 [details]
My emerge --info

I use GentooLTO.
Comment 2 Joonas Niilola gentoo-dev 2020-10-07 15:47:39 UTC
Can you show:
  emerge -pv python:3.7 --nodeps

I suspect your python was built without 'sqlite' USE so an easy fix would be to put that in buku's PYTHON_REQ_USE ebuild.
Comment 3 Larry the Git Cow gentoo-dev 2020-10-07 18:04:49 UTC
The bug has been closed via the following commit(s):

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

commit 49487ff8250d6e004ef94f3f2f88b2d9a6bd051e
Author:     John Helmert III <jchelmert3@posteo.net>
AuthorDate: 2020-10-07 16:50:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-07 18:04:27 +0000

    www-misc/buku: add PYTHON_REQ_USE="sqlite"
    
    Closes: https://bugs.gentoo.org/747112
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: John Helmert III <jchelmert3@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/17839
    Signed-off-by: Sam James <sam@gentoo.org>

 www-misc/buku/{buku-4.3.ebuild => buku-4.3-r1.ebuild} | 1 +
 www-misc/buku/{buku-4.4.ebuild => buku-4.4-r1.ebuild} | 1 +
 2 files changed, 2 insertions(+)