Package Details: caffeine-ng-git 3.4.2.post22+g4ec5e87-1

Git Clone URL: https://aur.archlinux.org/caffeine-ng-git.git (read-only, click to copy)
Package Base: caffeine-ng-git
Description: Status bar application able to temporarily inhibit the screensaver and sleep mode.
Upstream URL: https://github.com/caffeine-ng/caffeine-ng
Keywords: caffeine powersaving screensaver
Licenses: GPL3
Conflicts: caffeine, caffeine-bzr, caffeine-oneclick, caffeine-systray
Provides: caffeine, caffeine-bzr, caffeine-oneclick, caffeine-systray
Replaces: caffeine-oneclick, caffeine-systray
Submitter: WhyNotHugo
Maintainer: WhyNotHugo
Last Packager: WhyNotHugo
Votes: 13
Popularity: 0.000000
First Submitted: 2015-03-29 17:57
Last Updated: 2020-05-26 08:25

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

WhyNotHugo commented on 2016-05-14 10:54

Latest version of caffeine-ng should work fine with setproctitle 1.1.10 (or later versions).

Rhinoceros commented on 2016-05-14 10:25

Thanks for that @wolfyrion. caffeine stopped working for me too, and your solution fixed it for me. I also have the same python-setproctitle as you (the latest 1.1.10-1).

wolfyrion commented on 2016-05-13 15:31

I have it install but is the version

python-setproctitle Version 1.1.10-1

Caffeine required

setproctitle==1.1.09 thats why was giving errors

so I had to change
requires.txt to setproctitle==1.1.10

WhyNotHugo commented on 2016-05-13 12:29

@wolfyrion: Looks like you don't have the dependency python-setproctitle installed.

wolfyrion commented on 2016-05-13 05:44

Problem
---------
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 635, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 943, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 834, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (setproctitle 1.1.10 (/usr/lib/python3.5/site-packages), Requirement.parse('setproctitle==1.1.19'), {'caffeine-ng'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/caffeine", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2927, in <module>
@_call_aside
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 637, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 829, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'setproctitle==1.1.09' distribution was not found and is required by caffeine-ng




Solution
-----------

go to
/usr/lib/python3.5/site-packages/caffeine_ng-3.3.0.post2+ng4dc87e5-py3.5.egg-info/

edit with root rights

requires.txt

setproctitle==1.1.10

octaveparango commented on 2016-02-04 19:08

I was able to install it now. However, I still can't use it. I just see an icon on my tray but I'm not able to click it.
That's probably some kde plasma DE issue though.....


edit: perfectly working when started from terminal. I can live without a working indicator :)

WhyNotHugo commented on 2016-02-04 18:42

python-setuptools was missing a a dependency. Added it.

octaveparango commented on 2016-02-04 17:44

getting an error message:

Traceback (most recent call last):
File "setup.py", line 3, in <module>
from setuptools import setup, find_packages
ImportError: No module named 'setuptools'

edit: turns out setuptools was a python package ^^
However, I still can't install the package even after installing setuptools

WhyNotHugo commented on 2015-11-12 17:17

The error you're getting makes no sense. What's the output of python --version?

cj360 commented on 2015-11-12 17:01

Tried re-building earlier and I simply get:
http://hastebin.com/jajuqoniga.coffee