I apologize for taking a while to get back to you. I have had quite
the schedule for the last day or so now. Ok so I was thinking along
the same lines of needing to redo the build, from a clean source. So I
wiped the board and started from the ground and headed up. Things seem
better now, but still aren't working. Though I feel very close (or
perhaps still a false sense of hope haha!). I'm still getting the same
broken pipe error:
Sep 22 21:50:10 wxhome radmrouted[1791]: <1316746210250> :
radQueueSend: write failed on fd 7: Broken pipe
But Ive come to notice this is just a looping error AFTER a much
bigger error, and likely the cause:
Sep 22 21:50:04 wxhome wviewd[1795]: <1316746204409> : storing record
for 2011-09-22 21:50
Sep 22 21:50:04 wxhome wviewd[1795]: <1316746204411> : radsqliteQuery:
sqlite3_prepare(): error 1 (no such column: nan)
Sep 22 21:50:04 wxhome wviewd[1795]: <1316746204412> : radsqliteQuery:
query failed: INSERT INTO archive
(dateTime,usUnits,interval,barometer,pressure,altimeter,inTemp,outTemp,inHumidity,outHumidity,windSpeed,windGust,rainRate,rain,windchill,heatindex,ET,radiation,UV,rxCheckPercent,hail,hailRate,heatingTemp,heatingVoltage,supplyVoltage,referenceVoltage,windBatteryStatus,rainBatteryStatus,outTempBatteryStatus,inTempBatteryStatus)
VALUES (1316746200,1,5,0.000000,0.000000,-nan,
0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000)
It would seem to me that for some reason now, the data is getting
smudged between the station console and the sql database. Its trying
to write in the data stream, but obviously the values are bogus. Man
its killing me. Here were my steps of installation as well:
sudo apt-get purge wview (yes to remove ALL config and data)
sudo apt-get install wview
download source to local directory and unpack
run ./configure --prefix=/ --bindir=/usr/bin --sysconfdir=/etc --
localstatedir=/var/lib --libdir=/usr/lib to match the wview apt
package
changed the lines in vproInterface.c (within /stations/VantagePro) to
allow it to communicate without have the data logger
ran sudo make in the same directory (VantagePro)
Copied the new wviewd_vpro over the one established by the apt package
(after making a back up copy)
and points to remember: At some point in the last 5 days, wview has
successfully:
logged data into the archive every 1 minute. (simultaneously reporting
to wunderground)
generated html files and images properly and uploaded them.
IT HAS NOT done these two points simultaneously. Everytime I get one
to work, the other fails.
Also, at one point I attempted to install from the source code I
downloaded, and couldnt get it install happily, so I said forget it
and went back to the apt package. Is it possibly there are remnants of
that attempted install interfering with the new installation running?
Thanks for all your help again man!