Bug 233367

Summary: fwbackups: program crashes, syntax error
Product: [Fedora] Fedora Reporter: Bernard Johnson <bjohnson>
Component: fwbackupsAssignee: Stewart Adam <s.adam>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 6Keywords: EasyFix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.42.3a Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-25 19:59:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bernard Johnson 2007-03-21 20:32:18 UTC
Description of problem:
program crashes on startup

Version-Release number of selected component (if applicable):
fwbackups-1.42.3-1.fc6

How reproducible:
Always

fwbackups
Traceback (most recent call last):
  File "/usr/share/fwbackups/fwbackups-runapp.py", line 23, in ?
    from fwbackups import Callbacks
  File "/usr/lib/python2.4/site-packages/fwbackups/Callbacks.py", line 19, in ?
    from fwbackups import Backuper
  File "/usr/lib/python2.4/site-packages/fwbackups/Backuper.py", line 167
    else:
       ^
SyntaxError: invalid syntax


--- Backuper.py.orig    2007-03-19 17:37:55.000000000 -0600
+++ Backuper.py 2007-03-21 14:27:43.000000000 -0600
@@ -162,7 +162,7 @@
                         except OSError:
                             os.remove(os.path.join(self.root, self.name))
                 os.rmdir(self.top)
-        print 'Finished removing old backups.'
+            print 'Finished removing old backups.'
         # Else: Create the main backup dir.
         else:
             print 'Backups directory \'%s\' non-existant,
creating...'%(self.dest + "/Backups")

Comment 1 Stewart Adam 2007-03-21 21:14:17 UTC
Thanks for the patch, I've queued the new build with the fix... It should be in
the Extras repo by tomorrow or the day after.

Comment 2 Jack Deslippe 2007-03-23 00:22:51 UTC
I also have this issue - how do I fix it?

Comment 3 Stewart Adam 2007-03-23 01:05:45 UTC
What version are you using?