[Bug 255766] security/yubioath-desktop: does not work with python 3.8

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 11 00:55:28 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255766

            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 at FreeBSD.org
          Reporter: freebsdbugs at timpreston.net
                CC: daniel at shafer.cc
                CC: daniel at shafer.cc
             Flags: maintainer-feedback?(daniel at 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: 
"/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_paths
= _init_pathinfo()\n\n  File \"/usr/local/lib/python3.8/site.py\", line 137, in
_init_pathinfo\n    d = set()\n\nSystemError: <class 'set'> returned a result
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 = _init_pathinfo()

  File "/usr/local/lib/python3.8/site.py", line 137, in _init_pathinfo
    d = 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\nImportError:
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 \"<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 910,
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\", line
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> returned 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_spec'


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.

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


More information about the freebsd-ports-bugs mailing list