WDconsole - Access violation

I’m getting this error when I launch GoWdconsole.sh. I’ve commented out the root checks, so it’s not a permission problem. It reads thru/and interprets the config file, shows this and dies.
Weather Display vers WD console 5.4
If use this program,then please consider sending a PayPal donation to [email protected] (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
An unhandled exception occurred at $00B9E721 :
EAccessViolation : Access violation
$00B9E721
$009E257E
$08060B10 main, line 6271 of consolewd.lpr

I can’t run the full version as I don’t run X. I tried to run it a while back but ran into huge library problems and determined it wasn’t worth the trouble. I’ve been using another tool to get data from my Davis WX, but want a clean creation of clientraw.txt…so here I am again.

Thanks for any help.
Scott

Trying again…anyone have any ideas on how to get more data to help figure this out. Since we’re leaving out the X-QT stuff…this should be a simpler…but the error doesn’t give me anything to go on.

Scott

Trying yet again…I loaded the full version (with X) and it works. I really don’t want the overhead of X, I just want a simple daemon.

Thanks for any input. I’d be glad to pay (donate) for the console version if I could get it to work.

I appear to get the same error message and posted a request for help a few days ago, so far to no avail.
Can anyone shed any light on this? I equally do not want the overhead of the full XWindows stuff, the PC I am using is a Viglen MPC -L, it is about the size of a CD case and costs about

Hi
try the latest version update
then let me know what the line number is for the error message

Thanks Brian.
I downloaded the lasted version on the site and got the same line #
Weather Display vers WD console 5.4
If use this program,then please consider sending a PayPal donation to [email protected] (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
An unhandled exception occurred at $00191721 :
EAccessViolation : Access violation
$00191721
$00D9057E
$08060B10 main, line 6271 of consolewd.lpr

Scott

try vers 5.5:
http://www.weather-display.com/downloadfiles/consolewd.dat

and remove the .dat from the end (and download to where you have the program allready)
and then also delete the wdconsole.ini file and config.txt file
to start over

Thanks Brian.

Here is what I get in 5.5
Weather Display vers WD console 5.5
If use this program,then please consider sending a PayPal donation to [email protected] (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
An unhandled exception occurred at $00B9E721 :
EAccessViolation : Access violation
$00B9E721
$008F857E
$0808458A main, line 16152 of consolewd.lpr

Do I need to delete config.txt or wdconsole.ini at this point?

that error is occuring with the opening of the com port you have set in the config.txt

so try changing that
(what do you have set there?)

OK…that’s going to take me a little longer.
Since…I had X problems…and couldn’t get the console only version working…I built a VM running Windows and bound my WX serial port to the VM. I’ll need to undo that later tonight and retest.

Back with more detail later.
Scott

OK Brian,
Here is what I got. The line # 16152 is the same, but the unhandled exception is different. Is that more what you’d expect?
I am very confident that the app has access to the serial port:
1…I’m running as root.
2…I removed the check in GoWdconsole.sh
3…Another WX package can access the WX on this port.

Weather Display vers WD console 5.5
If use this program,then please consider sending a PayPal donation to [email protected] (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
An unhandled exception occurred at $00B9E721 :
EAccessViolation : Access violation
$00B9E721
$00F5057E
$0808458A main, line 16152 of consolewd.lpr

what station type?
what sort of port type?
what are entering as the port info in the config.txt?

also try using the libcom.so file, in the deploy folder from the full X version

I specify my Vantage Pro 2 like this “Weather station type=31”
and /dev/ttyS4 as Comport number (e.g 1)=4
It is an add-on 4port serial card.
I’ll try the other libcom.so a little later today.l

/dev/ttyS4 → Comport number (e.g 1)=5

i will do some testing here to make sure it still works OK
but also try the libcomold.so file (i.e rename that one to libcom.so (rename libcom.co to libcomnew.so first), in the deploy folder

Brian,
RRT4 pointed an error I was making when referencing my serial port. I’m in the process of backtracking if that was my problem all along.
I assumed I just needed to lop off /dev/ttyS to get my com port #…but that wasn’t the case.
I have it running now, reading up on what it spits out. A lot of *****Received count…interspersed with weather data.

Thanks
Scott

Hi
just checked on the format of the original config.txt
all you need is the number after the = and before the //
(i.e check the default config.txt with the downloaded files)