FS#28851 - [vim-ultisnips] UltiSnips requires py >= 2.6 or any py3

Attached to Project: Community Packages
Opened by zozi56 (zozi56) - Saturday, 10 March 2012, 12:29 GMT
Last edited by Lukas Fleischer (lfleischer) - Monday, 19 March 2012, 01:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

When starting vim with the UltiSnips plugin installed, the following error appears:

UltiSnips requires py >= 2.6 or any py3

After this UltiSnips doesn't work, of course. The help page of UltiSnips says:
This plugin needs Python support >= 2.6 compiled into Vim.


Additional info:
* package version(s):
vim 7.3.434-1
vim-ultisnips 2.1-1
* config and/or log files etc.


Steps to reproduce:
* install vim and the vim-ultisnips plugin
* start vim
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Monday, 19 March 2012, 01:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.1-2.
Comment by Lukas Fleischer (lfleischer) - Sunday, 11 March 2012, 17:03 GMT
The problem is that our official vim package isn't built with Python support, while the vim(1) binary included in our gvim package is. There's two possible options to solve this:

* Recompile vim (e.g. using ABS) and enable Python support.
* Install gvim and use the vim(1) binary that it provides.

I'll talk to Eric later and think about the best solution here... Maybe, vim-ultisnips should depend on gvim instead of vim, even though it doesn't really depend on the GUI version...
Comment by zozi56 (zozi56) - Sunday, 11 March 2012, 17:36 GMT
What would be the drawbacks of the first option?
Comment by Lukas Fleischer (lfleischer) - Sunday, 11 March 2012, 18:06 GMT
You will have to recompile vim manually using ABS which might take some time.

Loading...