No Image in zmNinja after Screen Rotation

Forum for questions and support relating to the 1.30.x releases only.
Locked
mariant
Posts: 1
Joined: Sat Feb 18, 2017 8:56 pm

No Image in zmNinja after Screen Rotation

Post by mariant »

Hello,

I'm running Ubuntu 16.04 Server, and have just freshly installed both Ubuntu and ZM 1.3. To install ZM I used this guide:
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

zmNinja version is 1.2.38 (android)

Note: I'm able to view the only one connected camera (DS-2CD2042WD-I) through web browser and also in zmNinja.

When I'm accessing camera through zmNinja (Android App) from Monitors->Live View I'm getting in Zoneminder log the error message:
"Bogus scale factor 0 found zm_image.cpp"
If I'm rotating the screen of my mobile phone the image will disappear (will not be scale ..) and the following message will be recorded to the Zoneminder log :
"Got signal 15 (Terminated), exiting zm_signal.cpp 40
socket_sendto( /var/run/zm/zms-199183s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php"



Zoneminder log messages :
2017-02-19 12:32:23.508911 zmc_m1 1744 INF Camera1: 66000 - Capturing at 20.00 fps zm_monitor.cpp 3116
2017-02-19 12:32:12.521301 web_php 1497 ERR socket_sendto( /var/run/zm/zms-199183s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 1993
2017-02-19 12:31:43.865381 zms 2599 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2017-02-19 12:31:33.497505 zmc_m1 1744 INF Camera1: 65000 - Capturing at 20.00 fps zm_monitor.cpp 3116
2017-02-19 12:31:29.239563 zms 2597 ERR Bogus scale factor 0 found zm_image.cpp 2708
2017-02-19 12:30:43.478897 zmc_m1 1744 INF Camera1: 64000 - Capturing at 20.00 fps zm_monitor.cpp 3116

zmNinja log messages:

Feb 19, 2017 12:32 PM INFO ROOT APP: Stopping network pull...
Feb 19, 2017 12:32 PM INFO ROOT APP:App is going into background
Feb 19, 2017 12:32 PM DEBUG **EXCEPTION**TypeError: Cannot read property 'style' of undefined caused by undefined
Feb 19, 2017 12:32 PM DEBUG Re-creating packery and draggy
Feb 19, 2017 12:32 PM DEBUG Monitor 1:Camera1 does not have events, trying http://<server>/api/events/index/MonitorId:1/StartTime >=:2017-02-19 00:00/AlarmFrames >=:1.json
Feb 19, 2017 12:32 PM INFO Making sure all monitors have a fair chance...
Feb 19, 2017 12:32 PM DEBUG Got 0new history events...
Feb 19, 2017 12:32 PM INFO Event timeline API is http://<server>/api/events/index/StartTime >=:2017-02-19 00:00/AlarmFrames >=:1.json
Feb 19, 2017 12:32 PM INFO Converted From: 2017-02-19 00:00 Converted To: 2017-02-19 12:32
Feb 19, 2017 12:32 PM INFO Original From: 2017-02-19 00:00 Original To: 2017-02-19 12:32
Feb 19, 2017 12:32 PM INFO Local timezone conversion is on, converting from Europe/Athens to Europe/Athens
Feb 19, 2017 12:32 PM INFO MontageHistory-footerCollapse: Calling window.stop()
Feb 19, 2017 12:32 PM DEBUG Modal removed - killing connkey
Feb 19, 2017 12:32 PM DEBUG Modal is open, closing it
Feb 19, 2017 12:32 PM INFO Invoking http://<server>/api/monitors/alarm/id:1/command:status.json
Feb 19, 2017 12:32 PM INFO Invoking http://<server>/api/monitors/alarm/id:1/command:status.json
Feb 19, 2017 12:31 PM INFO Invoking http://<server>/api/monitors/alarm/id:1/command:status.json
Feb 19, 2017 12:31 PM INFO Invoking http://<server>/api/monitors/alarm/id:1/command:status.json
Feb 19, 2017 12:31 PM INFO Invoking http://<server>/api/monitors/alarm/id:1/command:status.json
Feb 19, 2017 12:31 PM DEBUG **EXCEPTION**TypeError: Cannot read property 'style' of undefined caused by undefined
Feb 19, 2017 12:31 PM DEBUG Re-creating packery and draggy
Feb 19, 2017 12:31 PM INFO Invoking http://<server>/api/monitors/alarm/id:1/command:status.json
Feb 19, 2017 12:31 PM DEBUG Monitor 1:Camera1 does not have events, trying http://<server>/api/events/index/MonitorId:1/StartTime >=:2017-02-19 00:00/AlarmFrames >=:1.json
Feb 19, 2017 12:31 PM INFO Making sure all monitors have a fair chance...
Feb 19, 2017 12:31 PM DEBUG Got 0new history events...
Feb 19, 2017 12:31 PM INFO Event timeline API is http://<server>/api/events/index/StartTime >=:2017-02-19 00:00/AlarmFrames >=:1.json
Feb 19, 2017 12:31 PM INFO Converted From: 2017-02-19 00:00 Converted To: 2017-02-19 12:31
Feb 19, 2017 12:31 PM INFO Original From: 2017-02-19 00:00 Original To: 2017-02-19 12:31
Feb 19, 2017 12:31 PM INFO Local timezone conversion is on, converting from Europe/Athens to Europe/Athens
Feb 19, 2017 12:31 PM INFO MontageHistory-footerCollapse: Calling window.stop()
Feb 19, 2017 12:31 PM INFO Invoking http://<server>/api/monitors/alarm/id:1/command:status.json
Feb 19, 2017 12:31 PM INFO Invoking http://<server>/api/monitors/alarm/id:1/command:status.json
Feb 19, 2017 12:31 PM INFO Switching playback via nphzms
Feb 19, 2017 12:31 PM INFO configurePTZ 1 is not PTZ controllable
Feb 19, 2017 12:31 PM DEBUG configurePTZ: called with mid=1
Feb 19, 2017 12:31 PM DEBUG Getting zones using:http://<server>/api/zones/forMonitor/1.json
Feb 19, 2017 12:31 PM INFO Modal: Stream authentication construction:
Feb 19, 2017 12:31 PM INFO Data Model: Did not find any stream mode of auth
Feb 19, 2017 12:31 PM INFO DataModel: Did not find a stream auth key, looking for user=
Feb 19, 2017 12:31 PM DEBUG DataModel: Getting auth from http://<server>/index.php?view=watch&mid=1&connkey=252080 with mid=1
Feb 19, 2017 12:31 PM DEBUG MonitorModalCtrl called from monitors
Feb 19, 2017 12:31 PM INFO Using stream mode single
Feb 19, 2017 12:31 PM INFO Monitor Orientation is: undefined
Feb 19, 2017 12:31 PM DEBUG MonitorCtrl:Open Monitor Modal with monitor Id=1 and Controllable:0 with control ID:0
Feb 19, 2017 12:31 PM DEBUG MonitorCtrl: monitor check state returned: {"status":true,"statustext":"'zmc -m 1' running since 17/02/19 11:37:22, pid = 1744"}
Feb 19, 2017 12:31 PM DEBUG MonitorCtrl:monitorStateCheck: http://<server>/api/monitors/daemonStatus/id:1/daemon:zmc.json
Feb 19, 2017 12:31 PM INFO Returning pre-loaded list of 1 monitors

I hoping someone with a little more experience will notice the errors and point me into the right direction.



Thank You
Locked