Bug 28678 - caffeine crashes at startup
Summary: caffeine crashes at startup
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Reported: 2021-03-30 12:07 CEST by andre salaun
Modified: 2021-04-15 18:09 CEST (History)
2 users (show)

See Also:
Source RPM: caffeine-2.9.4-6.mga8.src.rpm
Status comment:


Description andre salaun 2021-03-30 12:07:34 CEST
Description of problem:
Can't launch caffeine

$ caffeine
Traceback (most recent call last):
  File "/usr/bin/caffeine", line 29, in <module>
    from ewmh import EWMH
ModuleNotFoundError: No module named 'ewmh'

$ caffeine-indicator 
Traceback (most recent call last):
  File "/usr/bin/caffeine-indicator", line 32, in <module>
    gi.require_version('AppIndicator3', '0.1')
  File "/usr/lib64/python3.8/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace AppIndicator3 not available
Comment 1 Lewis Smith 2021-03-30 21:15:28 CEST
Thank you for the report, and apologies for the fault.
Confirmed exactly as reported.

Assigning to DavidG, the recent maintainer of this.

Assignee: bugsquad => geiger.david68210
Severity: normal => major

Comment 2 Aurelien Oudelet 2021-03-30 21:31:53 CEST

Already catched!

In 8/core/updates_testing:

From SRPM:

Please test.

CC: (none) => ouaurelien

Comment 3 David GEIGER 2021-03-30 21:46:33 CEST
Yes it should be fixed with the new updated package.
Comment 4 andre salaun 2021-03-31 17:28:40 CEST
caffeine-indicator (2.9.8-1) runs well
Comment 5 David GEIGER 2021-03-31 21:07:18 CEST


Our current caffeine still uses old appindicator3 which was removed in Mageia 8 in favor to a new fork as ayatana-appindicator3 developed by Canonical.
So this update fixes this issue updating to a new release which is ported to ayatana-appindicator3.


Packages in 8/core/updates_testing:

Source RPM: 
David GEIGER 2021-04-08 07:18:47 CEST

Assignee: geiger.david68210 => qa-bugs

Comment 6 Aurelien Oudelet 2021-04-15 18:09:42 CEST
(In reply to andre salaun from comment #4)
> caffeine-indicator (2.9.8-1) runs well

Validating. MGA8-64-OK

CC: (none) => sysadmin-bugs
Keywords: (none) => advisory, validated_update
Whiteboard: (none) => MGA8-64-OK

Note You need to log in before you can comment on or make changes to this bug.