conservationtechlab / dencam

Polar bear maternal den observation system.
MIT License
3 stars 2 forks source link

Logs missing when running from boot #64

Open iingram opened 10 months ago

iingram commented 10 months ago

Log file doesn't appear where expected (and maybe nowhere at all; haven't deeply investigated if it is somewhere else in the filesystem but suspect not) when dencam.py runs from boot (which is the normal deployment situation; currently this is done via .config/autostart/dencam.desktop and, side note, maybe we should switch to a systemd service?). Log File does appear when running dencam.py directly in a terminal (but, note, still with full paths ala /home/user/.virtualenvs/dencam_env/bin/python /home/user/dencam/dencam.py /home/user/dencam_cfgs/slender_cam.yaml which makes it seem like the bug might be in some assumption about paths. Other DenCam functionality seems to be working fine.

iingram commented 1 month ago

Seems as if this issue hasn't been encountered in a while slash I don't seem to be able to reproduce it. When testing before next merge to master we should pay attention to this and if we don't see it happening, we should close this issue.