Few changes.
- 291 - All xap processes now log to /var/log
- 292 - Added ch.total endpoint to xap-currentcost = ch.1+ch.2+ch.3
- 293 - move ch.total endpoint to UID 05
- 294 - Fixed a googlecal issue where-by it would output debug messages even if not in debug mode. Combined with a fixin 291 this had the potential to now crash your HAH
Member for
16 years 10 monthsRelease 295
A lurking bug that has been with us for quite some time in currentcost when I added ch.total it revealed a problem elsewhere in the code as far back as the 280 release and probably even earlier. Thanks Aivo for your debug output.
I tracked it down. It was introduced between 252 and 253 at r84 when I rewrote it for xaplib2 back in Sep 2010.
Member for
15 yearsCurrent Cost - Not working since upgrade to 295/3.4
Hi,
I upgraded this evening (/etc/init.d/upgrade) to 295 - however since the upgrade I'm not seeing any xap messages from Currentcost other than the heartbeat messages...?
xap-hbeat
{
v=12
hop=1
uid=FF00DC00
class=xap-hbeat.alive
source=dbzoo.livebox.CurrentCost
interval=60
port=3643
pid=176
}
Member for
15 years 10 monthsditto
Current cost no work :(
Member for
17 yearsHard to test
Do recall that Brett has been making the recent CC code changes 'blind' (as he no longer has a CC unit). Once I'm back at base, I can stand up a test unit for him to access over our bridged network. I'm sure that it won't take long to get this sorted.
Derek.
Member for
16 years 10 monthsDon't know why
Unfortunate the program is breaking in a part of the code I never touched when adding the cc.total endpoint which means the bug has been dormant and has only just surfaced now. I'm going to have to debug this using Derek kit in his basement as I don't have a currentcost anymore. If you roll back to the last beta the CC works although it has the same bug I just fixed!? I will be at least 3-4 hours or more before I get a chance to look a this.
# /etc_ro_fs/update-dev hah-beta.dbzoo.com
Corrected a typo on the above command.
Member for
15 years 10 monthsNo worries
Not life or death.
command above does not seem to work?
Member for
15 yearsI've downgraded as per the
I've downgraded as per the post above and the CurrentCost stats are back :-)
# cd /etc_ro_fs/
# ./update-dev hah-beta.dbzoo.com
Please let me know if you need any logs etc to help identify the problem.
Andy
Member for
16 years 10 monthsRelease 296
This will fix the CC woahs. The funny thing is I didn't add any code except some debugging and now it works. Perhaps what happened is that the change I made for 295 never got compiled in so when I released the bug was still there.
Anyway I've been told by Aivo that this works so here we go!
Brett