manage_exports crashed with ImportError in Noble

Bug #2062073 reported by Sudip Mukherjee
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nfs-ganesha (Ubuntu)
New
Undecided
Unassigned

Bug Description

manage_exports fails to run with the error:

$ manage_exports
Traceback (most recent call last):
  File "/usr/bin/manage_exports", line 27, in <module>
    from PyQt5.QtGui import QApplication
ImportError: cannot import name 'QApplication' from 'PyQt5.QtGui' (/usr/lib/python3/dist-packages/PyQt5/QtGui.abi3.so). Did you mean: 'QGuiApplication'?

ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: python3-nfs-ganesha 4.3-8ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 17 22:23:05 2024
ExecutablePath: /usr/bin/manage_exports
InstallationDate: Installed on 2024-04-10 (7 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240410)
InterpreterPath: /usr/bin/python3.12
JournalErrors:
 Apr 17 22:22:56 hostname org.gnome.Characters[3557]: MESA: error: ZINK: failed to choose pdev
 Apr 17 22:22:56 hostname org.gnome.Characters[3557]: libEGL warning: egl: failed to create dri2 screen
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/manage_exports
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
PythonArgs: ['/usr/bin/manage_exports']
PythonDetails: N/A
SourcePackage: nfs-ganesha
Title: manage_exports crashed with ImportError in __main__: cannot import name 'QApplication' from 'PyQt5.QtGui' (/usr/lib/python3/dist-packages/PyQt5/QtGui.abi3.so)
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/manage_exports", line 27, in <module>
     from PyQt5.QtGui import QApplication
 ImportError: cannot import name 'QApplication' from 'PyQt5.QtGui' (/usr/lib/python3/dist-packages/PyQt5/QtGui.abi3.so)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

ganeshactl from the same package also fails with the error:

Traceback (most recent call last):
  File "/usr/bin/ganeshactl", line 38, in <module>
    from Ganesha.QtUI.log_settings import LogSetDialog
  File "/usr/lib/python3/dist-packages/Ganesha/QtUI/log_settings.py", line 27, in <module>
    class DebugLevelDelegate(QtGui.QItemDelegate):
                             ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'PyQt5.QtGui' has no attribute 'QItemDelegate'

information type: Private → Public
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.