Hexchat fails to load python3 plugin

Bug #1866081 reported by Paul White
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hexchat (Ubuntu)
Fix Released
Medium
Mattia Rizzolo

Bug Description

Probably due to recent python changes in focal.

Seen amongst HexChat start-up messages:

AutoLoad failed for: /usr/lib/x86_64-linux-gnu/hexchat/plugins/python3.so
 /usr/lib/x86_64-linux-gnu/hexchat/plugins/python3.so: undefined symbol: PyExc_RuntimeError

Manually loading the plugin using the 'Plugins and Scripts' window also fails but without any error message being displayed

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: hexchat 2.14.3-2build1
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu18
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 4 14:23:17 2020
InstallationDate: Installed on 2019-05-17 (292 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190517)
SourcePackage: hexchat
UpgradeStatus: Upgraded to focal on 2019-11-08 (116 days ago)

Revision history for this message
Paul White (paulw2u) wrote :
Revision history for this message
Mattia Rizzolo (mapreri) wrote :
Changed in hexchat (Ubuntu):
assignee: nobody → Mattia Rizzolo (mapreri)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
TingPing (tingping) wrote :

Will require a separate patch for the stable releases. In the mean time you can just do `meson ... -Dwith-python=python3-embed` and it should work fine.

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

that's a good comment. I was blinded by looking at the meson.build file and did realize I could have forced it by a -D option...

oh, well.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hexchat - 2.14.3-3

---------------
hexchat (2.14.3-3) unstable; urgency=medium

  * Add patch to use the new -embed variant of python3.pc.
    Fix linking with Python 3.8. LP: #1866081
  * Swap the Recommends:hwdata with Recommends:pci.ids. Closes: #953300
  * Bump Standards-Version to 4.5.0, no changes needed.

 -- Mattia Rizzolo <email address hidden> Wed, 11 Mar 2020 17:08:25 +0100

Changed in hexchat (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.