TaDaa / vimade

An eye friendly plugin that fades your inactive buffers and preserves your syntax highlighting!
MIT License
486 stars 8 forks source link

problem working with git commits #4

Closed kujohn closed 5 years ago

kujohn commented 5 years ago

When doing a git commit, vim is launched and vimade is causing a bunch of python issues:

Error detected while processing function vimade#UnfadeCurrentBuffer:
line    1:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/abc/.vim/plugged/vimade/lib/vimade.py", line 3, in <module>
    import math
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so, 2): no suitable image found.  Did find:
^I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so: code signature in (/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.                                
Error detected while processing function vimade#Init:
line    2:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function vimade#Init[2]..vimade#CheckWindows:
line    4:
Traceback (most recent call last):
TaDaa commented 5 years ago

Bizarro that its complaining about the signature on the math module...are you running MacOS Mojave by chance -- seem to be significant number of these signature complaints.

What happens if you run "vim" in the terminal and not through git commit, does it work?

Have you tried reinstalling python2.7 or using python3?

kujohn commented 5 years ago

Yup, I am on Mojave. Running vim works fine. I'll give python3 a shot.

TaDaa commented 5 years ago

Any luck with reinstalling python2 or python3?

TaDaa commented 5 years ago

Closing for now, but feel free to reopen, I can help you work through possibly removing the libs that are complained about (as long as it’s not all of them)

kujohn commented 5 years ago

Tried uninstalling Python 2/3 and then reinstalling, still no dice... 😢

~/src/miyagi-frontend/.git/COMMIT_EDITMSG" 7L, 214C
Error detected while processing function vimade#UnfadeCurrentBuffer:
line    1:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/jku/.vim/plugged/vimade/lib/vimade.py", line 3, in <module>
    import math
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so, 2): no suitable image f
ound.  Did find:
^I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so: code signature in (/Library/Frameworks/Py
thon.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so) not valid for use in process using Library Validation: mapped fil
e has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
Error detected while processing function vimade#Init:
line    2:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function vimade#Init[2]..vimade#CheckWindows:
line    4:
Traceback (most recent call last):