Page 1 of 4
test results RC version 2640 thru 2679
Posted: Tue Sep 30, 2008 12:44 am
by rdmelin
1. I cannot change state from the web interface. The window with "Applying State Change
Please Wait" just hangs.
2. Selecting any bttv preset with device mode NTSC loads device mode PAL
3. mpeg streaming doesn't work for live feeds or events. In syslog (everything.log on archlinux) I get this error:
httpd: socket_sendto() failed: No such file or directory
Generating videos from events works.
Re: test results RC version 2640
Posted: Tue Sep 30, 2008 1:00 am
by cordel
rdmelin wrote:1. I cannot change state from the web interface. The window with "Applying State Change
Please Wait" just hangs.
This one I know about, will look into it tonight.
Does the same on Cent.
rdmelin wrote:
2. Selecting any bttv preset with device mode NTSC loads device mode PAL
I think this might be a similar issue to something I was looking into on Curtis's machine where the array does not get populated correctly. Try changing from local to remote then back to local and see if it populates correctly. Might bribe you into letting me into yours and have to check to see if the one Curtis had for me is still up.
rdmelin wrote:
3. mpeg streaming doesn't work for live feeds or events. In syslog (everything.log on archlinux) I get this error:
httpd: socket_sendto() failed: No such file or directory
Generating videos from events works.
Have not seen this problem yet. Can you check and see if php had sockets enabled when built with phpinfo()?
Posted: Tue Sep 30, 2008 1:29 am
by rdmelin
Can you check and see if php had sockets enabled when built with phpinfo()?
Yes sockets are enabled. This is the same archlinux system you saw here. mpeg streaming works fine with zm 1.23.3
I will have to set up ssh access from outside. I'll send PM when I get time to set it up. I tried toggling local/remote but no difference. It's minor since selecting NTSC manually is easy.
Posted: Tue Sep 30, 2008 3:16 am
by rdmelin
4. Cycle view works as expected but I see this in syslog:
PHP Notice: Undefined variable: groupSql in /home/httpd/html/zm/skins/classic/views/cycle.php on line 51
5. Montage view shows only an empty window with a "Layout" dropdown list. Selecting another layout makes no difference. No messages in syslog or httpd/error_log
DVR controls are working very well in the watch view, mjpeg mode, allowing several seconds of rewind.

Posted: Tue Sep 30, 2008 8:32 am
by zoneminder
Thanks Ross.
1) Should be fixed now. Cordel pointed out cause earlier.
2) I can't reproduce here. Do you just load the window and select preset?
3) I need to have a think about how best to diagnose this
4) Fixed. The error reporting is now set to everything so there may be more of these around. A lot will have been there in 1.23 as well but just hidden.
5) Can you 'view source' and post what you get?
Cheers
Posted: Tue Sep 30, 2008 1:41 pm
by rdmelin
zoneminder wrote:
2) I can't reproduce here. Do you just load the window and select preset?
Yes. I think zm_create.sql is messed up in the values in MonitorPresets for bttv devices. Here is an example from a freshly created db
Code: Select all
mysql> select Device,Channel,Format,Protocol from MonitorPresets where Id = 6;
+--------+---------+---------------+----------+
| Device | Channel | Format | Protocol |
+--------+---------+---------------+----------+
| NULL | NULL | /dev/video<?> | <?> |
+--------+---------+---------------+----------+
1 row in set (0.00 sec)
Posted: Tue Sep 30, 2008 1:46 pm
by zoneminder
That's possible. There have been some column changes in that table and maybe it is importing them but to the wrong columns.
Posted: Tue Sep 30, 2008 1:47 pm
by rdmelin
zoneminder wrote:
5) Can you 'view source' and post what you get?
This is with two monitors, default layout
Code: Select all
<DOCTYPE>
<html>
<head>
<title>ZM - Montage</title>
<link>
<link>
<link>
<link>
<link>
<script></script>
<script></script>
<script>
var AJAX_TIMEOUT = 3000;
var currentView = 'montage';
var thisUrl = "http://localhost/zm/index.php";
var skinPath = "skins/classic";
var canEditSystem = true;
var canViewSystem = true;
var refreshParent = false;
var focusWindow = true;
</script>
<script>
//
// Import constants
//
var STATE_IDLE = 0;
var STATE_PREALARM = 1;
var STATE_ALARM = 2;
var STATE_ALERT = 3;
var STATE_TAPE = 4;
var stateStrings = new Array();
stateStrings[STATE_IDLE] = "Idle";
stateStrings[STATE_PREALARM] = "Idle";
stateStrings[STATE_ALARM] = "Alarm";
stateStrings[STATE_ALERT] = "Alert";
stateStrings[STATE_TAPE] = "Record";
var CMD_QUERY = 99;
var SCALE_BASE = 100;
var COMPACT_MONTAGE = 0;
var SOUND_ON_ALARM = 0;
var POPUP_ON_ALARM = 1;
var statusRefreshTimeout = 3000;
var canStreamNative = true;
var monitorData = new Array();
</script>
<script></script>
<script></script>
</head>
<body>
<div>
<div>
<div>
<a>Close</a>
</div>
<h2>Montage</h2>
<div>
<label>Layout</label><select>
<option>Default</option>
<option>2-wide grid</option>
<option>3-wide grid</option>
<option>4-wide grid</option>
<option>3-wide grid, scaled, enlarge on alarm</option>
</select>
</div>
</div>
<div>
<div>
</div>
</div>
</div>
</body>
</html>
Posted: Tue Sep 30, 2008 1:57 pm
by zoneminder
Hmm
I will take a look!
Posted: Tue Sep 30, 2008 2:00 pm
by zoneminder
Actually. Are you sure that is right? There are some odd constructs like the single <link> elements at the top.
Posted: Tue Sep 30, 2008 2:33 pm
by rdmelin
No, it isnt right. It's mangled by the forum formatting.
I put it up here:
http://www.isentrix.com/pub/zoneminder/ ... ew.html.gz
Posted: Tue Sep 30, 2008 3:25 pm
by zoneminder
Thanks. I think you can just check 'Disable HTML in this post' when posting to stop it messing around with it but I have never tried it that I recall.
Posted: Tue Sep 30, 2008 3:46 pm
by zoneminder
Just uploaded latest version. Fixed the presets I think plus the montage issue which I _think_ was caused by the MonitorIds initialisation in config.php being to a string. Changed it to be false but can you check and see if that fixes the issue?
Posted: Thu Oct 02, 2008 10:07 pm
by rdmelin
Fixed the presets I think
Yes, I can confirm that these work now
plus the montage issue which I _think_ was caused by the MonitorIds initialisation in config.php being to a string. Changed it to be false but can you check and see if that fixes the issue?
No change in this issue with 2643. Still an empty window except for the "Layout" dropdown list.
I was able to compile and test 2643 with the small patch from this thread:
http://www.zoneminder.com/forums/viewtopic.php?t=12359
Posted: Sun Oct 05, 2008 8:15 pm
by zoneminder
Should be fixed in latest version, 2649