Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2022 05:48:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267735] graphics/inkscape: Add runtime dependency on www/py-requests to "Import Web Image"
Message-ID:  <bug-267735-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267735

            Bug ID: 267735
           Summary: graphics/inkscape: Add runtime dependency on
                    www/py-requests to "Import Web Image"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: parv.0zero9+freebsd@gmail.com
                CC: gnome@FreeBSD.org, sunpoet@FreeBSD.org
                CC: gnome@FreeBSD.org, sunpoet@FreeBSD.org

Created attachment 238047
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238047&action=
=3Dedit
Add run time dependency on "www/py-requests"

On freebsd-quesitons@ list, lumiwa@dismail.de mentioned in message
20221112140934.157b9d6e@dismail.de ...

I am using Inkscape 1.2.1 on FreeBSD 13.1 - Release - p3 and it works.
The problem which I have is when going File - Import Web Image... than
I got:

Traceback (most recent call last):
  File
"/usr/local/share/inkscape/extensions/other/clipart/import_web_image.py", l=
ine
47, in <module>
    from import_sources import RemoteSource, RemoteFile, RemotePage
  File "/usr/local/share/inkscape/extensions/other/clipart/import_sources.p=
y",
line 26, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'


Either Inkscape ought to intercept the error & ask the user to install
"requests" package so that it could "Import Web Image". Or, the FreeBSD por=
t,
graphics/inkscape, needs run time dependency on the package.

Attached (untested yet) patch adds the run time dependency on "www/py-reque=
sts"
port; bumps the PORTREVISION to 9.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267735-7788>