Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 120883

Summary: getmail-4.4.4: fails to start ("ImportError: No module named getmailcore")
Product: Gentoo Linux Reporter: Jan Minar <jjminar+bgo>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED CANTFIX    
Severity: major    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Minar 2006-01-29 16:23:30 UTC
getmail(1) fails to start:

$ getmail
ImportError:  No module named getmailcore

I've done ``emerge world'' yesterday, FWIW.

I've changed the getmail's shebang line from ``#!/usr/bin/python'' to ``#!/usr/bin/python2.3'', and it works again.  eix(1) says dev-lang/python has versions 2.3.5-r2 and 2.4.2 installed.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2006-01-31 01:25:44 UTC
so i guess you've installed/updated getmail before installing python-2.4.2.

python ebuild should have warned you to run `/usr/sbin/python-updater` after upgrading python.

To solve the problem reemerge getmail!

See where getmailcore is (before and after reemerging):
`equery files getmail | grep python` or `qlist getmail | grep python`