After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events
After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events
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)
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
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
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
Guess I'll file a bug. Thanks!
Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events
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
try an upgrade to 1.32.3
It runs smoother for me than 1.32.2 does.
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
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
I am now getting the same exact thing, after the update to 1.32.3
Sad part, any archived video saved is corrupted too.
Sad part, any archived video saved is corrupted too.
Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events
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
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
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'
-
- Posts: 3
- Joined: Sat Feb 16, 2019 2:10 am
Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events
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
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?
Did anyone find how to solve?
---------------------------------------------------------------------------
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
Re: After upgrade from 1.30x, seeing "NaN:NaN:NaNs" and other issues on events
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.
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
Good news, this appears to be fixed in v1.34.0!