From nobody Sun Nov 13 05:52:25 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N91nj6D8nz4d9X6 for ; Sun, 13 Nov 2022 05:53:13 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N91nh7075z3MjF for ; Sun, 13 Nov 2022 05:53:12 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z8q6ICGn; spf=pass (mx1.freebsd.org: domain of parv.0zero9@gmail.com designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=parv.0zero9@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x62b.google.com with SMTP id n20so619387ejh.0 for ; Sat, 12 Nov 2022 21:53:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=D9tJRMba7DsKbPS6zIhTeCRPKpADzWz2wHWx1byBsTQ=; b=Z8q6ICGn+Z5WFGzLs6znj4mEj7G2Sre2j/rnLjjuNOu6UaKMVWYgGMN5T6Wegy06F/ hUSZaattnTcx/gdxeKaJtDancIhY4ngR6UJ9irII3itoUkiUdZlKZnLYnJV2tUlHN60I uk9a3bfN5rf8++ASx7bJ9WQq86fYr0LMjr5hCb4NlilOu/LOKwbGMnDUnpDTyC1IaVGC OtgEcaxYOSMOAW4mFICIncSsu+LPHHh9+rtTSMfD3fF8spMKOpUzh0xWO6lfQ1ryyicQ vZ+JWs1q5ISX2ATloCofvsJT725nj8eDQ5r187HLzqfWdRlOPh6nMtqK7hQE4auiqRp6 sKPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=D9tJRMba7DsKbPS6zIhTeCRPKpADzWz2wHWx1byBsTQ=; b=sL+bZk9awRlO85WLFskx3LvyFpfzP+HSjn0Qj77tNi6KcG2gO0yAywodokG/CjpGuo 6bkb9fawyfN47c03h/uWX3Hl+BkHTAj2v3X8Zt3Sg+zR9Hw950RamR0MH07SclVMuPTW 8IC3y7BU7LSA025NHzehwZg74cIeV01/jCMZdWPVIYSs59FC2BmE3wuJWNotASKCik2n bxzNGxomNiP01lloXQJb/Lr0MVqqcIG08umu9JkIiIJZo3oxZLKe71yu1MuLWs3R2n2B HxlCQXy7WnpGKADhjYgKXX9Im4VT4GoyiZQqD58nU7tk4c4vYkEGqSl6p9gkhX2Rohwv 3eBQ== X-Gm-Message-State: ANoB5pnl1NLnm9gUxd9eDNxSh1QrLA/1e1eGZBtZHg88vD3BQ+ApFxLr 23j0ICte0dzsXZ9nKJh/7HmLD5CTzJjdwOAwCcEkwwFdMjX66g== X-Google-Smtp-Source: AA0mqf7diN19BxH+ZF7cvkJGliGJw0FbcxEovc1fPe1RI4kiCYxRawYjcSJiz5dnxpyP+6IvTRDhSgIIxjL7jYLPhdM= X-Received: by 2002:a17:907:766f:b0:78d:4795:ff1f with SMTP id kk15-20020a170907766f00b0078d4795ff1fmr7010768ejc.331.1668318791643; Sat, 12 Nov 2022 21:53:11 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20221112140934.157b9d6e@dismail.de> In-Reply-To: From: "parv/FreeBSD" Date: Sat, 12 Nov 2022 19:52:25 -1000 Message-ID: Subject: Re: inkscape 1.2.1 To: FreeBSD Questions Content-Type: multipart/alternative; boundary="000000000000f2b7a105ed53bcb3" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.96)[-0.955]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62b:from]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[freebsd]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4N91nh7075z3MjF X-ThisMailContainsUnwantedMimeParts: N --000000000000f2b7a105ed53bcb3 Content-Type: text/plain; charset="UTF-8" On Sat, Nov 12, 2022 at 7:22 PM parv/FreeBSD wrote: > On Sat, Nov 12, 2022 at 9:10 AM LuMiWa wrote: > >> 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 >> from import_sources import RemoteSource, RemoteFile, RemotePage >> File >> "/usr/local/share/inkscape/extensions/other/clipart/import_sources.py", >> line 26, in >> import requests >> ModuleNotFoundError: No module named 'requests' >> >> And I am using packages (pkg install) >> > > The error is due to "inkspace" *ass*uming that "requests" > module would already be available. Either it (original software) > needs to intercept the error & ask user to install the > missing package. Or, the FreeBSD port needs to unconditionally > have "requests" as the run time dependency. > ... Could anyone interested in the issue ... https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267735 ... test the "Import Web Image" function in terms of fetching an image by installing port after applying the patch ... https://bz-attachments.freebsd.org/attachment.cgi?id=238047 ... ? Thanks much. - parv -- --000000000000f2b7a105ed53bcb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Nov 12, 2022 at 7:22 PM parv/FreeBSD wrote:
=
On Sat, Nov 12, 2022 at 9:10 AM LuMiWa wrote:
I am u= sing 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):
=C2=A0 File "/usr/local/share/inkscape/extensions/other/clipart/import= _web_image.py", line 47, in <module>
=C2=A0 =C2=A0 from import_sources import RemoteSource, RemoteFile, RemotePa= ge
=C2=A0 File "/usr/local/share/inkscape/extensions/other/clipart/import= _sources.py", line 26, in <module>
=C2=A0 =C2=A0 import requests
ModuleNotFoundError: No module named 'requests'

And I am using packages (pkg install)

The error is due to "inkspace" *as= s*uming that "requests"
module would already be available. Either it (original software)
needs to intercept the error & ask use= r to install the
missing package.= Or, the FreeBSD port needs to unconditionally
have "requests" as the run time dependency.
...

Could anyone interested in the issue ...

<= div style=3D"font-family:monospace" class=3D"gmail_default">=C2=A0 https://bug= s.freebsd.org/bugzilla/show_bug.cgi?id=3D267735

... test the "Import Web Image&= quot; function in terms of fetching
an image by installing port after applying the p= atch ...
=
<= div style=3D"font-family:monospace" class=3D"gmail_default">
... ?

Thanks much.


- parv
--
<= br>
--000000000000f2b7a105ed53bcb3--