[Bug 267735] graphics/inkscape: Add runtime dependency on www/py-requests to "Import Web Image"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267735] graphics/inkscape: Add runtime dependency on www/py-requests to "Import Web Image""
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267735] graphics/inkscape: Add runtime dependency on www/py-requests to "Import Web Image""
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Nov 2022 05:48:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267735 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=238047&action=edit 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", line 47, in <module> from import_sources import RemoteSource, RemoteFile, RemotePage File "/usr/local/share/inkscape/extensions/other/clipart/import_sources.py", 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 port, graphics/inkscape, needs run time dependency on the package. Attached (untested yet) patch adds the run time dependency on "www/py-requests" port; bumps the PORTREVISION to 9. -- You are receiving this mail because: You are the assignee for the bug.