Bug 487679 - ImportError: No module named cachedlist
ImportError: No module named cachedlist
Product: Fedora
Classification: Fedora
Component: pyparted (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
Depends On:
  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:
Last Closed: 2009-02-27 12:35:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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, 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.

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.