From nobody Mon Jun 27 21:39:50 2022 X-Original-To: freebsd-python@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 3763E8A4720 for ; Mon, 27 Jun 2022 21:40:29 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) (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 4LX1Nq4ypFz4btv for ; Mon, 27 Jun 2022 21:40:27 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-317710edb9dso99068117b3.0 for ; Mon, 27 Jun 2022 14:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=aTUYzLnLgm/4zwgN6KKfPQ3XfNOejGpSqm58yj6H08E=; b=h+Jy+w0P2BLNv0xeiREgb9Wz+K7IYy23CIQDbxpGxv7dZ91Q+O3J2von65sxVrhK4p 9qA7t1FE9l2onhEp01VqVm9a1DX4jhzivl9o5qYadhGLbpLETHoo6yozKmdTSDmIQsFW h4ZvOe6YnWtP5fHbL6XOPh3XHMHmLgoc/UOUF1HU+vNXTquEHYppkr6pbmOYPaS/I7Wk gY3w0PY84H3+y9YiOHR9ldwPoh3mRRDsmibuDYtymeSKrGFXHuJiP2khAo2Xk5YWrLZ+ JtiK71pASZXCf6SZmlU0xQCr9awlNk+T6ae6fgT+gLqIlY/YFFJ75pdxoMhoK4JPm2Jy 7BEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aTUYzLnLgm/4zwgN6KKfPQ3XfNOejGpSqm58yj6H08E=; b=eBpMWorjGUl1GdJDDJbdlLhaXC0L+BfP1TDb4exvfPJs5BPoNfAjtsdvc/sBbiOno0 ZP2pp8SbzbRYAbjOWlbsgBWtqfXwJA7qSYtf2dVHnp22nGrn2YHOUIQTrE9NPrKK/Yus MXAXa4qyPMLlOHgCySb2KQ9WQVYwiw82Al7LuFO8IeLPP0bZPEbY2s8vLsna3JNOAnGn g62+qHh6X5fL12lH9fOVFNLXxZpUxuM9hl2L5wvjC2PUzAWI4RZyy1Y5oRFxPq0N5kfH N7RlRo4HUu5vwsmzfSXk42nZJk/vM00kfLKaeckVj+yxr7EsWNz8RaPjPel6CPktO1eB bj1A== X-Gm-Message-State: AJIora97Kz9hFJet4sAv2KStqVFYDVrWqIKjCT9Nz2WEzDLNWqhaKMBA QuTMZfpmGpWc0FAitcoUpZ2iLZsnQXG+R2wmZzuOZFs0Rb1s/Q== X-Google-Smtp-Source: AGRyM1vuDwh4QVWTfxRlP267WDzb0MqaRoO6ih6WXoOmCvSZcHRNp9pKGAYZEfkUQOYlfIXkd2I0cF0xM8waK527vhY= X-Received: by 2002:a0d:dd41:0:b0:318:3ac4:9b98 with SMTP id g62-20020a0ddd41000000b003183ac49b98mr17130963ywe.519.1656366026567; Mon, 27 Jun 2022 14:40:26 -0700 (PDT) List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Mon, 27 Jun 2022 23:39:50 +0200 Message-ID: Subject: pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/__init__.py:No such file or directory To: freebsd-python@freebsd.org Content-Type: multipart/alternative; boundary="000000000000a1c09505e274c4cd" X-Rspamd-Queue-Id: 4LX1Nq4ypFz4btv X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=h+Jy+w0P; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::112e as permitted sender) smtp.mailfrom=marietto2008@gmail.com X-Spamd-Result: default: False [-2.99 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-python@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112e:from]; NEURAL_SPAM_SHORT(0.01)[0.012]; MLMMJ_DEST(0.00)[freebsd-python]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --000000000000a1c09505e274c4cd Content-Type: text/plain; charset="UTF-8" Hello. I'm playing a little bit with sikulix. I'm trying to learn how it works because I want to automatize the daily tasks of my FreeBSD 13.1-RELEASE. So,as soon as I have implemented my first "click on the image" function,I've got the error message that you see below and I don't know how to fix it : *[error] RunTime:loadLib: libopencv_java430.so (failed) probably dependent libs missing: Can't load library: /root/.Sikulix/SikulixLibs/libopencv_java430.so [error] Save your work, correct the problem and restart the IDE! [error] see: https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4 TERMINATING: problem with native library: libopencv_java430.so [error] script [ click_image ] stopped with error in line 1 [error] java.lang.ExceptionInInitializerError ( java.lang.ExceptionInInitializerError ) [error] --- Traceback --- error source first line: module ( function ) statement 1: main ( ) click("1656348124939.png") [error] --- Traceback --- end --------------* At this point I tried to compile opencv from ports enabling JAVA like this : mario@marietto:/usr/ports/graphics/opencv # make (enabled JAVA) mario@marietto:/usr/ports/graphics/opencv # make install but it didn't work : ......... ===> Installing for opencv-4.5.5_7 ===> Checking if opencv is already installed ===> Registering installation for opencv-4.5.5_7 pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/config-3.9.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/config.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/gapi/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/load_config_py2.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/load_config_py3.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/mat_wrapper/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/misc/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/misc/version.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/python-3.9/cv2.cpython-39.so:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/utils/__init__.py:No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/opencv *** Error code 1 Stop. make: stopped in /usr/ports/graphics/opencv I suppose that the error depends on the fact that I'm using python 3.8 as default but it wants python 3.9 ? mario@marietto:/home/marietto # python --version Python 3.8.13 What's the right procedure to upgrade it (if I should do this,because I'm not sure). I tried to remove python38,but I think that it's not the right choice : mario@marietto:/home/marietto # pkg remove python38 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 580 packages (of 0 packages in the universe)... but If I don't remove python38 from packages,I can't compile python 3.9 from ports. So,what ? take also in consideration that I have installed some python packages : mario@marietto:/home/marietto # pkg remove python39 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 6 packages (of 0 packages in the universe): Installed packages to be REMOVED: asciidoc: 10.2.0 py39-cython: 0.29.30_1 py39-numpy: 1.22.4_1,1 py39-setuptools: 62.1.0_1 python: 3.9_3,2 python39: 3.9.13 Number of packages to be removed: 6 but I haven't removed them,since I'm not sure if I should do this. I don't know what to do. -- Mario. --000000000000a1c09505e274c4cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

I'm playing a little bit with sikulix. I'm trying to learn how it w= orks=20 because I want to automatize the daily tasks of my FreeBSD 13.1-RELEASE. So,as soon as I have implemented my first "click on the image"= =20 function,I've got the error message that you see below and I don't = know=20 how to fix it :

[error] RunTime:loadLib: libopencv_java430.so (failed) probably dependen= t libs missing:
Can't load library: /root/.Sikulix/SikulixLibs/libopencv_java430.so
[error] Save your work, correct the problem and restart the IDE!
[error] see: https://github.com/RaiMan/= SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4
TERMINATING: problem with native library: libopencv_java430.so
[error] script [ click_image ] stopped with error in line 1
[error] java.lang.ExceptionInInitializerError ( java.lang.ExceptionInInitia= lizerError )
[error] --- Traceback --- error source first
line: module ( function ) statement
1: main ( <module> ) click("1656348124939.png")
[error] --- Traceback --- end --------------



At this point I tried to compile opencv = from ports enabling JAVA like this :

mario@marietto:/usr/por=
ts/graphics/opencv # make (enabled JAVA)
mario@marietto:/usr/ports/graphics/opencv # make install

but it didn't work :
=09 =09

......... =3D=3D=3D> Installing for opencv-4.5.5_7 =3D=3D=3D> Checking if opencv is already installed =3D=3D=3D> Registering installation for opencv-4.5.5_7 pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/__init__.py:No such file or director= y pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/config-3.9.py:No such file or direct= ory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/config.py:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/gapi/__init__.py:No such file or dir= ectory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/load_config_py2.py:No such file or d= irectory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/load_config_py3.py:No such file or d= irectory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/mat_wrapper/__init__.py:No such file= or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/misc/__init__.py:No such file or dir= ectory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/misc/version.py:No such file or dire= ctory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/python-3.9/cv2.cpython-39.so:No such= file or directory pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr= /local/lib/python3.9/site-packages/cv2/utils/__init__.py:No such file or di= rectory *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/opencv *** Error code 1 Stop. make: stopped in /usr/ports/graphics/opencv

I suppose that the error depends on the fac= t that I'm using python 3.8 as default but it wants python 3.9 ?
<= div>
mario@marietto:/home/marie= tto # python --version
Python 3.8.13

What's the right procedure to upgrade it (if I should do this,becaus= e I'm not sure). I tried to remove python38,but I think that it's n= ot the right choice :

mario@marietto:/home/marietto # pkg remove python38

Checking integrity... d= one (0 conflicting)
Deinstallation has been requested for the following 580 packages (of 0 = packages in the universe)...

but If I don't remove python38 from pack= ages,I can't compile python 3.9 from ports. So,what ?
take also in consideration that = I have installed some python packages :

mario@marietto:/home/marietto # pkg remove python39 =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 6 packages (of 0 pa= ckages in the universe):

Installed packages to be REMOVED:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0asciidoc: 10.2.0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0py39-cython: 0.29.30_1
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0py39-numpy: 1.22.4_1,1
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0py39-setuptools: 62.1.0_1
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0python: 3.9_3,2
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0python39: 3.9.13

Number of packages to be removed: 6

but I haven't removed them,sin= ce I'm not sure if I should do this. I don't know what to do.

--
Mario.
--000000000000a1c09505e274c4cd--