I did "emerge -up world" last night, and python-2.4 was installed. /usr/bin/python now points to python2.4. When starting up Emacs, I got the following message: """ An error has occurred while loading `/home/max/.emacs': error: "Pymacs loading pycomplete...failed" To ensure normal operation, you should investigate the cause of the error in your initialization file and remove it. Start Emacs with the `--debug-init' option to view a complete error backtrace """ I re-emerged pymacs, thinking that that might fix the problem. It doesn't. (I now have a Pymacs directory in /usr/lib/python2.3/site-packages, and one in /usr/lib/python2.4/site-packages.) When I re-symlink /usr/bin/python to point to python2.3 instead, everything works. I don't want to do that permanently, because I think it might break something. emacs --debug-init produces the following: Debugger entered--Lisp error: (error "Pymacs loading pycomplete...failed") signal(error ("Pymacs loading pycomplete...failed")) error("Pymacs loading %s...failed" "pycomplete") pymacs-load("pycomplete") byte-code("
I did "emerge -up world" last night, and python-2.4 was installed. /usr/bin/python now points to python2.4. When starting up Emacs, I got the following message: """ An error has occurred while loading `/home/max/.emacs': error: "Pymacs loading pycomplete...failed" To ensure normal operation, you should investigate the cause of the error in your initialization file and remove it. Start Emacs with the `--debug-init' option to view a complete error backtrace """ I re-emerged pymacs, thinking that that might fix the problem. It doesn't. (I now have a Pymacs directory in /usr/lib/python2.3/site-packages, and one in /usr/lib/python2.4/site-packages.) When I re-symlink /usr/bin/python to point to python2.3 instead, everything works. I don't want to do that permanently, because I think it might break something. emacs --debug-init produces the following: Debugger entered--Lisp error: (error "Pymacs loading pycomplete...failed") signal(error ("Pymacs loading pycomplete...failed")) error("Pymacs loading %s...failed" "pycomplete") pymacs-load("pycomplete") byte-code("ÀÁ!~HÀÂ!~HÃÄ!~G" [require pymacs python-mode pymacs-load "pycomplete"] 2) require(pycomplete) eval-buffer(#<buffer *load*<2>> nil "/usr/share/emacs/site-lisp/site-gentoo.el" nil t) load-with-code-conversion("/usr/share/emacs/site-lisp/site-gentoo.el" "/usr/share/emacs/site-lisp/site-gentoo.el" nil nil) load("/usr/share/emacs/site-lisp/site-gentoo.el") eval-buffer(#<buffer *load*> nil "~/.emacs" nil t) load-with-code-conversion("/home/max/.emacs" "~/.emacs" t t) load("~/.emacs" t t) #[nil "^H~E~W^@ Æ=~C^Q^@Ç^HÈQ~B5^@ É=~C'^@ÊÇËÌ#~C#^@Í~B5^@Î~B5^@ Ï=~C1^@Ð~B5^@Ç^HÑQ^ZÒ^SÓ\nÒ~I#~H^KÒ=~CF^@Ë^S^K~C~H^@Ô^K!Õ~Z~C~H^@Ö^K!~I^\×P^]Ø^M!~Cd^@^M~Bo^@Ø\f!~Cn^@\f~Bo^@Ë~I^T~C~G^@Ù\f^K\"~C~E^@ÚÛ\f^K#~HÜÝ!~H\f^S*^N^_~F~V^@Ë^^ ÓÞÒ~I#))~G" [init-file-user system-type user-init-file-1 user-init-file source alt ms-dos "~" "/_emacs" windows-nt directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "~/_emacs" vax-vms "sys$login:.emacs" "/.emacs" t load file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default" inhibit-default-init inhibit-startup-message] 5]() command-line() normal-top-level() Reproducible: Always Steps to Reproduce: 1. Install python-2.4 (slotted) 2. (optional) re-emerge pymacs 3. start Emacs Actual Results: See Emacs startup error message above. Expected Results: Clean startup. GNU Emacs 21.4.1 app-emacs/pymacs 0.22
I checked, pycomplete is part of python-mode. It turns out python-mode modules were still in /usr/lib/python2.3. A re-emerge fixed that.