You are not logged in.

#1 2018-08-01 18:51:52

vuudochile
Member
From: P & H2O Running Out
Registered: 2017-08-15
Posts: 44
Website

Caffeine broken by python updates? [solved by python-ewmh rebuilt]

Specifically it is caffeine-ng
It worked a few days ago and now it is full of errors.
I rebuilt it and it produces the same errors.

Traceback (most recent call last):
  File "/usr/bin/caffeine", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ewmh>=0.1.4' distribution was not found and is required by caffeine-ng

Last edited by vuudochile (2018-08-01 23:38:19)

Offline

#2 2018-08-01 20:00:43

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: Caffeine broken by python updates? [solved by python-ewmh rebuilt]

Did you rebuild python-ewmh as well?
Edit:
It also helps to indicate when you are running testing.

Last edited by loqs (2018-08-01 20:01:33)

Offline

#3 2018-08-01 23:37:29

vuudochile
Member
From: P & H2O Running Out
Registered: 2017-08-15
Posts: 44
Website

Re: Caffeine broken by python updates? [solved by python-ewmh rebuilt]

warning: python-ewmh-0.1.6-1 is up to date -- reinstalling
INFO:caffeine.core:Caffeine is starting up...

Thank you, although it was up to date it seems it needed a rebuilt with fresh python.  That did it.

Offline

Board footer

Powered by FluxBB