Skip to content

Install with errors, service fails to load #2

Description

@hhackbarth

I determined a couple of problems. It was tested with Raspbian Buster (27th May 2020) on RPi 4B:

When executing the install script, it reports:
dpkg-query: no packages found matching scons

After going through the menu items of the install script and enabling the service, it fails to start.
This is, what systemctl reports (sorry for the truncated lines):
pi@raspberrypi:~/ups3 $ sudo systemctl status smartups.service
● smartups.service - ugeek smart ups v3
Loaded: loaded (/etc/systemd/system/smartups.service; enabled; vendor
Active: failed (Result: exit-code) since Thu 2020-07-02 22:28:04 CEST
Process: 375 ExecStart=/usr/bin/sudo /usr/bin/python3 /usr/local/bin/s
Main PID: 375 (code=exited, status=1/FAILURE)

Jul 02 22:28:04 raspberrypi systemd[1]: smartups.service: Service Restar
Jul 02 22:28:04 raspberrypi systemd[1]: smartups.service: Scheduled rest
Jul 02 22:28:04 raspberrypi systemd[1]: Stopped ugeek smart ups v3.
Jul 02 22:28:04 raspberrypi systemd[1]: smartups.service: Start request
Jul 02 22:28:04 raspberrypi systemd[1]: smartups.service: Failed with re
Jul 02 22:28:04 raspberrypi systemd[1]: Failed to start ugeek smart ups

When starting the smartups.py manually, this happens:
pi@raspberrypi:~/ups3 $ /usr/bin/sudo /usr/bin/python3 /usr/local/bin/smartups.py
Traceback (most recent call last):
File "/usr/local/bin/smartups.py", line 12, in
from neopixel import *
File "/usr/local/bin/neopixel.py", line 5, in
import _rpi_ws281x as ws
ModuleNotFoundError: No module named '_rpi_ws281x'

Hoping you can fix it soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions