Page 1 of 1

After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Fri Nov 09, 2018 2:10 am
by thoraxe
Just upgraded to 1.32.2 from 1.30.x and when viewing events I notice a few issues. For example, the framerate playback and other info is displaying weirdly:

Mode: Replay Rate: 0x Progress: NaN:NaN:NaNs Zoom: 0x

It shows that for all events when I am playing them back.

I dug around in the httpd and zm logs when loading the event view page but there's no errors.

Linux dumpster.festive.local 3.10.0-862.3.3.el7.x86_64 #1 SMP Fri Jun 15 04:15:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
zoneminder 1.32.2 running in containers via podman, freshly built today (18-NOV-2018)

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Fri Nov 09, 2018 4:56 pm
by iconnor
Try checking your javascript console... Right click anywhere, choose Inspect ELement, click on Console tab

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Fri Nov 09, 2018 9:46 pm
by thoraxe
No javascript errors. Here's the whole console output when the event page is loaded:

Code: Select all

zoomrotate: Start
videojs.zoomrotate.js:5 zoomrotate: Init defaults
videojs.zoomrotate.js:10 zoomrotate: Init Extend
videojs.zoomrotate.js:72 zoomrotate: End
enable-tooltip.ts:143 [Deprecation] HTML Imports is deprecated and will be removed in M73, around March 2019. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 for more details.
_init @ enable-tooltip.ts:143
Promise.all.then @ enable-tooltip.ts:69
Promise.then (async)
(anonymous) @ enable-tooltip.ts:64
(anonymous) @ enable-tooltip.ts:297
skins_classic_js_skin-base-1539455775.js:208 {result: "Ok", message: "	<div id="reload" class="container-fluid reduced-t…↵  </ul>↵    	↵<!-- End .footer/reload --></div>↵"}
skins_classic_js_skin-base-1539455775.js:208 {result: "Ok", message: "	<div id="reload" class="container-fluid reduced-t…↵  </ul>↵    	↵<!-- End .footer/reload --></div>↵"}

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Thu Nov 15, 2018 8:20 pm
by thoraxe
Guess I'll file a bug. Thanks!

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Wed Jan 02, 2019 9:26 pm
by B F
I have exactly the same issues going from 1.30.x to 1.32.2 in both Firefox & Chrome. Also some odd behaviour in which played back events (JPG) just zoom through no matter what setting I use for WEB_H_DEFAULT_RATE or sometimes they never even start playing. Bit stuck how to debug this one as there's nothing in the logs.

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Thu Jan 03, 2019 12:13 am
by rockedge
try an upgrade to 1.32.3
It runs smoother for me than 1.32.2 does.

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Thu Jan 03, 2019 7:33 am
by B F
Sorry my bad, it is ZoneMinder v1.32.3 I upgraded to. I wonder if there's a step I missed or incorrectly made during the upgrade. Odd how it just whizzes through all the events at the rate of about one minute per second. Unfortunately it's quite unusable now.

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Thu Jan 24, 2019 3:57 am
by Sabby
I am now getting the same exact thing, after the update to 1.32.3
1-Capture.PNG
1-Capture.PNG (1.07 KiB) Viewed 10219 times
2-Capture.PNG
2-Capture.PNG (49.75 KiB) Viewed 10219 times
Sad part, any archived video saved is corrupted too.

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Thu Jan 24, 2019 1:08 pm
by Sabby
JS console doesn't show anything and no errors int he logs.

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Thu Jan 24, 2019 2:22 pm
by Sabby
Just a note, I replaced the entire www folder in /usr/share/zoneminder with the web folder from the 1.32.2 archive, problem resolved I can view recorded events now. So whatever is wrong, it's with the 1.32.3 update and resides somewhere in the web folder, probably with js

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Mon Jan 28, 2019 11:45 am
by IMSancho
I'm seeing the same issue on a fresh install on CentOS 7 from the RPMFusion repository. Nothing in the console, and I can watch events with the fast forward and rewind buttons, but play and pause don't work. Hitting pause makes the mode briefly flash to 'Paused' but immediately changes back to 'Replay'
Screen Shot 2019-01-28 at 9.43.25 pm.png
Screen Shot 2019-01-28 at 9.43.25 pm.png (44.29 KiB) Viewed 10124 times

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Sat Feb 16, 2019 2:12 am
by bigdigiman
I also have the issue. I found that opening the console window and executing "playClicked();" causes the video to play.

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Tue Apr 09, 2019 8:56 pm
by pat2
I do have the same issue. Able to see the live streaming, not able to see recorded jpeg on fresh install.

Did anyone find how to solve?

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Wed Jul 10, 2019 12:44 pm
by B F
Finally got around to trying sabby's Thu Jan 24, 2019 3:22 pm solution today but ended up with the message "MooTools not found! Please check that it was installed correctly in ZoneMinder web root".

In the end I think there was some symbolic links missing in the mootools directory because when it's like the listing below the message goes away & video can now be played. Unfortunately though the display still says "Mode: Replay Rate: 0x Progress: NaN:NaN:NaNs Zoom: 0x", but progress at least.

Code: Select all

# ls -l /usr/share/zoneminder/www/tools/mootools/
total 556
-rw-r--r-- 1 root root 173557 Jul 10 12:28 mootools-core-1.6.0-compat.js
-rw-r--r-- 1 root root     81 Jul 10 12:28 mootools-core-compat.js.URL
lrwxrwxrwx 1 root root     29 Jul 10 12:28 mootools-core.js -> mootools-core-1.6.0-compat.js
-rw-r--r-- 1 root root 385273 Jul 10 12:28 mootools-more-1.6.0.js
lrwxrwxrwx 1 root root     22 Jul 10 12:28 mootools-more.js -> mootools-more-1.6.0.js

Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events

Posted: Sun Jan 26, 2020 7:06 pm
by B F
Good news, this appears to be fixed in v1.34.0!