Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 00:55:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255766] security/yubioath-desktop: does not work with python 3.8
Message-ID:  <bug-255766-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 255766
           Summary: security/yubioath-desktop: does not work with python
                    3.8
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsdbugs@timpreston.net
                CC: daniel@shafer.cc
                CC: daniel@shafer.cc
             Flags: maintainer-feedback?(daniel@shafer.cc)

Using Yubico Authenticator 5.0.4 with Latest pkg repo has pulled in python =
3.8
dependencies. The Authenticator no longer works, reporting the following:

---

Got library name:=20
"/usr/local/lib/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so"
"PyOtherSide error: ImportError: PyCapsule_Import could not import module
\"datetime\"\n\n\nThe above exception was the direct cause of the following
exception:\n\n\nTraceback (most recent call last):\n\n  File
\"/usr/local/lib/python3.8/site.py\", line 194, in addsitedir\n    known_pa=
ths
=3D _init_pathinfo()\n\n  File \"/usr/local/lib/python3.8/site.py\", line 1=
37, in
_init_pathinfo\n    d =3D set()\n\nSystemError: <class 'set'> returned a re=
sult
with an error set\n"
Unhandled PyOtherSide error: Return value of PyObject call is NULL:
ImportError: PyCapsule_Import could not import module "datetime"


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "/usr/local/lib/python3.8/site.py", line 194, in addsitedir
    known_paths =3D _init_pathinfo()

  File "/usr/local/lib/python3.8/site.py", line 137, in _init_pathinfo
    d =3D set()

SystemError: <class 'set'> returned a result with an error set

"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<frozen
importlib._bootstrap>\", line 908, in _find_spec\n\nAttributeError:
'PyOtherSideQtRCImporter' object has no attribute 'find_spec'\n\n\nDuring
handling of the above exception, another exception occurred:\n\n\nImportErr=
or:
PyCapsule_Import could not import module \"datetime\"\n\n\nThe above except=
ion
was the direct cause of the following exception:\n\n\nTraceback (most recent
call last):\n\n  File \"<frozen importlib._bootstrap>\", line 991, in
_find_and_load\n\n  File \"<frozen importlib._bootstrap>\", line 971, in
_find_and_load_unlocked\n\n  File \"<frozen importlib._bootstrap>\", line 9=
10,
in _find_spec\n\n  File \"<frozen importlib._bootstrap>\", line 884, in
_find_spec_legacy\n\n  File \"qrc://io/thp/pyotherside/qrc_importer.py\", l=
ine
26, in find_module\n\n  File \"qrc://io/thp/pyotherside/qrc_importer.py\", =
line
38, in get_filename\n\nSystemError: <built-in function qrc_is_file> returne=
d a
result with an error set\n"
Unhandled PyOtherSide error: Cannot import module: yubikey (Traceback (most
recent call last):

  File "<frozen importlib._bootstrap>", line 908, in _find_spec

AttributeError: 'PyOtherSideQtRCImporter' object has no attribute 'find_spe=
c'


During handling of the above exception, another exception occurred:


ImportError: PyCapsule_Import could not import module "datetime"


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "<frozen importlib._bootstrap>", line 991, in _find_and_load

  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 910, in _find_spec

  File "<frozen importlib._bootstrap>", line 884, in _find_spec_legacy

  File "qrc://io/thp/pyotherside/qrc_importer.py", line 26, in find_module

  File "qrc://io/thp/pyotherside/qrc_importer.py", line 38, in get_filename

SystemError: <built-in function qrc_is_file> returned a result with an error
set
)
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>=
\",
line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
Unhandled PyOtherSide error: Function not found: 'yubikey.init' (Traceback
(most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'yubikey' is not defined

---

The yubikey not defined error then prints continuously every second or so.

--=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-255766-7788>