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

Re: Still: Install fails: 'None' object has no attribute 'height'

Nigel Wade wrote:

On Fri, 2002-07-19 at 21:56, David Vergin wrote:

Running anaconda - please wait...
Probing for video card: ATI Rage Mobility
Probing for monitor type: Unable to probe
Probing for mouse type: Generic - 3 Button Mouse (PS/2)

There should be a break here.
After the probing other stuff happens that leads to the traceback.

Traceback (innermost last):
 File "/usr/bin/anaconda", line 567, in ?
   method = HardDriveInstallMethod(drive, type, dir, intf.messageWindow)
 File "usr/src/build/90289-i386/install//usr/lib/anaconda/harddrive.py", line
211, in __init__
 File "usr/src/build/90289-i386/install//usr/lib/anaconda/image.py", line 206,
in findIsoImages

Did you force text mode?
Did X come up?
There should be an error message if X won't start.

 File "usr/src/build/90289-i386/install//usr/lib/anaconda/text.py", line 264,
in messageWindow
 File "usr/src/build/90289-i386/install//usr/lib/anaconda/text.py", line 117,
in __init__

Here you trying a text install. text.py it the text frontend to the installer.
and call the ButtonChoiceWindow method.
Which should draw an window with 2 buttons (OK and Cancel)
ButtonChoiceWindow is called with (screen, title,text,buttons=[...])

 File "usr/lib/python1.5/site-packages/snack.py", line 547, in

in ButtonChoiceMethod, some defaults are used
width=40, x=None, y=None, help=None

t = TextboxReflowed(width, text, maxHeight = screen.height - 12)
AttributeError: 'None' object has no attribute 'height'

screen is not correctly set before this call(findIsoImages() calls messageWindow() ) so screen.height is not valid.
it scans the the directory you gave looking for ISO images.
When it finds one, it mounts it and looks for the .disk<num>-<arch> file
to figure out which disk it is, then it tests the size of the image.
The call to messageWindow() is because the ISO inage is not a multiple of of 2048 bytes.

What the size of the disk images?
The messageWindow() call should not normaly be called.


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