Bug 565592 - NameError: global name 'shlex' is not defined
Summary: NameError: global name 'shlex' is not defined
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Whiteboard: anaconda_trace_hash:26962a8a75d342f4a...
Depends On:
Blocks: F13Alpha, F13AlphaBlocker
TreeView+ depends on / blocked
Reported: 2010-02-15 17:43 UTC by James Laska
Modified: 2013-09-02 06:43 UTC (History)
4 users (show)

Fixed In Version: anaconda-13.27-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-02-24 18:08:21 UTC

Attachments (Terms of Use)
Attached traceback automatically from anaconda. (374.57 KB, text/plain)
2010-02-15 17:44 UTC, James Laska
no flags Details

Description James Laska 2010-02-15 17:43:56 UTC
The following was filed automatically by anaconda:
anaconda 13.26 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/security.py", line 80, in write
    args = ["--update", "--nostart"] + shlex.split(self.auth)
  File "/usr/bin/anaconda", line 658, in write
  File "/usr/lib/anaconda/backend.py", line 314, in writeConfiguration
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
  File "/usr/lib/anaconda/gui.py", line 1311, in nextClicked
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
  File "/usr/lib/anaconda/gui.py", line 1332, in handleRenderCallback
NameError: global name 'shlex' is not defined

Comment 1 James Laska 2010-02-15 17:44:00 UTC
Created attachment 394357 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2010-02-15 17:45:15 UTC
Encountered while attempting to work around bug#565306 using http://jlaska.fedorapeople.org/updates-565306.img

Comment 3 James Laska 2010-02-15 17:59:57 UTC
Applied the following patch and that seems to get past the reported issue.

--- /home/jlaska/CVS/anaconda.git/security.py	2010-02-11 19:37:20.484680932 -0500
+++ security.py	2010-02-15 12:46:46.028766397 -0500
@@ -20,6 +20,7 @@
 import iutil
+import shlex
 from flags import flags
 from pykickstart.constants import *

Updated updates.img available for testing at http://jlaska.fedorapeople.org/updates-565592.img

Comment 4 James Laska 2010-02-24 18:08:21 UTC
Fixed in anaconda-13.29

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