Pyflakes error in MacVim #52

Open
dhrod5 opened this Issue Jan 1, 2012 · 8 comments

5 participants

@dhrod5

Having trouble getting this to work on my mac. Built macvim with the proper version of python, but now when i have a syntax or other error in a python file this error pops up

Error detected while processing function 29_RunPyflakes:
line 45:

E15: Invalid expression: <main.loc object at 0x102dd5850>

Press ENTER or type command to continue

What am i missing?

Thanks,
Dave

@dasmith

Same error here:

Error detected while processing function <SNR>106_RunPyflakes:
line   45:
E15: Invalid expression: <__main__.loc object at 0x11463bdd0>
Press ENTER or type command to continue
Error detected while processing function <SNR>106_RunPyflakes:
line   45:
E15: Invalid expression: <__main__.loc object at 0x11463bdd0>
Press ENTER or type command to continue
Error detected while processing function <SNR>106_RunPyflakes:
line   45:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function <SNR>106_RunPyflakes:
line   45:
  File "<string>", line 3, in <module>
Press ENTER or type command to continue
Error detected while processing function <SNR>106_RunPyflakes:
line   45:
vim.error   
@fonnesbeck

Any progress on this error? It makes pyflakes-vim pretty unusable, as it pops up regularly.

@dhrod5
@fonnesbeck

I compiled MacVim with python support myself, against 2.7.1 that ships with Lion. Does it require ruby support as well, if you are not coding ruby?

@dhrod5
@fonnesbeck

No, I just built it again with python and ruby interpreters and --with-features=huge, but the errors still pop up. I did not use brew, but pulled the most recent source from GitHub.

@spahl

This is not specific to macvim. I have the same problem with vim 7.3.495 and python 2.7.3 on Linux

@ruhan

I have a similar problem in Ubuntu. I clone this repos, install again (I installed before with pip) and it works.

@MiCHiLU MiCHiLU added a commit to MiCHiLU/pyflakes-vim that referenced this issue Sep 17, 2012
@MiCHiLU MiCHiLU Fix #52 Pyflakes error in MacVim ce9499f
@avelino avelino added a commit to avelino/pyflakes-vim that referenced this issue Jan 18, 2013
@avelino avelino Fix #52 Pyflakes error in MacVim 2a81558
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment