Public bug reported:

Running caffeine-indicator always corrupts the terminal with:

/usr/bin/caffeine-indicator:29: DeprecationWarning: pkg_resources is deprecated 
as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources

(caffeine-indicator:91564): libayatana-appindicator-WARNING **:
19:42:32.999: libayatana-appindicator is deprecated. Please use
libayatana-appindicator-glib in newly written code.

STEPS TO REPRODUCE:
1. sudo apt-get install caffeine
2. (in terminal) caffeine-indicator

RESULTS: warnings on the terminal

EXPECTED RESULTS: Silence unless user intervention is needed

ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: caffeine 2.9.12-1
ProcVersionSignature: Ubuntu 6.14.0-35.35-generic 6.14.11
Uname: Linux 6.14.0-35-generic x86_64
ApportVersion: 2.32.0-0ubuntu5.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 10 19:42:51 2025
InstallationDate: Installed on 2025-10-18 (24 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 (20250415.3)
PackageArchitecture: all
SourcePackage: caffeine
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug plucky

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

Title:
  caffeine-indicator: deprecation warnings on terminal

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


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

Reply via email to