Virtual VP - File Access Denied

I have been running Virtual VP for a few days and again loaded the latest beta 1.4.2 but during the night it stopped working :frowning:

07/01/2008 21:43:17:395 Info - *** Begin logging: Virtual VP 1.1.4.22 ***
07/01/2008 21:43:17:395 Info - Windows version = Windows XP (v. 5.1.2600 Service Pack 2)
08/01/2008 00:00:07:988 Warning - VpConsole: No response after several retries for Wake Up Console
08/01/2008 02:18:01:736 Error - File access denied
08/01/2008 02:18:02:174 Error - File access denied
08/01/2008 02:18:02:611 Error - File access denied
08/01/2008 02:18:03:049 Warning - VpConsole: No response after several retries for Get Live Sensor Data
08/01/2008 02:18:03:096 Error - File access denied
08/01/2008 02:18:03:158 Error - File access denied
08/01/2008 02:18:03:377 Error - File access denied
08/01/2008 02:18:03:596 Error - File access denied
08/01/2008 02:18:03:814 Error - File access denied
08/01/2008 02:18:04:143 Bug - TVpCom.BeatNotify: VpConsole: Wake Up Console pkt not enabled
08/01/2008 02:18:04:143 Warning - VpConsole: No response after several retries for Wake Up Console

Trim as all the same untilā€¦

08/01/2008 02:18:17:377 Bug - TVpCom.BeatNotify: VpConsole: Wake Up Console pkt not enabled
08/01/2008 02:18:17:377 Warning - VpConsole: No response after several retries for Wake Up Console
08/01/2008 02:18:17:377 Error - VpConsole: Too many consecutive failures of console to respond. Will continue trying periodically.

My console is USB and as of yesterday morning is via a keyspan usb to ethernet device.

Without any restarts of comms or keyspan I just quit this version and w/s software progs and all is well again.

08/01/2008 08:38:40:402 Info - *** Begin logging: Virtual VP 1.1.1.2 ***
08/01/2008 08:38:40:402 Info - Windows version = Windows XP (v. 5.1.2600 Service Pack 2)

Any ideas/thoughts on the log?

Automan.

It did much the same at 10:18 with the older version but this time the program stopped responding?

Any connection that 1st time was 02:18 and now again at 10:18?

Given PC a total restart this time.

Odd things, StartWatch does not delay Virtual VP for 2 mins from start and WeatherDisplay s/w still thinks its getting data when Virtual VP fails in this maner

WeatherLink gives an error & Virtual Weather Station stops updating.

See attached for my StartWatch sequence

Automan.


startwatch-list.JPG

Iā€™m running VirtVp 1.1.4 together with startWatch 1.0.0 and they run totally solidly (touch wood)ā€¦The only major difference that I can discern is that I have a SERIAL data logger, as opposed to a USB one which I believe you run.

Attached are my StartWatch settingsā€¦


startwatch 2008-01-08_132942.jpg

I tried increasing the value to 5 mins but Virtual VP still starts the moment I load StartWatch :frowning:

The delay is required to permit the keyspan usb to ethernet software to get up & running.

Automan.

In the screen shot above you have VVP starting 10 seconds after StartWatch or is that what youā€™re saying you set to 5 minutes and itā€™s still starting immediately. Some setting in StartWatch require a restart I believe.

ā€“Dave

Baggins has the 10 seconds I now have 5 mins.

I will cold reboot to see what happens & report backā€¦

Automan.

No better,
Virtual VP starts directly Startwatch does and because the comm port is not yet ready it gets stuck :frowning:

I will trying adding a dummy app in the sequece, perhaps calc in to see If I can create the delay.

Automan.

Do you have port monitoring turned on for VVP? I have mine set as you but also have StartWatch preventing VVP from starting until the port is ready.

ā€“Dave

I do but that only monitors the output of the app.
Virtual VP gets stuck for me saying no incoming com port

08/01/2008 14:31:18:703 Info - Windows version = Windows XP (v. 5.1.2600 Service Pack 2)
08/01/2008 14:31:22:328 Error - VpConsole: Connection error: Specified comport doesnā€™t exist
08/01/2008 14:31:51:312 Info - *** End logging ***

Adding calc did not help, Virtual VP still did not wait and load direct ofter calc.

Deleted all items from startup sequence and just put Virtual VP back and again no delay :frowning:

Automan.

I still need to read through and digest this thread, but one thing that comes to mind quickly is that it is best to set up StartWatch in the following manner:

Define a port monitor that monitors one of VVPā€™s TCP/IP ports. In StartWatch youā€™d set up a monitor on IP address 127.0.0.1, port 5514

Have StartWatch start VVP first.

Have all your weather programs that connect through VVP start based on the port monitor defined above. When VVP has completed its initialization and is ready to serve data, the port monitor will finally connect successfully, and that will kick off the startup of the weather programs. In my setup, I have the weather programs set up with that port monitor as the trigger event, and then stagger their startups with increasing delays so theyā€™re not all starting and trying to initialize at the same time.

Not sure about that file access issue. There are only one or two files that VVP writes to. Iā€™ll have to look into that.

Steve
SoftWx

Which version of StartWatch are you running?

Ver 1.0.2.55

I do have the other apps only start when Virtual VP outbound ports start up but the program only seems to check at startup for the inbound port and if it does not exist thats your lot.

See 1st attached screen dump.

I have found a solution / work-around to this however.
Created a monitor port for my ADSL Router on 192.168.178.1 Port 80
Virtual VP does wait the two minutes requested after this is active and thus Virtual VP can load okay followed by the other apps.
See 2nd attached screen dump.

Now just back to orignal problem of the file access errors :slight_smile:

Automan.


virtual-vp-stuck.JPG

swatch-ok.JPG

Dowload and use this version:
http://www.softwx.com/windows/startwatch/StartWatchSetup-1.1.0.exe
Let me know if that helps any of these problems.

Yes that version does the trick and now waits but of course the trial version only monitors 1st app.

Automan.


sitewatch-ok.JPG

Yes that version does the trick and now waits [b]but of course[/b] the trial version only monitors 1st app.

Come on now. Almost instant support and upgrade for a free version. PayPal will solve your problem.

ā€“Dave

send me an email to support at softwx.com and I will email you back a 30 day key.

Email on itā€™s way

Many Thanks

Automan.

Trial key loaded okay awaiting another file access error :slight_smile:

Automan.

It did it again and also at the same time of 18 minutes past the hour!

Will try 1.1.4.22 again.

Automan.


file-access denied.JPG

memory-leaks.JPG

I also have now turned off ā€œMirror Archive Data To Diskā€ so Virtual VP does not create itā€™s two files.

Perhaps this will help?

Automan.