Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136152 - Stage 1 and 2 installs with command line installer crashes after selecting stage
Summary: Stage 1 and 2 installs with command line installer crashes after selecting stage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-08 23:39 UTC by Steven Parker
Modified: 2006-06-10 11:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Parker 2006-06-08 23:39:39 UTC
I have tried several times, and can not get the command line installer to go past the stage selection when selecting stage 1 or 2. Selecting stage 3 seems to be no problem, it does not crash after selecting it.

Here is a copy of the Traceback after the crash:

Traceback (most recent call last):
  File "./gli-dialog.py", line 239, in ?
    gen_install_profile = Setup_InstallProfile(client_profile, install_profile, local_install, advanced_mode, skip_wizard_question, networkless)
  File "./gli-dialog.py", line 44, in __init__
    self.set_install_stage()
  File "../../GLIGenDialog.py", line 546, in set_install_stage
    mirrornames.append(item[1])
IndexError: list index out of range

I selected the "Internet enabled" option during the initial process, but I see that it says "networkless" in the Setup_InstallProfile call, which I'm not sure if it should or not. And I also did not select to skip the wizard. I tried using both Advanced and Standard modes, and both crashed at the same point.

I don't have a copy of the /tmp/installconfiguration.xml, as one was never created. I do have the copy of /tmp/clientconfiguration.xml, and will include it here:

gentoo@livecd ~ $ cat /tmp/clientconfiguration.xml
<?xml version="1.0" ?>
<client-configuration>
        <network-gateway/>
        <http-proxy/>
        <network-ip/>
        <rsync-proxy/>
        <ftp-proxy/>
        <verbose>
                True
        </verbose>
        <enable-ssh>
                False
        </enable-ssh>
        <install-mode>
                normal
        </install-mode>
        <root-mount-point>
                /mnt/gentoo
        </root-mount-point>
        <profile-uri/>
        <network-type>
                None
        </network-type>
        <network-netmask/>
        <log-file>
                /var/log/installer.log
        </log-file>
        <network-interface/>
        <root-passwd/>
        <network-dhcp-options/>
        <architecture-template>
                x86
        </architecture-template>
        <network-broadcast/>
        <interactive>
                True
        </interactive>
        <dns-servers/>
        <kernel-modules/>
</client-configuration>

Also, here is the /var/log/installer.log output:

gentoo@livecd ~ $ cat /var/log/installer.log
GLI: June 09 2006 06:05:15 - Setting root password.
GLI: June 09 2006 06:05:15 - Livecd root password set.
GLI: June 09 2006 06:05:16 - Portmap started.
GLI: June 09 2006 06:05:16 - Completed pre_install steps
GLI: June 09 2006 06:10:40 - DEBUG: secondary thread PID is 2798
GLI: June 09 2006 06:10:40 - DEBUG: beginning of load_kernel_modules()
GLI: June 09 2006 06:10:40 - DEBUG: load_kernel_modules(): modules are ()
GLI: June 09 2006 06:10:40 - DEBUG: beginning of set_proxys()
GLI: June 09 2006 06:10:40 - DEBUG: end of set_proxys()
GLI: June 09 2006 06:10:40 - Setting root password.
GLI: June 09 2006 06:10:40 - DEBUG: beginning of configure_networking()
GLI: June 09 2006 06:10:40 - DEBUG: beginning of enable_ssh()
GLI: June 09 2006 06:10:40 - DEBUG: beginning of start_portmap()
GLI: June 09 2006 06:10:40 - Portmap started.
GLI: June 09 2006 06:10:40 - Completed pre_install steps
GLI: June 09 2006 06:35:00 - DEBUG: secondary thread PID is 2988
GLI: June 09 2006 06:35:00 - DEBUG: beginning of load_kernel_modules()
GLI: June 09 2006 06:35:00 - DEBUG: load_kernel_modules(): modules are ()
GLI: June 09 2006 06:35:00 - DEBUG: beginning of set_proxys()
GLI: June 09 2006 06:35:00 - DEBUG: end of set_proxys()
GLI: June 09 2006 06:35:00 - Setting root password.
GLI: June 09 2006 06:35:00 - DEBUG: beginning of configure_networking()
GLI: June 09 2006 06:35:00 - DEBUG: beginning of enable_ssh()
GLI: June 09 2006 06:35:00 - DEBUG: beginning of start_portmap()
GLI: June 09 2006 06:35:01 - Portmap started.
GLI: June 09 2006 06:35:01 - Completed pre_install steps

I tried using the GTK installer, and it let me go past the stage selection when selecting stage 1 and 2 installs. Haven't tried to complete it yet, but will do it now.
Comment 1 Preston Cody (RETIRED) gentoo-dev 2006-06-09 03:22:25 UTC
can you attach your installprofile.xml?
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-09 05:12:35 UTC
He already said there was no installprofile.xml. It's a FE error...the install hadn't started yet.
Comment 3 Steven Parker 2006-06-09 10:50:27 UTC
The problem occurs before any installing actually happens. It comes up with the selection for which stage I want to install (stage 1, 2, 3, 3+GRP). If I select stage 1 or stage 2, it quits immediately and does not let me continue.

I started the install using the GTK installer last night before bed, and just checked it this morning. Everything seems to be working fine with that, although I was unable to select any mirror using the browse function for selecting the location of the stage tarball. I was able to enter the information manually, and the file listing did come up when I hit the Refresh button. The crash seems to only occur within the command line installer.
Comment 4 Steven Parker 2006-06-09 11:13:08 UTC
Just thought I'd add, that the graphical installer comes up with something that looks similar to the traceback from the command line installer, but it does not crash it.

Traceback (most recent call last):
  File "/root/installer/src/fe/gtk/URIBrowser.py", line 246, in host_browse_clicked
    host_combo.append_text(mirror[1])
IndexError: list index out of range

That came up in the terminal window when I clicked on the "..." button beside the address box when selecting the location of the stage tarball. I'm using the most recent updated version that updategtkfe gives as of June 8 (20060607). With this error, it does not break the installer, and I am still able to continue with the installation normally. I could still enter all the information in manually, and it found the location of the tarball without any problems. It just seems that it is unable to find them using the mirror list.
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-09 17:25:56 UTC
This has been fixed in CVS. Apparently, the format of http://www.gentoo.org/main/en/mirrors.xml changed, which threw off the parsing code. Thanks for the bug report.
Comment 6 Steven Parker 2006-06-10 01:04:26 UTC
I just tried installing using the command line installer, and selecting stage 1 or stage 2 still comes up with the same error.

I tried to reload the clientconfiguration.xml file after the crash, and it came up with a fatal error. I know this may be another bug, separate from the original one I posted, but thought it may be relavent.

GLIException.GLIException: NoSuchTypeError :FATAL: set_network_type: You can only have a static or dhcp network!

The traceback is:

Traceback (most recent call last):
  File "./gli-dialog.py", line 205, in ?
    client_profile.parse(client_config_xml_file)
  File "../../GLIClientConfiguration.py", line 95, in parse
    self._parser.parse(filename)
  File "../../SimpleXMLParser.py", line 136, in parse
    xml.sax.parse(path,self)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/__init__.py", line 31, in parse
    parser.parse(filename_or_stream)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 315, in end_element
    self._cont_handler.endElement(name)
  File "../../SimpleXMLParser.py", line 92, in endElement
    fn[0](path, self._xml_current_data, self._xml_attrs[-1])
  File "../../GLIClientConfiguration.py", line 458, in set_network_type
    raise GLIException("NoSuchTypeError", 'fatal','set_network_type',"You can only have a static or dhcp network!")

The clientconfiguration.xml file is the same as the one posted in my initial post here.

If I'm reading it correctly, it's complaining about an incorrectly set network type, which the clientconfiguration.xml file shows as "None", when I selected "Internet Enabled" during the initial setup.
Comment 7 Steven Parker 2006-06-10 01:10:40 UTC
Just had a thought. My internet connection is on eth1 due to my IEEE1394 using eth0. I'm not sure if this might have any affect on the installer or not. I doubt it would make a difference, but thought I'd mention it anyways.
Comment 8 Steven Parker 2006-06-10 01:14:27 UTC
Just tried to do a stage 3 install, and it crashed with the same IndexError message as before, when selecting the "Specify URI" option.
Comment 9 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-10 06:09:18 UTC
Did you update to CVS before trying again?
Comment 10 Steven Parker 2006-06-10 11:00:05 UTC
Yes, I updated the installer using /opt/installer/misc/updateglid, and it downloaded the new installer (20060609).