Bug 740681
Summary: | AttributeError: 'module' object has no attribute 'readlink' | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> | ||||
Component: | anaconda | Assignee: | David Lehman <dlehman> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | anaconda-maint-list, jonathan, jsmith.fedora, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | abrt_hash:9c834c42faba21995dc77538a8e82f9c3b8b4856843b5a14c6529ec9110ea3b5 | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-09-23 18:39:45 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: |
|
Description
Adam Williamson
2011-09-22 22:29:42 UTC
Created attachment 524506 [details]
File: anaconda-tb-w4B92P
Hit this while testing a live install with a random USB stick attached to the machine. Test machine was KVM VM, with a host USB stick attached. Hit this while using http://dlehman.fedorapeople.org/updates-738964.4.img to see if it fixes #738964 in the case where there's a random unused USB stick plugged into the machine during install. root_path = os.path.readlink(dev_live) should be os.readlink() This is not yet commited in the repo, so I think it's just in the updates.img New image that should fix this: http://dlehman.fedorapeople.org/updates-738964.5.img I get the following syntax error with the .5.img image: [root@cheapseats tmp]# liveinst updates=http://dlehman.fedorapeople.org/updates-738964.5.img % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 130k 100 130k 0 0 65646 0 0:00:02 0:00:02 --:--:-- 78408 1193 blocks localuser:root being added to access control list Traceback (most recent call last): File "/usr/sbin/anaconda", line 582, in <module> from pyanaconda import kickstart File "/tmp/updates/pyanaconda/kickstart.py", line 21, in <module> from storage.deviceaction import * File "/tmp/updates/pyanaconda/storage/__init__.py", line 42, in <module> from devicetree import DeviceTree File "/tmp/updates/pyanaconda/storage/devicetree.py", line 1041 root_path = os.path.realpath(value.split(":", 1)[1])) ^ SyntaxError: invalid syntax closing as this ought to be fixed in -6. |