Hah! Ah, Semme's a good lad, really; his heart's in the right place. I'm not surprised he sent you here; there were only ever a handful of us at all closely involved in BitMeter's 'Puppification' process.....with some rather mixed results. To this day, I've no idea how many people have ever bothered to download it, and try it out... I'd used it in Ubuntu for about a year before I came over to Puppy full-time; it was stable, and was extremely useful. At the time, we had a monthly data 'cap' of just 10 GB, so I really needed to watch what I was doing. That subsequently increased to 20 GB / month, and we've since switched ISPs and have an unlimited plan. I don't really need to use it at all now, but I've reverted to the 'one Pup, one BM-OS' set-up I was using originally. The reasons I really started this thread were two-fold; I thought it was a very neat, small, self-contained app, that would be useful to a number of people, and was amenable to 'Puppification'; the other being that I badly wanted a way to have multiple Pups write to a single common database, so as to obtain a monthly running total across all Pups in the kennel.april wrote:Thanks for that - Semme sent me , blame him.
We got that working, though I, personally, have never managed to keep 0.8.0 running for longer than a fortnight, tops. The sQLite database that Rob Dawson, its creator, used when he wrote it, seems ( in the 0.8.0 version) to very easily and spontaneously corrupt. Or it could be that it doesn't like being moved, and then sym-linked.....perhaps they really are that sensitive. The older 0.7.6, on the other hand, is absolutely rock-solid, and will just run indefinitely.
So; the famous 'NaN PB' problem has reared its ugly head again, has it? Hm. I never really got into the 'nuts'n'bolts' of what made it tick. Davids45, who's also in this thread, a few posts back, did. He really dug around in the thing's guts, 'cos he was at the time trying to get it working across a small home LAN of about 5 or 6 machines.....and he managed it, too! He also has rather more experience than me with regard to what the various errors are, and how to get it running again. I'm going to shoot him a line, and see if he can be persuaded to come in on this, and give you the benefit of his experience.
The only thing that I know for definite is that the 'NaN PB' error almost always indicates that data is not being written to the database. You can try this:-
In the terminal,
Code: Select all
/etc/init.d/ bitmeter restart
/etc/init.d/bitmeterweb restart
Code: Select all
# /etc/init.d/bitmeter restart
Stopping BitMeter Capture daemon: bmcapture.
Starting BitMeter Capture daemon: bmcapture.
# /etc/init.d/bitmeterweb restart
Stopping BitMeter Web Interface daemon.
Starting BitMeter Web Interface daemon: bmws.
To be fair, I doubt he ever envisaged it being 'hacked-about' in quite the way we did..! If you scan back through the thread, you'll find a few posts by Rob himself; I kept him informed as to what we were doing with BitMeterOS, through his own 'CodeBox' website, having originally sought his advice with one or two issues.
http://codebox.org.uk/pages
Mike.