** Description changed:

  [ Impact ]
  
  Kodi users are unable to use Python-based extensions under the version
  currently provided by noble. Attempting to add any results in the
  program crashing.
  
  [ Test Plan ]
  
  On a freshly installed, fully upgraded noble desktop installation:
  
  * sudo apt install kodi
  * Run kodi from command line
  * Select the gear-shaped settings icon
  * Select Add-ons / Install from repository / Look and feel / Skin
  * Select a skin with Python dependencies, e.g. eminence
  * Select Install then OK
  * Once installed, select Yes on the prompt to change skin
  * Observe crash, with "Fatal Python error: PyImport_AppendInittab..." 
reported on the console
  
  To demonstrate proposed version fixes the issue:
  
  * Enable proposed (https://wiki.ubuntu.com/Testing/EnableProposed)
  * sudo apt install -t noble-proposed kodi
- * rm -rf ~/.kodi # to reset changes we made above
+ * mv ~/.kodi ~/.kodi.bak # to reset changes we made above
  * Repeat procedure above, observing no crash in the final step
  * Exit kodi normally
  
  To guard against regression:
  
  * cd ~/Videos
  * Grab a suitable video file, e.g. wget 
https://archive.org/download/Secret_Life_Of_Machines_102/Secret_Life_Of_Machines_102_The_Sewing_Machine.mp4
  * Run kodi from command line (ensure new skin is still in use)
  * Select Videos / Files / Add videos...
  * Select Browse / Home folder/ Videos
  * Select OK, then OK again
  * Select the newly added Videos folder
  * Play the downloaded MP4
  * Ensure playback operation works normally
+ 
+ After verification: if you had any kodi settings (plugins, etc.) they
+ will have been reset by the procedure above (specifically, the movement
+ of the .kodi directory). This can be reset with:
+ 
+ * rm -rf ~/.kodi
+ * mv ~/.kodi.bak ~/.kodi
  
  [ Regression Potential ]
  
  The patch applied is minimal, directly from the upstream repository, and
  already incorporated in the latest version present in oracular. The test
  plan attached should demonstrate that a genuine issue is being solved,
  and that base functionality is not affected adversely.
  
  [ Original Description ]
  
  Please update to Version: 2:20.5+dfsg-3 as mentioned here: https://bugs-
  devel.debian.org/cgi-bin/bugreport.cgi?bug=1074440
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: kodi 2:20.5+dfsg-1build2
  ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
  Uname: Linux 6.8.0-41-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Sep  8 12:07:42 2024
  InstallationDate: Installed on 2019-04-03 (1985 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  SourcePackage: kodi
  UpgradeStatus: Upgraded to noble on 2024-09-01 (7 days ago)
  modified.conffile..etc.init.d.apport: [modified]
  mtime.conffile..etc.init.d.apport: 2024-07-22T17:59:07

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

Title:
  [SRU] kodi dies with "PyImport_AppendInittab() may not be called after
  Py_Initialize()"

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to