Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial RDL data files left behind unsynchronized #22

Open
jericholab opened this issue Mar 29, 2024 · 1 comment
Open

Partial RDL data files left behind unsynchronized #22

jericholab opened this issue Mar 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jericholab
Copy link
Owner

It appears that occasional data is left behind in the temporary folder (/logging-folder/inprogress/RDL/USB0/).
This seems to be correlated with the occasional crash of the syncing script or its related daemon.

One potential explanation is that when the script WIRED-syncing.py (responsible for data transfer from /inprogress to /transit) fails or is shut down, the partial data is never rescued by the script(s) hereafter. The data is not to be found on Dropbox nor the SD card.

It is unknown if the issue also affects the camera data (IR, surveillance) as they have not been operating on greenhouse so far.

Capture-LeftBehind

@jericholab jericholab added the bug Something isn't working label Mar 29, 2024
@jericholab jericholab self-assigned this Mar 29, 2024
@jericholab
Copy link
Owner Author

jericholab commented Mar 29, 2024

Subproblem: Some of the files left in the /inprogress folder are read-only. This means that relaunching the RDL-logging script will fail as it will try to write to the file, producing a permission denied error. See image (The error is not seen in the terminal, only when executed in Thonny. It is possible that the failure of the logging script causes the data file to remain associated to the said script.

Capture1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant