The logger creates a log file in the current directory, but really there should be one log file in /etc/tiberius.
This issue is sparked from cd git/tiberius-robot then python quickstart -a on Tiberius II, on api-dev
Starting the control API.
Traceback (most recent call last):
File "tiberius/control_api/api.py", line 6, in <module>
import motors
File "/home/pi/git/tiberius-robot/tiberius/control_api/motors.py", line 5, in <module>
from tiberius.logger import logger
File "build/bdist.linux-armv6l/egg/tiberius/logger/logger.py", line 9, in <module>
File "/usr/lib/python2.7/logging/__init__.py", line 911, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib/python2.7/logging/__init__.py", line 936, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/pi/git/tiberius-robot/tiberius-log.log'
We shouldn't need superuser for this, so possibly the permissions are a bit funny too.
The logger creates a log file in the current directory, but really there should be one log file in /etc/tiberius.
This issue is sparked from
cd git/tiberius-robot
thenpython quickstart -a
on Tiberius II, onapi-dev
We shouldn't need superuser for this, so possibly the permissions are a bit funny too.