Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1012537: vim-addon-manager: Error when processing 02tlib plug in

683 views
Skip to first unread message

Tim McConnell

unread,
Jun 8, 2022, 4:30:03 PM6/8/22
to
Package: vim-addon-manager
Version: 0.5.10
Severity: normal
X-Debbugs-Cc: tmccon...@gmail.com

Dear Maintainer,

What led up to the situation? Unknown, error just started appearing.

What exactly did you do (or not do) that was effective (or ineffective)?
Unknown if an update caused this.

What was the outcome of this action? when I try to launch VIM or GVIM, etc. I
get this error(?) every time:
Error detected while processing /var/lib/vim/addons/plugin/02tlib.vim:
line 77: E1208: -complete used without allowing argumentsPress ENTER or type
command to continue

What outcome did you expect instead?
No errors. I can still use VIM and it's other packages if I hit ENTER but it's
annoying to have to do it every time and I can't find the add on in the path
shown.



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

Kernel: Linux 5.17.0-1-rt-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vim-addon-manager depends on:
ii ruby 1:3.0+1
ii vim-common 2:8.2.4793-1

Versions of packages vim-addon-manager recommends:
ii vim 2:8.2.4793-1
ii vim-gtk3 [vim] 2:8.2.4793-1
ii vim-motif [vim] 2:8.2.4793-1
ii vim-nox [vim] 2:8.2.4793-1

vim-addon-manager suggests no packages.

-- no debconf information

James McCoy

unread,
Jun 8, 2022, 6:00:04 PM6/8/22
to
Control: reassign -1 vim-tlib
Control: forcemerge 996477 -1

On Wed, Jun 08, 2022 at 03:25:42PM -0500, Tim McConnell wrote:
> What led up to the situation? Unknown, error just started appearing.
>
> What exactly did you do (or not do) that was effective (or ineffective)?
> Unknown if an update caused this.
>
> What was the outcome of this action? when I try to launch VIM or GVIM, etc. I
> get this error(?) every time:
> Error detected while processing /var/lib/vim/addons/plugin/02tlib.vim:
> line 77: E1208: -complete used without allowing argumentsPress ENTER or type
> command to continue

The error is being reported from /var/lib/vim/addons/plugin/02tlib.vim.
The problem is in the vim-tlib package, not vim-addon-manager.

The issue is that Vim became more strict about how user commands are
defined and this plugin is violating that. It's defining a command that
doesn't accept any arguments (-nargs=0) but is then specifying a
mechanism to define completions for arguments to the command
(-complete=command).

Reassigning to the vim-tlib package and marking it as a duplicate of the
existing issue.

Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
0 new messages