** Description changed:

+ [ Impact ]
+ 
+ The pyotherside QRC importer has stopped to function since
+ noble/python3.12 because of a now-gone python stdlib function. This
+ prevents software like `yubikey-manager-qt` from working correctly (see
+ https://bugs.launchpad.net/bugs/2061529)
+ 
+ This was fixed in upstream version 1.6.2 which is available in plucky.
+ 
+ [ Test Plan ]
+ 
+ Steps to reproduce the issue:
+ 
+ * Install `yubikey-manager-qt` on a Noble system
+ * Start the program using `ykman-gui`
+ * Notice the "NameError: name 'yubikey' is not defined" and other errors
+ * The program is unusable
+ 
+ If this fix to pyotherside works, then `ykman-gui` should run fine
+ without any `NameError`.
+ 
+ [ Where problems could occur ]
+ 
+ Limited impact in case of regression since only yubikey software depends
+ on qml-module-io-thp-pyotherside in Noble.
+ 
+ [ Other info ]
+ 
+ PyOtherSideQtRCImporter needs to implement find_spec since find_module
+ is no longer supported.
+ 
https://docs.python.org/3.11/library/importlib.html#importlib.abc.MetaPathFinder.find_module
+ shows it is deprecated since 3.4 (the link shows the 3.11 docs) and it
+ was removed in 3.12.
+ 
+ Upstream issue: https://github.com/thp/pyotherside/issues/130
+ Upstream fix: https://github.com/thp/pyotherside/pull/131
+ Upstream follow-up fix: https://github.com/thp/pyotherside/pull/134
+ 
+ [ Original bug report ]
+ 
  Running ykman-gui on 22.04 currently shows the following.  ykman works
  fine.
- 
  
  NameError: name 'yubikey' is not defined
  )
  qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of 
undefined
  "PyOtherSide error: Traceback (most recent call last):\n\n  File 
\"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
  qml: Function not found: 'yubikey.controller.refresh' (Traceback (most recent 
call last):
  
-   File "<string>", line 1, in <module>
+   File "<string>", line 1, in <module>
  
  NameError: name 'yubikey' is not defined
  )
  qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of 
undefined
  "PyOtherSide error: Traceback (most recent call last):\n\n  File 
\"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
  qml: Function not found: 'yubikey.controller.refresh' (Traceback (most recent 
call last):
  
-   File "<string>", line 1, in <module>
+   File "<string>", line 1, in <module>
  
  NameError: name 'yubikey' is not defined
  )
  qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of 
undefined
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: yubikey-manager-qt 1.2.5-1build2
  ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
  Uname: Linux 6.8.0-11-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Apr 15 09:56:39 2024
  InstallationDate: Installed on 2024-01-19 (87 days ago)
  InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 
(20230807.2)
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: yubikey-manager-qt
  UpgradeStatus: Upgraded to noble on 2024-03-06 (40 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061529

Title:
  NameError: name 'yubikey' is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyotherside/+bug/2061529/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to