Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853622 - media-gfx/inkscape-1.2-r1: python dependencies missing
Summary: media-gfx/inkscape-1.2-r1: python dependencies missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-21 20:54 UTC by tastytea
Modified: 2022-07-19 02:18 UTC (History)
2 users (show)

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 tastytea 2022-06-21 20:54:27 UTC
Inkscape depends on dev-python/cachecontrol for importing images from the
internet. File -> Import Web Image shows this error message:

> Traceback (most recent call last):
>   File "/usr/share/inkscape/extensions/other/clipart/import_web_image.py", line 47, in <module>
>     from import_sources import RemoteSource, RemoteFile, RemotePage
>   File "/usr/share/inkscape/extensions/other/clipart/import_sources.py", line 29, in <module>
>     from cachecontrol import CacheControl, CacheControlAdapter
> ModuleNotFoundError: No module named 'cachecontrol'

After installing dev-python/cachecontrol-0.12.11 the dialogue showed but didn't
show any results. Upon closing the dialogue this error message pops up:

> Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/site-packages/cachecontrol/caches/file_cache.py", line 77, in __init__
>     from lockfile import LockFile
> ModuleNotFoundError: No module named 'lockfile'
> […]

After installing dev-python/lockfile-0.12.2-r2 it worked. lockfile seems to be an optional dependency of cachecontrol, from what i can see.
Comment 1 Larry the Git Cow gentoo-dev 2022-07-19 02:18:17 UTC
The bug has been closed via the following commit(s):

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

commit be55d2acab82c0ae924ecef22e60f037fab35fdb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-19 02:17:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-19 02:17:46 +0000

    media-gfx/inkscape: add 1.2.1
    
    Closes: https://bugs.gentoo.org/853622
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/inkscape/Manifest              |   1 +
 media-gfx/inkscape/inkscape-1.2.1.ebuild | 193 +++++++++++++++++++++++++++++++
 media-gfx/inkscape/inkscape-9999.ebuild  |   6 +-
 3 files changed, 198 insertions(+), 2 deletions(-)