Cannot save events or snapshots, permission not granted #1127
Open
Description
The version of zmNinja you are reporting:
1.7.005
The version and OS of ZoneMinder you are using:
Fedora 39 server, Zoneminder 1.36.33
Platform zmNinja is running on
Android 13(LineageOS 20), Pixel 7 Pro, aarch64
Did you build the package from source code yourself?
No
Describe the bug
Unable to save events, or snapshots, receive "Error - could not save"
Debug logs
Jan 19, 2024 01:50:23:731 AM INFO setting size
Jan 19, 2024 01:50:23:731 AM INFO Device is ready
Jan 19, 2024 01:50:23:729 AM INFO ******* app .run device ready
Jan 19, 2024 01:49:41:546 AM INFO EventModalCtrl: paused
Jan 19, 2024 01:49:41:542 AM INFO EventModalCtrl: paused
Jan 19, 2024 01:48:12:214 AM INFO Sharing failed with message: Couldn't find meta-data for provider with authority com.zoneminder.zmNinja.sharing.provider
Jan 19, 2024 01:48:12:198 AM INFO file location:file:///data/user/0/com.zoneminder.zmNinja/files/zmNinjaLog.txt
Jan 19, 2024 01:47:53:934 AM DEBUG Cancelling page reload timer
Jan 19, 2024 01:47:53:921 AM DEBUG removing montage temporary filter
Jan 19, 2024 01:47:47:534 AM DEBUG Permission not granted
Jan 19, 2024 01:47:47:489 AM INFO EventModalCtrl: paused
Jan 19, 2024 01:47:47:489 AM INFO EventModalCtrl: paused
Jan 19, 2024 01:47:47:489 AM DEBUG EventCtrl Pause:Deregistering broadcast handles
Jan 19, 2024 01:47:47:488 AM DEBUG EventCtrl:onpause called
Jan 19, 2024 01:47:47:472 AM DEBUG Trying to save image to album: zmNinja
Jan 19, 2024 01:47:47:471 AM INFO >>saveEvent: File path to grab is https://[OMITTED]:30003/zm/index.php?view=view_video&mode=mpeg&format=h264&eid=38780&token=<removed>
Jan 19, 2024 01:47:47:471 AM DEBUG -->Going to try and download https://[OMITTED]:30003/zm/index.php?view=view_video&mode=mpeg&format=h264&eid=38780&token=<removed>
Jan 19, 2024 01:47:47:471 AM DEBUG saveEvent in EventModalCtrl called with video and 38780
Jan 19, 2024 01:47:47:417 AM INFO EventModalCtrl: paused
Jan 19, 2024 01:47:47:417 AM DEBUG Modal removed - killing connkey
Jan 19, 2024 01:47:47:417 AM DEBUG Setting up carousel watchers
Jan 19, 2024 01:47:47:416 AM DEBUG Rebinding watchers of eventCtrl
Jan 19, 2024 01:47:47:416 AM INFO EventModalCtrl: paused
Jan 19, 2024 01:47:47:416 AM DEBUG Modal removed - killing connkey
Jan 19, 2024 01:47:47:415 AM DEBUG Setting up carousel watchers
Jan 19, 2024 01:47:47:415 AM DEBUG Rebinding watchers of eventCtrl
Jan 19, 2024 01:47:47:415 AM DEBUG EventCtrl Pause:Deregistering broadcast handles
Jan 19, 2024 01:47:47:415 AM DEBUG EventCtrl:onpause called
Jan 19, 2024 01:47:47:380 AM DEBUG EventModalCtrl: Permission checking for write
Additional context
Saving events and snapshots works in version 1.6.009. I noticed that when installing version 1.7.x that it doesn't ask for any permissions except for notifications
Metadata
Assignees
Labels
No labels