Bug 708395 - Exception is raised in imgcreate/livecd
Summary: Exception is raised in imgcreate/livecd
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: revisor
Version: 14
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-27 14:36 UTC by Elena Vengerova
Modified: 2012-08-16 13:42 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 13:42:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
My revisor configuration file (682 bytes, application/octet-stream)
2011-05-27 14:36 UTC, Elena Vengerova
no flags Details

Description Elena Vengerova 2011-05-27 14:36:56 UTC
Created attachment 501318 [details]
My revisor configuration file

Description of problem:

Exception is raised during revisor execution: 

_fedora-20110527: 55984/196608 files (0.4% non-contiguous), 399632/786432 blocks
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/revisor/__init__.py", line 528, in run
    self.base.run()
  File "/usr/lib/python2.7/site-packages/revisor/base.py", line 107, in run
    self.cli.run()
  File "/usr/lib/python2.7/site-packages/revisor/cli.py", line 44, in run
    self.base.lift_off()
  File "/usr/lib/python2.7/site-packages/revisor/base.py", line 910, in lift_off
    self.buildLiveMedia()
  File "/usr/lib/python2.7/site-packages/revisor/base.py", line 1796, in buildLiveMedia
    liveImage.package(destdir=os.path.join(self.cfg.destination_directory,"live"))
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 768, in package
    self._stage_final_image()
  File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 303, in _stage_final_image


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

python-imgcreate-14.2-1.fc14.i686

How reproducible:

Every time

Steps to Reproduce:

My revisor command line is:


sudo /usr/sbin/revisor --cli 
--destination-directory="${destdir}"
--working-directory="${workdir}"                                     
--config="${confdir}/revisor.conf"                                              --kickstart="${ksdir}/my.ks"           --model=my_model                                                                

Actual results:
crash

Expected results:
no crash

Additional info:

I do not know python, but I suppose that error happens because there is no __init__ in x86LiveImageCreator class (that should call LiveImageCreatorBase.__init__ where the attribute compress_type is initialized).

Comment 1 Brian Lane 2011-05-27 16:16:15 UTC
the __init__ is inherited from the superclass.

Comment 2 Elena Vengerova 2011-05-30 14:11:46 UTC
OK, another hypothesis: 
revisor defines its own LiveImageCreatorBase; 
__init__ defined in this class does not initialize compress_type, __init__ from imgcreate is not called as well (I've checked).

When I copied initialization of compress_type from LiveImageCreatorBase defined in imgcreate it started to work.

Comment 3 Fedora End Of Life 2012-08-16 13:42:10 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.