Excerpts from Senthil Kumaran's message of Mon Apr 16 14:55:40 +0200 2012: > 1. I compiled python 2.7.3 from source. > 2. Compiled vim against this custom python interpter > > Now there are certain plugins which embed Python like this: > > python <<EOF > # -*- coding: utf-8 -*- > import urllib , urllib2 , vim , xml.dom.minidom , xmlrpclib , sys , string , > re > When loading those plugins - this error is thrown. You're not accurately describing what might be causing the problem. In python you call it "loading modules" rather than "plugins". Thus try :py import urllib2 (and repeat) to find out which python module is causing trouble. urandom could be a unix specific random generator module using kernels /dev/urandom special device.
Thus there are two possible fixes: a) try to compile python with a different python version (or try to compile that python with urandom support if possible, watch configuration output) b) replace urandom by another library / implementation to gather random data. Maybe a python guru knows more details ? My python 2.7.2, and 2.6.7 succeed on "from os import urandom". Because you compiled python from source I think you have to reconfigure *and* read the configure output carefully. Marc Weber -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
