Hide Forgot
Description of problem: Python Interface crashes vim Version-Release number of selected component (if applicable): 7.3.081-1 How reproducible: Always Steps to Reproduce: 1. vim -u NONE 2. :py print "Hello" 3. Actual results: crash of vim (terminal needs te be reset after this crash): Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 62, in <module> import os File "/usr/lib/python2.7/os.py", line 398, in <module> import UserDict File "/usr/lib/python2.7/UserDict.py", line 83, in <module> import _abcoll File "/usr/lib/python2.7/_abcoll.py", line 11, in <module> from abc import ABCMeta, abstractmethod File "/usr/lib/python2.7/abc.py", line 8, in <module> from _weakrefset import WeakSet File "/usr/lib/python2.7/_weakrefset.py", line 5, in <module> from _weakref import ref ImportError: No module named _weakref Expected results: No crash Additional info: This could be related to this recent change in the python package: * Thu Dec 23 2010 David Malcolm <dmalcolm> - 2.7.1-1 [...] - drop _weakref.so from manifest (_weakref became a core module in r84230) I haven't yet been able to pinpoint the source of this problem, so this is just the only clue I have found so far.
Installed were python-2.7.1-5.fc15, python-libs-2.7.1-5.fc15, and friends. Manually installing (downgrading) python-2.7-13.fc15, python-libs-2.7-13.fc15, etc. solves this crash. Shall I move to component python?
0) Rebuilding vim locally, against the current python packages (ie, python-2.7.1-5) solved this problem. 1) The solution seems to be: ship a vim rebuilt against python-2.7.1.
I've built vim-7.3.107-1.fc15, so the update should take care of this bug, too. Please reopen if the problem still exists.