[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [bug #43858] rdiff-backup-statistics: nB qualifier f
From: |
Cheetah |
Subject: |
[Rdiff-backup-bugs] [bug #43858] rdiff-backup-statistics: nB qualifier for --begin-time and --end-time fails |
Date: |
Sat, 20 Dec 2014 20:32:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 Iceweasel/34.0 |
URL:
<http://savannah.nongnu.org/bugs/?43858>
Summary: rdiff-backup-statistics: nB qualifier for
--begin-time and --end-time fails
Project: rdiff-backup
Submitted by: churten
Submitted on: Sat 20 Dec 2014 08:32:12 PM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The nB form for time qualifiers does not work for the --begin-time or
--end-time options:
# rdiff-backup-statistics --begin-time 0B $PWD
Traceback (most recent call last):
File "/usr/bin/rdiff-backup-statistics", line 461, in <module>
if __name__ == '__main__': error_check_Main()
File "/usr/bin/rdiff-backup-statistics", line 449, in error_check_Main
Main()
File "/usr/bin/rdiff-backup-statistics", line 434, in Main
parse_args()
File "/usr/bin/rdiff-backup-statistics", line 41, in parse_args
if opt == "--begin-time": begin_time = Time.genstrtotime(arg)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Time.py", line 228, in
genstrtotime
return time_from_session(int(timestr[:-1]), rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Time.py", line 192, in
time_from_session
session_times = Globals.rbdir.conn.restore.MirrorStruct \
AttributeError: 'NoneType' object has no attribute 'conn'
The same essential error happens regardless of what n is, and regardless if
used for the begin or end time filter.
The ability to use this syntax is very handy for e.g. answering "why was the
last backup unexpectedly large".
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?43858>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Rdiff-backup-bugs] [bug #43858] rdiff-backup-statistics: nB qualifier for --begin-time and --end-time fails,
Cheetah <=