Bug 28678 - caffeine crashes at startup
Summary: caffeine crashes at startup
Status: RESOLVED FIXED
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:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-03-30 12:07 CEST by andre salaun
Modified: 2021-04-15 21:06 CEST (History)
2 users (show)

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


Attachments

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.

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

Comment 2 Aurelien Oudelet 2021-03-30 21:31:53 CEST
http://svnweb.mageia.org/packages?view=revision&revision=1711900

Already catched!

In 8/core/updates_testing:
caffeine-2.9.8-1.mga8

From SRPM:
caffeine-2.9.8-1.mga8.src.rpm

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

Advisory:
========================

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:
========================
caffeine-2.9.8-1.mga8.noarch.rpm

Source RPM: 
========================
caffeine-2.9.8-1.mga8.src.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

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

Comment 7 Mageia Robot 2021-04-15 21:06:01 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0080.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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