Bug 971532
| Summary: | NameError: global name 'err' is not defined | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthew Miller <mattdm> | ||||||||||||||||||||||||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||||||||||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||
| Version: | 19 | CC: | dshea, g.kaviyarasu, jonathan, mark.langsdorf, mkolman, sbueno, vanmeeuwen+fedora | ||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:740c52782b1fec7fcab08e2b537e2909e82975f140e8ca172f1de01a95759b91 | ||||||||||||||||||||||||||||
| Fixed In Version: | anaconda-20.6-1 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||
| Last Closed: | 2014-02-21 19:17:35 UTC | Type: | --- | ||||||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||
Created attachment 757810 [details]
File: anaconda-tb
Created attachment 757811 [details]
File: anaconda.log
Created attachment 757812 [details]
File: backtrace
Created attachment 757813 [details]
File: environ
Created attachment 757814 [details]
File: ifcfg.log
Created attachment 757815 [details]
File: ks.cfg
Created attachment 757816 [details]
File: lsblk_output
Created attachment 757817 [details]
File: nmcli_dev_list
Created attachment 757818 [details]
File: packaging.log
Created attachment 757819 [details]
File: program.log
Created attachment 757820 [details]
File: storage.log
Created attachment 757821 [details]
File: syslog
installing f19 for ARM on a Calxeda system using a kickstart file. I'm using the command "bootloader --extlinux" to install the bootloader. Calxeda systems are headless so I'm not surprised that X failed but it shouldn't stop the install. cmdline: /usr/bin/python /sbin/anaconda cmdline_file: ksdevice=bootif lang= console=ttyAMA0,115200 earlyprintk locale=en_US text priority=critical ip=eth0:dhcp debug kssendmac ks=http://10.20.0.21/cblr/svc/op/ks/profile/fedora-19-highbank fixrtc vram=48M omapfb.vram=0:24M hashmarkername: anaconda kernel: 3.9.5-301.fc19.armv7hl package: anaconda-19.30.13-1 product: Fedora reason: NameError: global name 'err' is not defined release: Cannot get release name. version: 19 Can you please try a tree with the upcoming anaconda-20.6? I think I fixed this as part of a mass patch wave dealing with problems pylint found. Thanks. |
Description of problem: I had --erroronfail in the kickstart, and an fstrim operation apparently fails. That's fine, but I get this traceback instead of an actual error as expected. The following was filed automatically by anaconda: anaconda 19.30-1 exception report Traceback (most recent call first): File "/tmp/updates/pyanaconda/kickstart.py", line 126, in run errorHandler.cb(ScriptError(), self.lineno, err) File "/tmp/updates/pyanaconda/kickstart.py", line 1614, in <lambda> map (lambda s: s.run(ROOT_PATH), postScripts) File "/tmp/updates/pyanaconda/kickstart.py", line 1614, in runPostScripts map (lambda s: s.run(ROOT_PATH), postScripts) File "/tmp/updates/pyanaconda/install.py", line 97, in doConfiguration runPostScripts(ksdata.scripts) File "/usr/lib64/python2.7/threading.py", line 766, in run self.__target(*self.__args, **self.__kwargs) File "/tmp/updates/pyanaconda/threads.py", line 168, in run threading.Thread.run(self, *args, **kwargs) NameError: global name 'err' is not defined Version-Release number of selected component: anaconda-19.30-1 Additional info: reporter: libreport-2.1.4 cmdline: /usr/bin/python /sbin/anaconda cmdline_file: method=http://linux.seas.harvard.edu/fedora/linux/releases/test/19-Beta/Fedora/x86_64/os/ ks=http://mattdm.fedorapeople.org/extlinux.ks updates=http://mattdm.fedorapeople.org/updates.img executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.9.2-301.fc19.x86_64 product: Fedora release: Cannot get release name. type: anaconda version: 19-Beta Truncated backtrace: Traceback (most recent call last): File "/tmp/updates/pyanaconda/threads.py", line 168, in run threading.Thread.run(self, *args, **kwargs) File "/usr/lib64/python2.7/threading.py", line 766, in run self.__target(*self.__args, **self.__kwargs) File "/tmp/updates/pyanaconda/install.py", line 97, in doConfiguration runPostScripts(ksdata.scripts) File "/tmp/updates/pyanaconda/kickstart.py", line 1614, in runPostScripts map (lambda s: s.run(ROOT_PATH), postScripts) File "/tmp/updates/pyanaconda/kickstart.py", line 1614, in <lambda> map (lambda s: s.run(ROOT_PATH), postScripts) File "/tmp/updates/pyanaconda/kickstart.py", line 126, in run errorHandler.cb(ScriptError(), self.lineno, err) NameError: global name 'err' is not defined