test results RC version 2640 thru 2679

Forum for questions and support relating to the 1.24.x releases only.
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

test results RC version 2640 thru 2679

Post 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.
Last edited by rdmelin on Fri Nov 07, 2008 5:06 pm, edited 7 times in total.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: test results RC version 2640

Post 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()?
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post 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.
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post 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. :)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
Phil
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post 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)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post 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>
Last edited by rdmelin on Thu Oct 02, 2008 9:58 pm, edited 1 time in total.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Hmm :?

I will take a look!
Phil
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Actually. Are you sure that is right? There are some odd constructs like the single <link> elements at the top.
Phil
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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?
Phil
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Should be fixed in latest version, 2649
Phil
Locked