ZoneMinder / pyzm

Python API, Log, Event Server and Memory wrapper for ZoneMinder
GNU General Public License v2.0
31 stars 20 forks source link

Fix bug where an event delete would raise a BAD_IMAGE error #40

Closed LukeARohl closed 1 year ago

Ilia-SB commented 1 year ago

I am also having this problem with deleting events:

Traceback (most recent call last):
  File "/var/lib/zmeventnotification/bin/autodelete.py", line 62, in <module>
    event.delete()
  File "/usr/local/lib/python3.8/dist-packages/pyzm/helpers/Event.py", line 103, in delete
    return self.api._make_request(url=url, type='delete')
  File "/usr/local/lib/python3.8/dist-packages/pyzm/api.py", line 332, in _make_request
    raise ValueError ("BAD_IMAGE")
ValueError: BAD_IMAGE

Any chance this PR gets merged?

LukeARohl commented 1 year ago

The last update was Nov of 2021, I'm not holding my breath.

connortechnology commented 1 year ago

Sorry to take so long, just getting into zmes dev myself.

LukeARohl commented 1 year ago

Thanks for the merge!