Windows Live Viewer..27-11-05 Now Complete Frontend for ZM!!
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i agree with wabro you need to get an image in your browser first and post your path here so i can get the settings from it.
James
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 14
- Joined: Tue Jan 10, 2006 7:48 pm
- Location: The Dalles, Oregon
Problem in event viewer with #events =0 or 1, or with last
There appears to be a bug in the version i have....
When i check the events for a camera that has one event or no events, i get the following screen error:
Error connecting to database: Object reference not set to an instance of an object.
followed by:
Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately
(couple of blank lines)
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name:index
I also get this last error when the playback reaches the end of the last event for a particular camera.
If i have sped up the speed of the playback, the error will pop up again a second after i click 'continue', untill i have to Cancel and drop out of the app.
Did i miss getting the newest release? (i downloaded from the link on the front page of this discussion).
Thanks, and take care..
Camden
[/img]
When i check the events for a camera that has one event or no events, i get the following screen error:
Error connecting to database: Object reference not set to an instance of an object.
followed by:
Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately
(couple of blank lines)
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name:index
I also get this last error when the playback reaches the end of the last event for a particular camera.
If i have sped up the speed of the playback, the error will pop up again a second after i click 'continue', untill i have to Cancel and drop out of the app.
Did i miss getting the newest release? (i downloaded from the link on the front page of this discussion).
Thanks, and take care..
Camden
[/img]
I can confirm this error too James.
Seems that if there are no events or just one event this error will occur. Usually pressing continue for me allows me to then select another camera and continue.
There is also another error I have discovered as well recently. If you have say 12 cams and you select wacthing in QUAD, then click Quad Icon Again to get the next 4 cams, while in the 2nd. or 3rd. quad view screen you double click a cam to go to full screen, for some reason it ALWAYS displays CAM#1 regardless of cam selected. When you then minimize that cam#1 it takes the place of the REAL cam that you originally double clicked on. You can then double click any of the 3 left cams in the quad and it will select the proper cam for full screen view.
Dan
Seems that if there are no events or just one event this error will occur. Usually pressing continue for me allows me to then select another camera and continue.
There is also another error I have discovered as well recently. If you have say 12 cams and you select wacthing in QUAD, then click Quad Icon Again to get the next 4 cams, while in the 2nd. or 3rd. quad view screen you double click a cam to go to full screen, for some reason it ALWAYS displays CAM#1 regardless of cam selected. When you then minimize that cam#1 it takes the place of the REAL cam that you originally double clicked on. You can then double click any of the 3 left cams in the quad and it will select the proper cam for full screen view.
Dan
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
I will look into this one. I think i need to debug the try catch error when ir cant retrieve info from the db, or it maybe to do with the colouring in code.Seems that if there are no events or just one event this error will occur. Usually pressing continue for me allows me to then select another camera and continue.
The reason why when you hit the last event it keeps going is my app assumes a value of 5000 for the no of frames for that event. This is how it knows that it has reached the end of the current event. As you are wathing a current event, that has not ended zm has not entered in the db the total number of frames. I could look into the possibility of checking that these images exist and if not showing a message box and stopping playback.
Your right. This is a new one. I have fixed a fair bit in this ie select quad then close al windows then select quad again, nothing happens in the version you have, this is now fixed. But i will look into this one too. I have noticed that when you full screen(maximise a cam) 3 windows seem to open, and when yuou next maximise all is ok, but another toolbar is shown. I will investigate this too. Give a few days as the first one is quite a bit of work. The latter is probably a james'ism somewhereThere is also another error I have discovered as well recently. If you have say 12 cams and you select wacthing in QUAD, then click Quad Icon Again to get the next 4 cams, while in the 2nd. or 3rd. quad view screen you double click a cam to go to full screen, for some reason it ALWAYS displays CAM#1 regardless of cam selected. When you then minimize that cam#1 it takes the place of the REAL cam that you originally double clicked on. You can then double click any of the 3 left cams in the quad and it will select the proper cam for full screen view.
Thanks for reporting this to you both
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
with reagrd to the full svreening view that cocks everything up i have found this. Basically i added (a while ago) code that resised the split screens as the main window was resized. Unfortunaltly all this did was redraw cams 1,2,3 and 4 reagrdless of which were in view. I have disabled the auto resize and it stops. I will work on a more 'intelligent' approach to this error.
Still on the playback bug
Still on the playback bug
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
beta update
Try this boys
usual location
Added menu cool open and close
changed the way camera view opens
made it so as you enter a camera that selects it and shows the playback button etc
FIxes
hopefully solved playback bugs as above
hopefully solved maximised as above
(also new toy if you click the progress bars of cam1 and 2 only it will size to full slightly differntly. I was thinking of adding another coloured button to each cam window to size bigger (not full) but if you prefer the maximise method then so be it
Let me know
James
Try this boys
usual location
Added menu cool open and close
changed the way camera view opens
made it so as you enter a camera that selects it and shows the playback button etc
FIxes
hopefully solved playback bugs as above
hopefully solved maximised as above
(also new toy if you click the progress bars of cam1 and 2 only it will size to full slightly differntly. I was thinking of adding another coloured button to each cam window to size bigger (not full) but if you prefer the maximise method then so be it
Let me know
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
James,
Window opening out sequence problem seems fixed.
Did not have much time to test playback but did get one error, think that was my fault on number of cams defined for playback and one not valid.
Did notice some strange behavior when changing cams in playback as it wanted to leave old cam on screen and would not playback new cam clicked on. Had to close playback and reopen to get it to play the next cam. Behavior on that try seemed ok. I need more testing.
I like the hover select of cam buttons on images without having to first click on frame.. Good Move!
I also like the click on progress on cam 1 and 2, to go full view and click on progress on full view to reduce back to the selected view..... Another smart move..... Lets do it for all windows <G>
It seems to be getting some fine polishing now, Any progress on "Print" to select device? I know that was looking a little harder to do when we talked before....as well as Send To: in the print window.
Keep up the great work!
Dan
Window opening out sequence problem seems fixed.
Did not have much time to test playback but did get one error, think that was my fault on number of cams defined for playback and one not valid.
Did notice some strange behavior when changing cams in playback as it wanted to leave old cam on screen and would not playback new cam clicked on. Had to close playback and reopen to get it to play the next cam. Behavior on that try seemed ok. I need more testing.
I like the hover select of cam buttons on images without having to first click on frame.. Good Move!
I also like the click on progress on cam 1 and 2, to go full view and click on progress on full view to reduce back to the selected view..... Another smart move..... Lets do it for all windows <G>
It seems to be getting some fine polishing now, Any progress on "Print" to select device? I know that was looking a little harder to do when we talked before....as well as Send To: in the print window.
Keep up the great work!
Dan
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
I will work on the print and email thing over the next week
James
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
still on the above task, and after that will start work on raw and mpeg support. Once this is done i want to expand this version (or create a new version) based on a local db. Just wondering what peoples thoughts are on this. I will keep the iterface the same and add a site/setup selection. This will allow unlimited site support but im wondering on database support. Access i suppose would be easiest but not without its long term problems. I could also use ms sql express but i think this is a bit overkill.
Thoughts??
Thoughts??
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
good point, would also mean if required config could be stored on a zm server somewhere, just have a base setting for the ip of the mysql server i suppose
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
N iwas thinking of a seperate db on the zm server just to store zm4ms config. I am also going to build a wizard into the app to configure all cams from 1 zm server which should help most people get it running, i will then be asking you how to derive the path to zms from the server..lol
James
James
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Please add http basic authorisation.
New zm allows this in connection with logging the same user automatically to zm interface. I wrote some time ago about security issue when using normal zm php authentication - everyone can browse events by entering url http://zmhost/zm/events/.
I use http basic authentication from apache. That prevents user from getting files directly without authorisation.
Ps. how can I specify user name and password when using normal php authentication? I get it by entering all URL with user=...&pass=...
Can this be done without setting URL option?
New zm allows this in connection with logging the same user automatically to zm interface. I wrote some time ago about security issue when using normal zm php authentication - everyone can browse events by entering url http://zmhost/zm/events/.
I use http basic authentication from apache. That prevents user from getting files directly without authorisation.
Ps. how can I specify user name and password when using normal php authentication? I get it by entering all URL with user=...&pass=...
Can this be done without setting URL option?
That depends on how you have your directory setup in apache. If you disable index for the events directory it's not so easy to browse. At least you can't just open the events directory any way and have to know the full path to get at them. It's a basic setting in apache. While everyone does try to secure things as much as possible, there are other things you as a admin have to be aware of and take care to lock it down.
I use basic http auth here some times and it works fine. What problems are you having that it does not?
Regards,
Corey
FYI The RPMs (Atleast mine and Ross's I think) automaticaly set this directory to be non-indexed.
I use basic http auth here some times and it works fine. What problems are you having that it does not?
Regards,
Corey
FYI The RPMs (Atleast mine and Ross's I think) automaticaly set this directory to be non-indexed.