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

[BUG] App crashes when accessing a large picture log #29

Open
jdpdev opened this issue Oct 8, 2021 · 1 comment
Open

[BUG] App crashes when accessing a large picture log #29

jdpdev opened this issue Oct 8, 2021 · 1 comment
Labels
birbvision Machine learning bird identification bug Something isn't working

Comments

@jdpdev
Copy link
Owner

jdpdev commented Oct 8, 2021

Describe the bug
App crashes when trying to write to the picture log when the picture log has become too big

To Reproduce
Crash point appears to be when the picture log is a little north of 1 MB, and the crash happens when attempting to write to it.

Raspberry Pi (please complete the following information):

  • OS: Buster

Additional context
When this happens, the whole drive the picture log resides on is set to read-only access.

@jdpdev jdpdev added bug Something isn't working birbvision Machine learning bird identification labels Oct 8, 2021
@jdpdev jdpdev added this to the Birbvision - v2.0 Robin milestone Oct 8, 2021
@jdpdev
Copy link
Owner Author

jdpdev commented Oct 8, 2021

Planned fix:

  • Break the picture log file up; one file per day is probably fine
  • Catch the exception and flag the problem in the UI

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

No branches or pull requests

1 participant