Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110648 - installer-dialog fails when asking for root password
Summary: installer-dialog fails when asking for root password
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 14:32 UTC by Frido Ferdinand
Modified: 2006-03-24 13:46 UTC (History)
0 users

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


Attachments
clientconfig (client.xml,691 bytes, text/plain)
2005-10-28 00:51 UTC, Frido Ferdinand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frido Ferdinand 2005-10-27 14:32:53 UTC
it fails on dialog/dialogfe.py line 700: code is referenced before assignments,
probably the two passwordbox calls need should be put in front of the while
statements.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2005-10-27 15:26:14 UTC
This bug is fixed in CVS already. You can use the CVS version of the installer
by following the instructions at
<http://www.gentoo.org/proj/en/releng/installer/faq.xml#newerversion>. We will
also be releasing a new version along with a new LiveCD soon.
Comment 2 Frido Ferdinand 2005-10-27 15:41:52 UTC
both in the latest snapshots and from what i can see in webcvs those errors
arn't fixed
Comment 3 Preston Cody (RETIRED) gentoo-dev 2005-10-27 16:37:35 UTC
if it really is not fixed as you claim, please provide us with the
installer.log, compile_output, and XML files for your install_profile as
described in the project FAQ.  that will help us debug the problem.
Comment 4 Frido Ferdinand 2005-10-28 00:51:54 UTC
Created attachment 71616 [details]
clientconfig
Comment 5 Frido Ferdinand 2005-10-28 00:55:50 UTC
current computer: yes
clietcontroller: yes
previous controllerconfig: yes (client.xml)

previous installerprofile: no

goto 15: Root password:

Traceback (most recent call last):
  File "/opt/installer/fe/dialog/dialogfe.py", line 828, in ?
    item['fn']()
  File "/opt/installer/fe/dialog/dialogfe.py", line 526, in set_root_password
    while (code != DLG_OK):
UnboundLocalError: local variable 'code' referenced before assignment

installer.log:

GLI: October 28 2005 10:46:08 - Completed pre_install steps

From looking at webcvs these where introduced in version, 1.61. If you can confirm this i'll add a patch.
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2005-10-28 05:08:35 UTC
dialogfe has been deprecated. The last time it was touched was June, prior to
the release of 0.1. The replacement is gli-dialog.py in the same directory.
Comment 7 Frido Ferdinand 2005-10-28 05:20:17 UTC
ah,that explains a lot :) I used the installer-dialog script which pointed to the old version
Comment 8 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:35 UTC
Moving to Release Media/Installer.