anarcat / bup-cron

mirror of the bup-cron repository, may be out of date while i figure out github mirror things
https://gitlab.com/anarcat/bup-cron
GNU Affero General Public License v3.0
22 stars 4 forks source link

bup-cron: cannot save stats note #3

Closed Crazyguy closed 9 years ago

Crazyguy commented 9 years ago

I tried using the --stats option but looks like I just got an error stating "cannot save stats note".

What could cause that? Could it have something to do with the fact that bup-cron was not running as root?

Crazyguy commented 9 years ago

The full command line parameters were: bup-cron -v --syslog --parity --stats -d ~/.bup/ -n

anarcat commented 9 years ago

i think this is fixed in git. i did two commits recently to try to fix those. in fact the bup note is saved, it's just the error checking that was faulty. see: https://github.com/anarcat/bup-cron/commit/1540e4e0f1c430f494f046fc9d51d75c834f1a9d

also note that stats are now logged to syslog as well: https://github.com/anarcat/bup-cron/commit/d5186a77356d4774a647324260ede6b303827daa

i need to ship this in a release now...

Crazyguy commented 9 years ago

I'll try with the current version. I have been using the version from PyPI

anarcat commented 9 years ago

yeah, i really need to push 1.2 out. glad to hear the PyPI version is working! :)

anarcat commented 9 years ago

1.2 was pushed by the way, hopefully this all works for you now.

Crazyguy commented 9 years ago

I updated to 1.2 and looks like this works now as expected.