My telecine software - New version

Okay, I think I’m a bit clueless and in over my head. When you say give commands in root mode that has nothing to do with being in the root directory, right? Adding SUDO to the beginning of a command is what you mean by giving commands in root mode, am I correct in assuming this? I tried to look all this up on Google but didn’t see anything that clarified any better.

Anyways, I did the command as you mentioned above. And the following occurred:

pi@raspberrypi:~/Public/DS8server $ sudo systemctl enable pigpiod
pi@raspberrypi:~/Public/DS8server $ python3 DS8Server.py
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Can’t connect to pigpio at localhost(8889)

Did you start the pigpio daemon? E.g. sudo pigpiod

Did you specify the correct Pi host/port in the environment
variables PIGPIO_ADDR/PIGPIO_PORT?
E.g. export PIGPIO_ADDR=soft, export PIGPIO_PORT=8888

Did you specify the correct Pi host/port in the
pigpio.pi() function? E.g. pigpio.pi(‘soft’, 8888)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Traceback (most recent call last):
File “DS8Server.py”, line 39, in
from controlProcess import DS8Control, MotorDriver
File “/home/pi/Public/DS8server/controlProcess.py”, line 52, in
pi.set_mode(light_pin, pigpio.OUTPUT)
File “/usr/lib/python3/dist-packages/pigpio.py”, line 1344, in set_mode
return _u2i(_pigpio_command(self.sl, _PI_CMD_MODES, gpio, mode))
File “/usr/lib/python3/dist-packages/pigpio.py”, line 993, in _pigpio_command
sl.s.send(struct.pack(‘IIII’, cmd, p1, p2, 0))
AttributeError: ‘NoneType’ object has no attribute ‘send’

One other thing, I actually had to use SUDO with a move command just to get the pigpiod.service in the appropriate directory otherwise I would get a permission failure. Anyways, I’ve noticed that all the other services in the lib/systemd/system folder have an owner/group of root/root, however the pigpiod.service that I moved into this folder is pi/pi. Does any of this matter?