Bug 487679 - ImportError: No module named cachedlist
ImportError: No module named cachedlist
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pyparted (Show other bugs)
rawhide
All Linux
high Severity high
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-27 08:10 EST by James Laska
Modified: 2013-09-02 02:31 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-02-27 12:35:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Add cachedlist.py to the list of python source files. (837 bytes, patch)
2009-02-27 09:37 EST, Jeffrey C. Ollie
no flags Details | Diff

  None (edit)
Description James Laska 2009-02-27 08:10:39 EST
Running anaconda 11.5.0.23, the Fedora system installer - please wait...       
Traceback (most recent call last):
  File "/usr/bin/anaconda", line 622, in <module>
    from exception import handleException
  File "/usr/lib/anaconda/exception.py", line 38, in <module>
    import partedUtils
  File "/usr/lib/anaconda/partedUtils.py", line 29, in <module>
    import parted
  File "/usr/lib64/python2.6/site-packages/parted/__init__.py", line 46, in <module>
    from disk import Disk
  File "/usr/lib64/python2.6/site-packages/parted/disk.py", line 27, in <module>
    from cachedlist import CachedList
ImportError: No module named cachedlist
install exited abnormally [1/1] 
disabling swap...
unmounting filesystems...
	/mnt/runtime done
	disabling /dev/loop0 LOOP_CLR_FD failed: 6
	/proc done
	/dev/pts done
	/sys done
	/selinux done
sending termination signals...done
sending kill signals...done
you may safely reboot your system
Comment 1 Jeffrey C. Ollie 2009-02-27 09:08:27 EST
I'm seeing this as well.
Comment 2 Jeffrey C. Ollie 2009-02-27 09:36:10 EST
This actually appears to be a bug in pyparted.  The cachedlist implementation was added but the source file wasn't listed in src/parted/Makefile.am so it wasn't included in the 2.0.2 tarball.  The fix appears to be pretty easy, I'll attach a patch.

http://git.fedorahosted.org/git/?p=pyparted.git;a=commitdiff;h=5455a0a1b245961d1908db24f9766e77bdfae18b
http://git.fedorahosted.org/git/?p=pyparted.git;a=commitdiff;h=be7e48783072d9f870c6cee4313406329b280318
Comment 3 Jeffrey C. Ollie 2009-02-27 09:37:03 EST
Created attachment 333480 [details]
Add cachedlist.py to the list of python source files.
Comment 4 Chris Lumens 2009-02-27 12:35:16 EST
This will be fixed in the next build of anaconda.  Thanks for the bug report.

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