Systemd service not working #56
Labels
No Label
architecture
bug
ci/cd
cleanup
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
new feature
packaging
question
ui
waiting user input
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: platypush/platypush#56
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: Bosseur31
Hello
I am trying to allow platypush to start automatically using systemd. Except that with the configuration provided by default. Systemd cannot find the file.
I tried using this command also /usr/bin/python3 /usr/bin/platypush, the file and although finding platypush seems to start but it returns a module error.
janv. 22 19:29:17 raspberrypi python3[1659]: 2021-01-22 19:29:17,993| INFO|platypush|---- Starting platypush v.0.13.9 janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,790|WARNING|platypush|Traceback (most recent call last): janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,791|WARNING|platypush| File "/home/pi/platypush/bin/platypush", line 6, in <module> janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,791|WARNING|platypush|main() janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,791|WARNING|platypush| File "/usr/local/lib/python3.7/dist-packages/platypush/__init__.py", line 199, in main janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,792|WARNING|platypush|app.start() janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,792|WARNING|platypush| File "/usr/local/lib/python3.7/dist-packages/platypush/__init__.py", line 171, in start janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,792|WARNING|platypush|self.backends = register_backends(bus=self.bus, global_scope=True) janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,793|WARNING|platypush| File "/usr/local/lib/python3.7/dist-packages/platypush/context/__init__.py", line 53, in register_backends janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,793|WARNING|platypush|b = getattr(module, cls_name)(bus=bus, **cfg, **kwargs) janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,793|WARNING|platypush| File "/usr/local/lib/python3.7/dist-packages/platypush/backend/zwave/__init__.py", line 105, in __init__ janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,794|WARNING|platypush|import python_openzwave janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,794|WARNING|platypush|ModuleNotFoundError janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,794|WARNING|platypush|: janv. 22 19:29:18 raspberrypi python3[1659]: 2021-01-22 19:29:18,794|WARNING|platypush|No module named 'python_openzwave' janv. 22 19:29:18 raspberrypi systemd[1]: platypush.service: Main process exited, code=exited, status=1/FAILURE janv. 22 19:29:18 raspberrypi systemd[1]: platypush.service: Failed with result 'exit-code'.
I specify that the platypush command in the terminal works perfectly.
Thanks You