[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: problem with check-repository.py



> Julio Rodanés -KNET wrote:
> 
> I want to create a custom distribution of Red Hat 7.3.
> When I run check-repository.py /redhat/i386/, the command line show
> these errors:

[...]

>   File "/usr/lib/anaconda/log.py", line 39, in __call__
>     raise RuntimeError, "log file not open yet"
> RuntimeError: log file not open yet

as you can see in /usr/lib/anaconda/comps.py, log.open() is never
called. a quick fix would be to replace:

def __init__ (self):
	self.logFile = None

by:

def __init__ (self):
	self.logFile = sys.stderr

in /usr/lib/anaconda/log.py

-- 
Alain





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]