Wednesday, April 3, 2019

Re: Vim powerline plugin error

On Wednesday, April 3, 2019 at 12:54:40 AM UTC-5, Arup Rakshit wrote:
> Traceback (most recent call last):
> File "<string>", line 9, in <module>
> File "/Users/aruprakshit/.vim/bundle/powerline/powerline/__init__.py", line 11, in <module>
> from powerline.lib.config import ConfigLoader
> File "/Users/aruprakshit/.vim/bundle/powerline/powerline/lib/config.py", line 11, in <module>
> from powerline.lib.threaded import MultiRunnedThread
> File "/Users/aruprakshit/.vim/bundle/powerline/powerline/lib/threaded.py", line 7, in <module>
> from powerline.lib.monotonic import monotonic
> File "/Users/aruprakshit/.vim/bundle/powerline/powerline/lib/monotonic.py", line 19, in <module>
> import ctypes
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 555, in <module>
> _reset_cache()
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 279, in _reset_cache
> CFUNCTYPE(c_int)(lambda: None)
> MemoryError
> An error occurred while importing powerline module.
> This could be caused by invalid sys.path setting,
> or by an incompatible Python version (powerline requires
> Python 2.6, 2.7 or 3.2 and later to work). Please consult
> the troubleshooting section in the documentation for
> possible solutions.
> Error detected while processing /Users/aruprakshit/.vim/bundle/powerline/powerline/bindings/vim/plugin/powerline.vim:
> line 157:
> Traceback (most recent call last):
> File "<string>", line 53, in <module>
> File "<string>", line 9, in powerline_troubleshoot
> File "/Users/aruprakshit/.vim/bundle/powerline/powerline/__init__.py", line 11, in <module>
> from powerline.lib.config import ConfigLoader
> File "/Users/aruprakshit/.vim/bundle/powerline/powerline/lib/config.py", line 11, in <module>
> from powerline.lib.threaded import MultiRunnedThread
> File "/Users/aruprakshit/.vim/bundle/powerline/powerline/lib/threaded.py", line 7, in <module>
> from powerline.lib.monotonic import monotonic
> File "/Users/aruprakshit/.vim/bundle/powerline/powerline/lib/monotonic.py", line 19, in <module>
> import ctypes
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 555, in <module>
> _reset_cache()
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 279, in _reset_cache
> CFUNCTYPE(c_int)(lambda: None)
> MemoryError


There is a solution that is offered here:

https://stackoverflow.com/questions/5914673/python-ctypes-memoryerror-in-fcgi-process-from-pil-library

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment