vifino / vifino-overlay

My personal overlay for Gentoo. Contains openrazer ebuilds and friends mostly.
MIT License
10 stars 4 forks source link

openrazer-daemon: ImportError: No module named 'daemonize' #7

Closed wschlich closed 7 years ago

wschlich commented 7 years ago
$ systemctl --user status openrazer-daemon.service 
● openrazer-daemon.service - Daemon to manage razer devices in userspace
   Loaded: loaded (/usr/lib/systemd/user/openrazer-daemon.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:openrazer-daemon(8)

Oct 26 07:23:11 zephyr systemd[2894]: openrazer-daemon.service: Failed with result 'exit-code'.
Oct 26 10:57:09 zephyr systemd[2894]: Starting Daemon to manage razer devices in userspace...
Oct 26 10:57:09 zephyr openrazer-daemon[245627]: Traceback (most recent call last):
Oct 26 10:57:09 zephyr openrazer-daemon[245627]:   File "/usr/bin/openrazer-daemon", line 14, in <module>
Oct 26 10:57:09 zephyr openrazer-daemon[245627]:     from daemonize import Daemonize
Oct 26 10:57:09 zephyr openrazer-daemon[245627]: ImportError: No module named 'daemonize'
Oct 26 10:57:09 zephyr systemd[2894]: openrazer-daemon.service: Main process exited, code=exited, status=1/FAILURE
Oct 26 10:57:09 zephyr systemd[2894]: Failed to start Daemon to manage razer devices in userspace.
Oct 26 10:57:09 zephyr systemd[2894]: openrazer-daemon.service: Unit entered failed state.
Oct 26 10:57:09 zephyr systemd[2894]: openrazer-daemon.service: Failed with result 'exit-code'.
$

Seems that https://pypi.python.org/pypi/daemonize is missing...

thunderrd commented 7 years ago

Likewise, without systemd, daemon does not start, and can't be started manually:

thunderrd@Q6600:/usr/bin$ ./openrazer-daemon Traceback (most recent call last): File "./openrazer-daemon", line 14, in from daemonize import Daemonize ModuleNotFoundError: No module named 'daemonize' thunderrd@Q6600:/usr/bin$`

vifino commented 7 years ago

With some luck my new fixed commit will fix this issue.

evanjs commented 7 years ago

@vifino's Daemonize ebuild seems to get things up and running again. And here I thought the problem might have been upstream. Oops.

vifino commented 7 years ago

@Evanjs So it fixes things for you? Excellent.