MarcWeber / vim-addon-manager

manage and install vim plugins (including their dependencies) in a sane way. If you have any trouble contact me. Usually I reply within 24 hours
Other
660 stars 59 forks source link

Can't update addons #118

Closed miffe closed 11 years ago

miffe commented 11 years ago

When trying to update my addons, i get the following log. The /tmp/vDmL2bp directory gets created and I can write to it, but no files get created there.

:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Mar 25 2013 19:55:22)
Included patches: 1-875
Compiled by ArchLinux
Considering vim-addon-manager-known-repositories for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/0
The following scm keys are the same as vim.org ones: TweetVim.
These plugins should either be renamed or put into scmnr dictionary.
Considering vim-addon-manager for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/1
Considering ctrlp for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/2
Considering TaskList for update
Not updating plugin TaskList, 1.0.1 is current
Considering PreciseJump for update
Not updating plugin PreciseJump, 0.49 is current
Considering github:jnwhiteh/vim-golang for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/3
Considering jellybeans for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/4
Considering github:vim-scripts/Align for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/5
Considering github:nsf/gocode for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/6
Considering Tagbar for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/7
Considering surround for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/8
Considering The_NERD_tree for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/9
Considering fugitive for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/10
Considering github:mantiz/vim-plugin-dirsettings for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/11
Considering The_NERD_Commenter for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/12
Considering Syntastic for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/13
Considering errormarker for update
Not updating plugin errormarker, 0.1.13 is current
Considering Conque_Shell for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/14
Considering repeat for update
Vim(let):E484: Can't open file /tmp/vDmL2bp/15
Already up to date: ['TaskList', 'PreciseJump', 'errormarker'].
Failed to update: ['vim-addon-manager', 'ctrlp', 'github:jnwhiteh/vim-golang', 'jellybeans', 'github:vim-scripts/Align', 'github:nsf/gocode', 'Tagbar', 'surround', 'The_NERD_tree', 'fugitive', 'github:mantiz/vim-plugin-dirsettings', 'The_NERD_Commenter', 'Syntastic', 'Conque_Shell', 'repeat'].
MarcWeber commented 11 years ago
let x = tempname()
call writefile( ["test"], x)

echom x

Can you write that to test.vim file, then :source test.vim Then try opening the file which was printed at the bottom, does this work? It looks to me that you have an issue with your /tmp directory?

Can you update an addon after restarting vim? You can use :UpdateAddons The_NERD_Commenter to update one plugin only

miffe commented 11 years ago

let x = tempname() call writefile( ["test"], x) echom x Can you write that to test.vim file, then :source test.vim Then try opening the file which was printed at the bottom, does this work?

It prints /tmp/vMgICo2/0, which when i open it contains test

Can you update an addon after restarting vim? You can use :UpdateAddons The_NERD_Commenter to update one plugin only.

Restarting vim doesn't help and neither does updating only one addon. A reboot doesn't help either.

Oh, found the cause. I'm using fish as shell. A simple set shell=/bin/sh in vim fixes v-a-m for me.