new consolewd version issue - undefined symbol Moonage [SOLVED]

Hi!

So, I tried today new version and I get following whatever I do:

./consolewd
Weather station type is a 2310
Latitude= 45.8
Longitude= 15.7
Station name = ****
Daily rain startup= 0.0
Monthly rain startup= 0.0
Will do wunderground updates
wunderground username = ****
wunderground password = ****
wunderground utc =1
Barooffset= 0.0
Comport number= 1
No Revb Davis VP
Davis rain gauge .01 inch
mysql username =
mysql server =
mysql databasename =
mysql tablename = wx_data
Will do mysql metric
mysql time interval = 300
cwop station id =
cwop call sign = -1 // -1 is default (you do not have a Ham call si
cwop latitude=
cwop longitude=
FTP server =
FTP username =
FTP port = 21
FTPremote dir =
Will do ftp passive
remote file =   //(set to Y f
FTP time interval = 60
 wu =Y
Will save logfile
logfile metric
Custom file name = wx.html
Custom file name 2=
Custom file name 3=
Custom file name 4=
Custom file name 5=
Tag units in celsius
wind units = kph
baro metric= Y
rain metric= Y
Will run cron files
utc hour=20
local hour=22
****Weather Display vers WD console 5.94****
If use this program,then please consider sending a PayPal donation to info@weather-displ                                        ay.com (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Comport /dev/ttyS0 opened
Toggling comport
*****Received count =  ----------------------------->  5
Wind Data OK
Current data : Temperature= 13.0 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=0                                         Barometer=1013.0 Daily Rain=0.0
stage 1 2310 OK
Wind Data OK
Current data : Temperature= 13.0 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=0                                         Barometer=1013.0 Daily Rain=0.0
*****Received count =  ----------------------------->  5
Wind Data OK
Current data : Temperature= 13.0 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=0                                         Barometer=1013.0 Daily Rain=0.0
Wind Data OK
Current data : Temperature= 13.0 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=0 Barometer=1013.0 Daily Rain=0.0
*****Received count =  ----------------------------->  9
out door temp Data OK
Current data : Temperature= 14.9 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=0 Barometer=1013.0 Daily Rain=0.0
*****Received count =  ----------------------------->  5
Outdoor Hum Data OK
*****Received count =  ----------------------------->  5
Wind Data OK
Current data : Temperature= 14.9 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=53 Barometer=1013.0 Daily Rain=0.0
############setting to read baro
*****Received count =  ----------------------------->  15
stage 1 2310 OK
stage 1 2310 OK
*****Received count =  ----------------------------->  12
Rain Data OK
Current data : Temperature= 14.9 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=53 Barometer=1013.0 Daily Rain=0.0
stage 1 2310 OK
*****Received count =  ----------------------------->  9
indoor temp Data OK
Current data : Temperature= 14.9 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=53 Barometer=1013.0 Daily Rain=0.0
*****Received count =  ----------------------------->  5
Outdoor Hum Data OK
stage 1 2310 OK
*****Received count =  ----------------------------->  5
stage 1 2310 OK
stage 1 2310 OK
*****Received count =  ----------------------------->  5
Wind Data OK
Current data : Temperature= 14.9 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=53 Barometer=1013.0 Daily Rain=0.0
Wind Data OK
Current data : Temperature= 14.9 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=53 Barometer=1013.0 Daily Rain=0.0
############setting to read baro
*****Received count =  ----------------------------->  15
Baro Data OK
Current data : Temperature= 14.9 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=53 Barometer=1013.6 Daily Rain=0.0
*****Received count =  ----------------------------->  9
out door temp Data OK
Current data : Temperature= 14.9 Windspeed =0.0 Gustspeed =0.0 Direction =315 Humidity=53 Barometer=1013.6 Daily Rain=0.0
Doing minute routine now
sun rise   Sun r
calc sunrise hour 0
calc sunrise min 0
calc sunset hour 0
calc sunset min 0
moon disk Moon phase 66.17 %

./consolewd: symbol lookup error: ./consolewd: undefined symbol: Moonage

Treid copying deploy folder to /usr/lib, restarting, changing rights, deleting folder and “reinstalling” - everything…

Also, My device is 2355 - and since I don’t know weather station type I use for 2310 (if that matters).

copy the latest liblunar.so file (from the latest download) from the deploy folder to the /usr/lib/

or, use that latest liblunar.so file from the full QT version download

for the La crossse, think of it as a 23XX

Windy, thanks!

I double checked because I copied it earlier, but found taht I had it in both /lib and /usr/lib - /usr/lib was newer.
And now the fun starts - as I copied it to /lib folder, now I get:

Comport /dev/ttyS0 opened
ser_read error Resource temporarily unavailable
*****Received count =  ----------------------------->  65535
Toggling comport
ser_read error Resource temporarily unavailable
...
*****Received count =  ----------------------------->  65535
ser_read error Resource temporarily unavailable
*****Received count =  ----------------------------->  65535
ser_read error Resource temporarily unavailable
*****Received count =  ----------------------------->  65535

Any ideas? I’m banging my head now for more then 4 hours and am filling a bit tired :slight_smile:

i have updated it now, I had an older liblunar.so

for the com problem, Yves posted a link to another libcom.so file that uses the usb type read command always
that might help
(use that in the deploy folder)
(and the latest update now has a more recent libcom.so file in the deploy folder)

Windy, thanks!
You will always get a good response when a thanks is posted on the forum (thanks are hard to come by on this forum (windows version more so) unfortunately (people seem to just expect things and no give any thanks alot)

Yes, I know all too well. I’m not very fond of posting help any more because of what you cite above.

Heck, I had to prompt Mike for a thank you on the zombie issue! 8)

Brian, I do appreciate the work you’ve done on the console: thank you.

Hi!

Well, thanks for all the help.

There were really two issues:

  • double /lib folder (/usr/lib and /lib)
  • libcom issue - where at the end I copied libcomold over libcom and it resolved

I also downloaded (during this palying around) latest version and now it’s all OK (and back to some other issues that it takes from 1 to 15 times to get passed following:)

Toggling comport
 2310 failed to wake up
An unhandled exception occurred at $F7BB9A6D :
EAccessViolation : Access violation
  $F7BB9A6D
  $F7F55AA4
  $0808CB0E  main,  line 19321 of consolewd.lpr

But that’s another story :slight_smile:

Thanks again!!!

is your email available? I sent to the address consolewd with some more debugging.

Yves

Abroz,
Would please be kind to update your profile?

Yves

Yves,

Sorry - just got home from work - will update profile and also I received updated consolwd and will deploy it now.

Thanks for all the effort!

Thanks, I sent you a new version. Please try to break it as you perfectly did with the previous one.

Yves

Yves,

I’ve sent you more broken stuff - I feal like a little kid - happy breaking :smiley:

Thanks for all the help!

The new libcom I sent must fix the access violation, I’ll send it to Brian. You can resume your activities. Once more thnaks for helping us fix this bug.

Yves