Package: vim-ultisnips
Version: 3.0-1
Severity: wishlist

Dear Maintainer,

I have a prblem with vim-ultisnips. I'd like to know how to debug with
python program. I'm not familiar to programming python with vim.
Do you know "~/.vim/pythonx/UltiSnips/debug.py". it seems to use
debugging with this.

Background
----------

I have two jessie machines. In a jessie machine (Hostname is Arkat),
vim-ultisnips works fine.
In the other mahine (Hostname is Yelona), bbox (which is in all.snippets)
does not works. It give me bellow messages:

I want to know What is the difference between two hosts. That is why,
I'd like to know how to debug ultisnips.

Yes, I have already googled. And checked /usr/share/doc/vim-ultisnips/.
I have not find any answer yet.

|   An error occured. This is either a bug in UltiSnips or a bug in a
|   snippet definition. If you think this is a bug, please report it to
|   https://github.com/SirVer/ultisnips/issues/new.

|   Following is the full stack trace:
|   Traceback (most recent call last):
|     File "/home/yabuki/.vim/pythonx/UltiSnips/snippet_manager.py", line 53, 
in wrapper
|       return func(self, *args, **kwds)
|     File "/home/yabuki/.vim/pythonx/UltiSnips/snippet_manager.py", line 117, 
in expand
|       if not self._try_expand():
|     File "/home/yabuki/.vim/pythonx/UltiSnips/snippet_manager.py", line 520, 
in _try_expand
|       self._do_snippet(snippet, before)
|     File "/home/yabuki/.vim/pythonx/UltiSnips/snippet_manager.py", line 495, 
in _do_snippet
|       None, start, end)
|     File "/home/yabuki/.vim/pythonx/UltiSnips/snippet/definition/_base.py", 
line 222, in launch
|       snippet_instance.update_textobjects()
|     File 
"/home/yabuki/.vim/pythonx/UltiSnips/text_objects/_snippet_instance.py", line 
67, in update_textobjects
|       if obj._update(done):
|     File "/home/yabuki/.vim/pythonx/UltiSnips/text_objects/_python_code.py", 
line 199, in _update
|       exec(code, self._locals)  # pylint:disable=exec-used
|     File "<string>", line 2, in <module>
|     File "<string>", line 51, in make_box
|     File "<string>", line 47, in _get_comment_format
|   IndexError: list index out of range

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim-ultisnips depends on:
ii  python                2.7.9-1
ii  vim-nox [vim-python]  2:7.4.488-7+deb8u3

Versions of packages vim-ultisnips recommends:
ii  vim-addon-manager  0.5.3
ii  vim-snippets       1.0.0-3

vim-ultisnips suggests no packages.

-- no debconf information


--
====+====+====+====+====+====+====+====+====+====+====+====+====+====+
Yukiharu Yabuki (矢吹幸治)                      I use Debian GNU/Linux
mail: yab...@netfort.gr.jp
クレクレタコラは好き / クレクレタコだはイヤ
====+====+====+====+====+====+====+====+====+====+====+====+====+====+

Attachment: pgpaw60Peh9uR.pgp
Description: PGP signature

Reply via email to