You are not logged in.
Hello. Since the recent upgrade to Vim 7.3.495, I cannot invoke python from
Vim. In 7.3.475, everything worked fine. Here is a minimal example. From
within vim,
:python print "hello"
Results in:
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault
I reverted to 475, and all is well. Anyway, before I make a fuss, can anyone
else confirm this issue with the latest Vim +python setup? Just wanted to
make sure it wasn't something me-specific. Thanks.
Offline
I hadn't noticed yet, but it doesn't work on my system either . I just get a segmentation fault.
[edit]On my laptop it works without problems[/edit]
Last edited by FreeTheBee (2012-04-13 07:13:17)
Offline
I can confirm - it segfaults on 'print', but python code that doesn't print anything seems to work, e.g.:
:python vim.current.buffer.append('test')
appends 'test' to current buffer.
upd: the same version compiled via ABS also didn't work.
Last edited by Atragor (2012-04-13 07:26:58)
Offline
Cool. Thanks guys. I'll find the right place and submit a bug report then.
Offline
Could you post a link to the bug report if/after you submit it? I would like to track progress on this.
I debug PHP with vim and xdebug and I hate to keep vim in IgnorePkg in pacman.conf.
EDIT: Found it on VIM mailing list.
Last edited by nineinchnick (2012-04-13 12:59:28)
Offline
Could you post a link to the bug report if/after you submit it? I would like to track progress on this.
I debug PHP with vim and xdebug and I hate to keep vim in IgnorePkg in pacman.conf.EDIT: Found it on VIM mailing list.
For others: https://groups.google.com/d/topic/vim_d … discussion
Offline
Could you post a link to the bug report if/after you submit it?
Sorry you had to dig it up on your own- I meant to post it last night.
Offline
I am having the same issue on x86_64. Using the old 475 package works. However, recompiling 475 from source has the same issue as 495.
Offline
I compiled vim with python support yesterday and couldn't for the love of jebus understand why it was crashing when using python. This explains it all. I'm just a little bit curious, how do you archers install vim with python support?
Offline
I install vim with python support by " pacman -S gvim"
I compiled vim with python support yesterday and couldn't for the love of jebus understand why it was crashing when using python. This explains it all. I'm just a little bit curious, how do you archers install vim with python support?
Offline
I figured out a way to avoid the segfault, you will have to rebuild vim from abs and apply the following patch to the PKGBUILD:
https://gist.github.com/2423572
I'm guessing this has something to do with arch's and vim's buildflags somehow not playing well together.
Offline
I can't invoke python at all, it says "Sorry, the command is not available in this version".
Uhm...?
Last edited by Awebb (2012-04-19 20:32:18)
Offline
You need to use gvim. vim doesn't have python (or any other interpreter support except perl).
edit: I meant the package gvim
Last edited by tomd123 (2012-04-19 21:15:57)
Offline
Even better, remove -O2 from CFLAGS and the crash doesn't happen. I'm guessing this has something to do with gcc 4.7.0 possibly
Edit: crashes with -O1 also..
Last edited by tomd123 (2012-04-19 23:16:18)
Offline
I figured out a way to avoid the segfault, you will have to rebuild vim from abs and apply the following patch to the PKGBUILD:
https://gist.github.com/2423572I'm guessing this has something to do with arch's and vim's buildflags somehow not playing well together.
This works with patch 496 and fixes python 3 support for me. Thanks a lot.
Offline
Today's upgrade to vim 7.3.495-2 fixed this issue for me.
Offline