Bug#731191: vim-addon-manager: vam disable plugin generate trash in ~/.vim/plugin/000-vim-addons.vim

Javier Barroso javibarroso at gmail.com
Mon Dec 2 23:14:19 UTC 2013

Package: vim-addon-manager
Version: 0.5.2
Severity: normal

Dear Maintainer,


$ vam disable vimplate
Info: disabling enabled addon 'vimplate'
$ cat ~/.vim/plugin/000-vim-addons.vim
["let loaded_vimplate = 1\n"]
$ vim
Error detected while processing /home/javi/.vim/plugin/000-vim-addons.vim:
line    1:
E492: Not an editor command: ["let loaded_vimplate = 1\n"]
Press ENTER or type command to continue

I have not enough ruby skill to know where that code is being writting.

Launching vam with ruby -d , show me some errors, but I'm not sure if
those errors are related

$ ruby -d /usr/bin/vim-addon-manager disable winmanager
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems.rb:1264 - cannot
load such file -- rubygems/defaults/operating_system
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems.rb:1273 - cannot
load such file -- rubygems/defaults/ruby
Exception `NameError' at /usr/lib/ruby/1.9.1/psych/core_ext.rb:16 -
method `to_yaml' not defined in Object
Exception `NameError' at /usr/lib/ruby/1.9.1/psych/core_ext.rb:29 -
method `yaml_as' not defined in Module
Exception `NameError' at /usr/lib/ruby/1.9.1/psych/deprecated.rb:79 -
undefined method `to_yaml_properties' for class `Object'
Exception `ArgumentError' at
/usr/lib/ruby/1.9.1/psych/scalar_scanner.rb:91 - invalid value for
Integer(): "/usr/share/vim-scripts/"

Thank you
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim-addon-manager depends on:
ii  ruby        1:1.9.3
ii  vim-common  2:7.4.052-1

Versions of packages vim-addon-manager recommends:
ii  vim            2:7.4.052-1
ii  vim-gtk [vim]  2:7.4.052-1

vim-addon-manager suggests no packages.

-- no debconf information

More information about the pkg-vim-maintainers mailing list