Public bug reported:

nagstamon 3.16.2+ds1-3 on Ubuntu 26.04 fails to start if the package
"resources" is installed, because Nagstamon/Config.py checks
os.path.exists(<dir of sys.executable>/resources) and picks up the
binary /usr/bin/resources as its resource directory:

PyQt6.uic.exceptions.UIFileException:
/usr/bin/resources/qui/settings_main.ui: invalid Qt Designer file:
[Errno 20] Not a directory

Fixed upstream in
https://github.com/HenriWahl/Nagstamon/commit/a279b98c5413a3762bd9fd76a51cf0941586d4db
(one-line change os.path.exists -> os.path.isdir in Config.py), released
in 3.17. Debian sid ships 3.18.2.

Upstream reports:
https://github.com/HenriWahl/Nagstamon/issues/1140
https://github.com/HenriWahl/Nagstamon/issues/1232
https://github.com/HenriWahl/Nagstamon/issues/1215

Please consider an SRU with the one-line patch for 26.04.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: nagstamon 3.16.2+ds1-3
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: X-Cinnamon
Date: Fri Oct 30 11:32:16 2026
InstallationDate: Installed on 2026-06-08 (144 days ago)
InstallationMedia: Ubuntu-Server 26.04 "Resolute Raccoon" - Release amd64 
(20260420.1)
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: nagstamon
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nagstamon (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

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

Title:
  nagstamon crashes on startup when package "resources" is installed
  (/usr/bin/resources)

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


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

Reply via email to