Zplug: stuck at status; unable to unset zplugs[] on clean

Created on 21 Dec 2016  ยท  4Comments  ยท  Source: zplug/zplug

Problem Summary

on first run after updating to new master with new spinners:
__zplug::job::handle::flock:zsystem:28: failed to open /Users/davidosomething/.local/share/zplug/log/trace.log for writing: no such file or directory

(does not re-occur after update)

 I  % zplug clean
__clean__:unset:122: zplugs[]: invalid parameter name

and zplug status is stuck

system information

from zplugdoctor (https://github.com/davidosomething/dotfiles/blob/master/zsh/zplugdoctor.zsh)

davidosomething@potatopro:~                                                                                                      [js:v6.9.1|py:3.5.1|rb:2.3.1]
 I  % zplugdoctor
==> uname -a
Darwin potatopro.local 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
==> zsh version
zsh 5.3 (x86_64-apple-darwin16.1.0)
==> zplug rev
dbe0ebebb5311f5dc1f9e3b051ee55408bed672d
==> zplug env
ZPLUG_HOME = /Users/davidosomething/.local/share/zplug
ZPLUG_LOADFILE = /Users/davidosomething/.dotfiles/zsh/zplug.zsh
ZPLUG_ROOT = /Users/davidosomething/.local/share/zplug
ZPLUG_THREADS = 16
ZPLUG_PROTOCOL = HTTPS
ZPLUG_FILTER = fzf-tmux:fzf:peco:percol:fzy:zaw
ZPLUG_USE_CACHE = true
ZPLUG_ERROR_LOG = /Users/davidosomething/.local/share/zplug/.error_log
ZPLUG_CACHE_DIR = /Users/davidosomething/.local/share/zplug/cache
ZPLUG_REPOS = /Users/davidosomething/.local/share/zplug/repos
_ZPLUG_VERSION = 2.3.4
_ZPLUG_URL = https://github.com/zplug/zplug
_ZPLUG_OHMYZSH = robbyrussell/oh-my-zsh
_ZPLUG_PREZTO = sorin-ionescu/prezto
_ZPLUG_AWKPATH = /Users/davidosomething/.local/share/zplug/misc/contrib
_ZPLUG_CONFIG_SUBSHELL = :
davidosomething@potatopro:~                                                                                                      [js:v6.9.1|py:3.5.1|rb:2.3.1]
 I  % zplug clean
__clean__:unset:122: zplugs[]: invalid parameter name
davidosomething@potatopro:~                                                                                                      [js:v6.9.1|py:3.5.1|rb:2.3.1]
 I  %

davidosomething@potatopro:~                                                                                                      [js:v6.9.1|py:3.5.1|rb:2.3.1]
 I  % zplug status


 โœ”  Up-to-date            vasyharan/zsh-brew-services
 โ   Fetching...           zsh-users/zsh-completions
 โœ”  Up-to-date            knu/z
 โœ”  Up-to-date            davidosomething/vopen
 โœ”  Up-to-date            akoenig/gulp.plugin.zsh
 โœ”  Up-to-date            lukechilds/zsh-better-npm-completion
 โœ”  Up-to-date            davidosomething/cdbk
 โœ”  Up-to-date            zsh-users/zsh-autosuggestions
 โœ”  Up-to-date            zsh-users/zsh-syntax-highlighting
 โœ”  Up-to-date            paulirish/git-open
 โœ”  Up-to-date            davidosomething/git-ink
 โœ”  Up-to-date            davidosomething/git-my
 โœ”  Up-to-date            davidosomething/git-take

[zplug] Finished: 0/13 plugins

relevant parts of zshrc:

loading zplug (everything is okay except those two commands):
https://github.com/davidosomething/dotfiles/blob/master/zsh/.zshrc#L141-L187

plugs:
https://github.com/davidosomething/dotfiles/blob/master/zsh/zplug.zsh

All 4 comments

It should have been fixed for trace log. Please try again.

Also fixed a bug in the clean command

BTW, your zplugdoctor is a nice idea!

@davidosomething I have allowed user-defined functions to be executed as subcommands like user-defined commands!

zplug "b4b4r07/zplug-doctor", lazy:yes, use:zplug-doctor

then

2016-12-22 0 09 43

See also https://github.com/b4b4r07/zplug-doctor

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidosomething picture davidosomething  ยท  6Comments

eru picture eru  ยท  4Comments

jottr picture jottr  ยท  6Comments

jrock2004 picture jrock2004  ยท  9Comments

felixjung picture felixjung  ยท  7Comments