Package: vim-ultisnips
Version: 3.1-3.1
Severity: normal

Dear Maintainer,

starting vim as root without .vimrc and .vim/ results in following errors:

Error detected while processing TextChangedI Autocommands for "*"..script
/var/lib/vim/addons/autoload/UltiSnips.vim:
line   15:
Traceback (most recent call last):

Error detected while processing TextChangedI Autocommands for "*"..script
/var/lib/vim/addons/autoload/UltiSnips.vim:
line   15:
  File "<string>", line 1, in <module>

Error detected while processing TextChangedI Autocommands for "*"..script
/var/lib/vim/addons/autoload/UltiSnips.vim:
line   15:
ImportError: cannot import name 'UltiSnips_Manager' from 'UltiSnips' (unknown
location)

Error detected while processing TextChangedI Autocommands for "*"..function
UltiSnips#TrackChange:
line    1:
Traceback (most recent call last):

Error detected while processing TextChangedI Autocommands for "*"..function
UltiSnips#TrackChange:
line    1:
  File "<string>", line 1, in <module>

Error detected while processing TextChangedI Autocommands for "*"..function
UltiSnips#TrackChange:
line    1:
NameError: name 'UltiSnips_Manager' is not defined


/var/lib/vim/addons/autoload/UltiSnips.vim
line 15:
exec g:_uspy "from UltiSnips import UltiSnips_Manager"


If .vimrc and .vim/ are copied from the user home directory to /root/, then vim
and UltiSnips are working without issues.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vim-ultisnips depends on:
ii  python3                 3.9.1-1
ii  vim-addon-manager       0.5.10
ii  vim-gtk3 [vim-python3]  2:8.2.2434-1
ii  vim-nox [vim-python3]   2:8.2.2434-1

Versions of packages vim-ultisnips recommends:
ii  vim-snippets  1.0.0-7

vim-ultisnips suggests no packages.

Reply via email to