Bug 452049

Summary: Missing dependency python_paramiko
Product: [Fedora] Fedora Reporter: James Bannon <jamesbannon008>
Component: fwbackupsAssignee: Stewart Adam <s.adam>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: andy1974, dennis.schaefers, jimlawrnc
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.43.2-0.4.rc2.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-25 02:49: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 James Bannon 2008-06-18 23:10:00 UTC
Description of problem:


Version-Release number of selected component (if applicable):1.43.2rc2


How reproducible:Always


Steps to Reproduce:
1. Install fwbackups using yum
2. run fwbackups
3.
  
Actual results:
Does not start due to missing module paramiko. Running from the CLI gives the
following error:

Traceback (most recent call last):
  File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 59, in <module>
    from fwbackups import backend
  File "/usr/lib/python2.5/site-packages/fwbackups/backend.py", line 26, in <module>
    import paramiko


Expected results:
It should basically just work.

Additional info:Fixed problem by installing python_paramiko. But this should
really be in as a dependency.

Comment 1 Stewart Adam 2008-06-19 03:36:35 UTC
Thanks for reporting this, I'm tagging a new update now. I made a stupid thinko
and wrote "BuildRequires:" in the spec file instead of "Requires:"...

Comment 2 Fedora Update System 2008-06-19 03:45:09 UTC
fwbackups-1.43.2-0.3.rc2.fc8 has been submitted as an update for Fedora 8

Comment 3 Stewart Adam 2008-06-19 20:33:12 UTC
*** Bug 452157 has been marked as a duplicate of this bug. ***

Comment 4 Stewart Adam 2008-06-19 20:33:15 UTC
*** Bug 402091 has been marked as a duplicate of this bug. ***

Comment 5 Stewart Adam 2008-06-20 00:16:16 UTC
*** Bug 452180 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2008-06-20 19:11:01 UTC
fwbackups-1.43.2-0.3.rc2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Andrew 2008-06-22 18:43:19 UTC
Did upgrade , after upgrade got this error
fwbackups bug report written saved at 01:59 PM on 2008-06-22

Traceback (most recent call last):
  File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 2601, in <module>
    MainApp = fwbackupsApp(verbose, minimized)
  File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 122, in __init__
    self.runSetup(minimized=minimized)
  File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 264, in runSetup
    prefs = config.PrefsConf(create=True)
  File "/usr/lib/python2.5/site-packages/fwbackups/config.py", line 405, in 
__init__
    self._import()
  File "/usr/lib/python2.5/site-packages/fwbackups/config.py", line 474, in 
_import
    self.set('General', option, self.get('General', option.lower()))
  File "/usr/lib/python2.5/site-packages/fwbackups/config.py", line 117, in get
    value = self.config.get(section, prop)
  File "/usr/lib/python2.5/ConfigParser.py", line 520, in get
    raise NoOptionError(option, section)
NoOptionError: No option 'version' in section: 'General'

I found i only get this error when logged in as root

Comment 8 Stewart Adam 2008-06-22 19:59:54 UTC
Can you export the set(s) that caused the glitch and attach them to this report?

Comment 9 Andrew 2008-06-22 20:12:53 UTC
i down graded opened and deleted the sets, then upgraded, still same error
 

Comment 10 Stewart Adam 2008-06-22 21:02:42 UTC
I've created a patch which I believe solves the problem. If you install this
package, does fwbackups start and import your sets correctly?
http://downloads.diffingo.com/fwbackups/fwbackups-1.43.2-0.3.1.rc2.fc9.noarch.rpm

Comment 11 Andrew 2008-06-22 21:09:03 UTC
Yup, Good Job!!! I tested with a manual backup 

Comment 12 Fedora Update System 2008-06-22 22:49:25 UTC
fwbackups-1.43.2-0.4.rc2.fc8 has been submitted as an update for Fedora 8

Comment 13 Fedora Update System 2008-06-25 02:49:46 UTC
fwbackups-1.43.2-0.4.rc2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.