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

errors when deleting events #3220

Open
alabamatoy opened this issue Apr 25, 2021 · 1 comment
Open

errors when deleting events #3220

alabamatoy opened this issue Apr 25, 2021 · 1 comment
Labels

Comments

@alabamatoy
Copy link

Describe Your Environment

  • Version of ZoneMinder [release version, development version, or commit]: 1.34.25
  • How you installed ZoneMinder [e.g. PPA, RPMFusion, from-source, etc]: PPA
  • Full name and version of OS: Ubuntu 18.04LTS
  • Browser name and version (if this is an issue with the web interface): Believe this is N/A

If the issue concerns a camera
N/A

Describe the bug
In view=event, clicking on "delete" while an event is playing leads to a very large number of errors such as the following:

2021-04-25 08:58:25.488706 | zms_e2697 |   | 18557 | ERR | Attempt to directly assign buffer with invalid width or height: 0 0 | zm_image.cpp | 561
2021-04-25 08:58:25.446872 | zms_e2697 |   | 18557 | ERR | Attempt to assign image with an empty buffer | zm_image.cpp | 676
2021-04-25 08:58:25.414027 | zms_e2697 |   | 18557 | ERR | Can't open /media/2TBDrive/zoneminder/6/2021-04-23/2697/00095-capture.jpg: No such file or directory | zm_image.cpp | 875

To Reproduce
Steps to reproduce the behavior:

  1. Go to the list of events for a particular monitor.
  2. Click on play (or it may already be playing when the event view is opened)
  3. Click on delete button
  4. See error in logs, although view=event display seems unaffected.

Expected behavior
The play should stop, and the event should be deleted, and display should go to next event in list or else show the "no more events" blank screen.

Debug Logs
Believe this is N/A. I would attempt to propose a solution, but zm_image.cpp is not a file that I can find, so not sure how to TS the problem.

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 participant