Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MichaelAquilina/354775e168ad6e0c87ea44827d16eb5d to your computer and use it in GitHub Desktop.
Save MichaelAquilina/354775e168ad6e0c87ea44827d16eb5d to your computer and use it in GitHub Desktop.
powerlevel10k gitstatus DEBUG
[ERROR]: gitstatus failed to initialize.
Your Git prompt may disappear or become slow.
The content of /tmp/gitstatus.POWERLEVEL9K.1000.11637.1588606673.3.xtrace.log (gitstatus_start xtrace):
+(anon):7> setopt monitor
+(anon):9> (( ! _GITSTATUS_STATE_POWERLEVEL9K ))
+(anon):10> [[ -r /proc/version && 'Linux version 5.6.6-1-default (geeko@buildhost) (gcc version 9.3.1 20200406 [revision 6db837a5288ee3ca5ec504fbd5a765817e556ac2] (SUSE Linux)) #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000)' == *Microsoft* ]]
+(anon):13> print -rn
+(anon):14> zsystem flock -f lock_fd /tmp/gitstatus.POWERLEVEL9K.1000.11637.1588606673.3.lock
+(anon):15> [[ 13 == <1-> ]]
+(anon):18> typeset -gi '_GITSTATUS_LOCK_FD_POWERLEVEL9K=lock_fd'
+(anon):19> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=14336'
+(anon):21> [[ -n '' ]]
+(anon):42> sysopen -r -o cloexec -u resp_fd /proc/self/fd/12
+(anon):45> [[ 15 == <1-> ]]
+(anon):46> typeset -gi '_GITSTATUS_RESP_FD_POWERLEVEL9K=resp_fd'
+(anon):47> typeset -gi '_GITSTATUS_STATE_POWERLEVEL9K=1'
+(anon):50> (( ! async ))
+(anon):51> (( _GITSTATUS_CLIENT_PID_POWERLEVEL9K == sysparams[pid] ))
+(anon):53> local pgid
+(anon):54> (( 0 < 20 ))
+(anon):42> _gitstatus_daemon
+(anon):55> [[ -t 15 ]]
+(anon):56> sysread -s 20 -t 5.0000000000 -i 15 'pgid[$#pgid+1]'
+(anon):54> (( 20 < 20 ))
+(anon):58> [[ $'Deactivating: \C-[[1m\C-[[' == \ #<1-> ]]
+(anon):58> return
^ this command failed (1)
The content of /tmp/gitstatus.POWERLEVEL9K.1000.11637.1588606673.3.daemon.log (gitstatus daemon log):
+_gitstatus_daemon:3> local pgid=14357
+_gitstatus_daemon:4> [[ 14357 == <1-> ]]
+_gitstatus_daemon:5> cd /
+check_venv:2> local file_owner
+check_venv:3> local file_permissions
+check_venv:6> _check_path / .venv
+_check_path:2> local check_dir=/
+_check_path:3> local check_file=.venv
+_check_path:5> [[ -f //.venv ]]
+_check_path:10> [[ / = / ]]
+_check_path:11> return
+check_venv:6> local venv_path=''
+check_venv:8> [[ -n '' ]]
+check_venv:35> _check_path / Pipfile
+_check_path:2> local check_dir=/
+_check_path:3> local check_file=Pipfile
+_check_path:5> [[ -f //Pipfile ]]
+_check_path:10> [[ / = / ]]
+_check_path:11> return
+check_venv:35> local pipfile_path=''
+check_venv:37> [[ -n '' ]]
+check_venv:45> _get_venv_type / unknown
+_get_venv_type:1> local venv_dir=/
+_get_venv_type:2> local venv_type=unknown
+_get_venv_type:3> [[ -f //Pipfile ]]
+_get_venv_type:5> [[ -f //requirements.txt || -f //setup.py ]]
+_get_venv_type:8> printf %s unknown
+check_venv:45> local venv_type=unknown
+check_venv:48> [[ unknown == pipenv ]]
+check_venv:51> [[ unknown == virtualenv ]]
+check_venv:55> _default_venv
+_default_venv:2> _get_venv_type /home/michael/Development/snyk/vms/rio/frontend
+_get_venv_type:1> local venv_dir=/home/michael/Development/snyk/vms/rio/frontend
+_get_venv_type:2> local venv_type=virtualenv
+_get_venv_type:3> [[ -f /home/michael/Development/snyk/vms/rio/frontend/Pipfile ]]
+_get_venv_type:5> [[ -f /home/michael/Development/snyk/vms/rio/frontend/requirements.txt || -f /home/michael/Development/snyk/vms/rio/frontend/setup.py ]]
+_get_venv_type:8> printf %s virtualenv
+_default_venv:2> local venv_type=virtualenv
+_default_venv:3> [[ -n '' ]]
+_default_venv:5> [[ -n /home/michael/.local/share/virtualenvs/vms-E78vNopS ]]
+_default_venv:6> _get_venv_name /home/michael/.local/share/virtualenvs/vms-E78vNopS virtualenv
+_get_venv_name:1> local venv_dir=/home/michael/.local/share/virtualenvs/vms-E78vNopS
+_get_venv_name:2> local venv_type=virtualenv
+_get_venv_name:3> basename /home/michael/.local/share/virtualenvs/vms-E78vNopS
+_get_venv_name:3> local venv_name=vms-E78vNopS
+_get_venv_name:6> [[ virtualenv == pipenv ]]
+_get_venv_name:10> printf %s vms-E78vNopS
+_default_venv:6> local venv_name=vms-E78vNopS
+_default_venv:7> _autoswitch_message 'Deactivating: \e[1m\e[35m%s\e[0m\n' vms-E78vNopS
+_autoswitch_message:1> [ -z '' ']'
+_autoswitch_message:2> printf 'Deactivating: \e[1m\e[35m%s\e[0m\n' vms-E78vNopS
+_default_venv:8> deactivate
+deactivate:1> unset -f pydoc
+deactivate:5> [ -z _ ']'
+deactivate:6> PATH=/opt/google/google-cloud-sdk/bin:/home/michael/.rvm/bin:/home/michael/.cargo/bin:/home/michael/.yarn/bin:/home/michael/.local/bin:/home/michael/bin:/home/michael/.zplug/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/michael/.fzf/bin
+deactivate:7> export PATH
+deactivate:8> unset _OLD_VIRTUAL_PATH
+deactivate:10> [ -z '' ']'
+deactivate:19> [ -n '' ']'
+deactivate:19> [ -n 5.8 ']'
+deactivate:20> hash -r
+deactivate:23> [ -z _ ']'
+deactivate:24> PS1='%m%# '
+deactivate:25> export PS1
+deactivate:26> unset _OLD_VIRTUAL_PS1
+deactivate:29> unset VIRTUAL_ENV
+deactivate:30> [ '!' '' '=' nondestructive ']'
+deactivate:32> unset -f deactivate
+_gitstatus_daemon:88> (( lock_fd == -1 ))
+_gitstatus_daemon:9> trap '' PIPE
+_gitstatus_daemon:11> [[ -z '' ]]
+_gitstatus_daemon:12> local kernel
+_gitstatus_daemon:91> zsystem flock -- /tmp/gitstatus.POWERLEVEL9K.1000.11637.1588606673.3.lock
_gitstatus_daemon:zsystem:91: failed to open /tmp/gitstatus.POWERLEVEL9K.1000.11637.1588606673.3.lock for writing: no such file or directory
+_gitstatus_daemon:13> kernel=+_gitstatus_daemon:13> uname -s
Your system information:
zsh: 5.8
uname -a: Linux linux-4pq1 5.6.6-1-default #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000) x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment