Openrazer: No module named Daemonize

Created on 21 Oct 2017  路  7Comments  路  Source: openrazer/openrazer

I am using Ubuntu 16.04.3 LTS

Running openrazer-daemon produces an import error:
openrazer-daemon
Traceback (most recent call last):
File "/usr/bin/openrazer-daemon", line 14, in
from daemonize import Daemonize
ImportError: No module named 'daemonize'

Any suggestions?

bug

All 7 comments

Fixed in fc63ceccf8c468131834c16f09328ed0d44cf3db. Should be included in the next daily build. Thanks for reporting.

Most likely you won't be able to start the daemon with python3-daemonize installed because we need at least version 2.4 but even the newest versions of Ubuntu only includes version 2.3.1. We will have to publish our own updated version of python3-daemonize in the PPA and on OBS.

python3-daemonize (2.4.7) has been uploaded to the daily/stable PPA :+1:

Updated my python3-daemonize to the one in the PPA (2.4.7) albeit I still could not get the daemon to start.
File "/usr/bin/openrazer-daemon", line 153, in
run()
File "/usr/bin/openrazer-daemon", line 141, in run
install_example_config_file()
File "/usr/bin/openrazer-daemon", line 105, in install_example_config_file
os.makedirs(os.dirname(CONF_FILE), exist_ok=True)
AttributeError: module 'os' has no attribute 'dirname'

Fixed in 1efabb4. Sorry for not testing the merge properly but that's what the daily branch is for ;)

Thanks! Working all properly now. :)

Great 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Guyver1wales picture Guyver1wales  路  4Comments

leepeffer picture leepeffer  路  7Comments

LeithalWeapon picture LeithalWeapon  路  7Comments

nightsky30 picture nightsky30  路  6Comments

ghost picture ghost  路  5Comments