Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR]: gitstatus failed to initialize. #440

Open
f10atin9 opened this issue Aug 2, 2024 · 0 comments
Open

[ERROR]: gitstatus failed to initialize. #440

f10atin9 opened this issue Aug 2, 2024 · 0 comments

Comments

@f10atin9
Copy link

f10atin9 commented Aug 2, 2024

Zsh log (/tmp/gitstatus.POWERLEVEL9K.1000.8864.1722568250.1.xtrace.log):

+(anon):7> setopt monitor
+(anon):9> ((  ! _GITSTATUS_STATE_POWERLEVEL9K  ))
+(anon):10> [[ -r /proc/version && 'Linux version 4.4.0-19041-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #4355-Microsoft Thu Apr 12 17:37:00 PST 2024' == *Microsoft* ]]
+(anon):11> lock_fd=-1 
+(anon):18> typeset -gi '_GITSTATUS_LOCK_FD_POWERLEVEL9K=lock_fd'
+(anon):20> [[ linux-gnu == cygwin* ]]
+(anon):41> sysopen -r -o cloexec -u resp_fd /proc/self/fd/17
+(anon):44> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=9134'
+(anon):46> [[ 19 == <1-> ]]
+(anon):47> typeset -gi '_GITSTATUS_RESP_FD_POWERLEVEL9K=resp_fd'
+(anon):48> typeset -gi '_GITSTATUS_STATE_POWERLEVEL9K=1'
+(anon):51> ((  ! async  ))
+(anon):41> _gitstatus_daemon_p9k_
+_gitstatus_daemon_p9k_:1> local -i pipe_fd
+(anon):7> setopt monitor
+(anon):9> ((  ! _GITSTATUS_STATE_POWERLEVEL9K  ))
+(anon):10> [[ -r /proc/version && 'Linux version 4.4.0-19041-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #4355-Microsoft Thu Apr 12 17:37:00 PST 2024' == *Microsoft* ]]
+(anon):11> lock_fd=-1
+(anon):18> typeset -gi '_GITSTATUS_LOCK_FD_POWERLEVEL9K=lock_fd'
+(anon):20> [[ linux-gnu == cygwin* ]]
+(anon):41> sysopen -r -o cloexec -u resp_fd /proc/self/fd/18
+(anon):44> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=9248'
+(anon):46> [[ 20 == <1-> ]]
+(anon):47> typeset -gi '_GITSTATUS_RESP_FD_POWERLEVEL9K=resp_fd'
+(anon):41> _gitstatus_daemon_p9k_
+(anon):48> typeset -gi '_GITSTATUS_STATE_POWERLEVEL9K=1'
+(anon):51> ((  ! async  ))
+_gitstatus_daemon_p9k_:1> local -i pipe_fd
+(anon):7> setopt monitor
+(anon):9> ((  ! _GITSTATUS_STATE_POWERLEVEL9K  ))
+(anon):51> ((  ! async  ))
+(anon):52> ((  _GITSTATUS_CLIENT_PID_POWERLEVEL9K == sysparams[pid]  ))
+(anon):54> local pgid
+(anon):55> ((  0 < 20  ))
+(anon):56> [[ -t 20 ]]
+(anon):57> sysread -s 20 -t 10.0000000000 -i 20 'pgid[$#pgid+1]'
+(anon):57> return

Daemon log (/tmp/gitstatus.POWERLEVEL9K.1000.8864.1722568250.1.daemon.log):

+_gitstatus_daemon_p9k_:3> local pgid=9134
+_gitstatus_daemon_p9k_:4> [[ 9134 == <1-> ]]
+_gitstatus_daemon_p9k_:5> cd -q /
+_gitstatus_daemon_p9k_:90> ((  lock_fd == -1  ))
+_gitstatus_daemon_p9k_:9> trap '' PIPE
+_gitstatus_daemon_p9k_:90> return
+_gitstatus_daemon_p9k_:11> local uname_sm
+_gitstatus_daemon_p9k_:12> uname_sm=+_gitstatus_daemon_p9k_:12> uname -sm
+_gitstatus_daemon_p9k_:12> uname_sm='linux x86_64'
+_gitstatus_daemon_p9k_:13> [[ 'linux x86_64' == [^\ ]##\ [^\ ]## ]]
+_gitstatus_daemon_p9k_:14> local uname_s=linux
+_gitstatus_daemon_p9k_:15> local uname_m=x86_64
+_gitstatus_daemon_p9k_:17> [[ '' == <1-> ]]
+_gitstatus_daemon_p9k_:20> local cpus
+_gitstatus_daemon_p9k_:21> ((  ! 1  ))
+_gitstatus_daemon_p9k_:21> [[ linux == linux ]]
+_gitstatus_daemon_p9k_:23> ((  ! 1  ))
+_gitstatus_daemon_p9k_:23> cpus=+_gitstatus_daemon_p9k_:23> getconf _NPROCESSORS_ONLN
+_gitstatus_daemon_p9k_:23> cpus=8
+_gitstatus_daemon_p9k_:27> args+=( -t 16 )
+_gitstatus_daemon_p9k_:30> mkfifo -- /tmp/gitstatus.POWERLEVEL9K.1000.8864.1722568250.1.fifo
+_gitstatus_daemon_p9k_:31> print -rnu 13 -- '                9134'
+_gitstatus_daemon_p9k_:3> local pgid=9248
+_gitstatus_daemon_p9k_:4> [[ 9248 == <1-> ]]
+_gitstatus_daemon_p9k_:5> cd -q /
+_gitstatus_daemon_p9k_:9> trap '' PIPE
+_gitstatus_daemon_p9k_:11> local uname_sm
+_gitstatus_daemon_p9k_:90> ((  lock_fd == -1  ))
+_gitstatus_daemon_p9k_:90> return
+_gitstatus_daemon_p9k_:12> uname_sm=+_gitstatus_daemon_p9k_:12> uname -sm
+_gitstatus_daemon_p9k_:12> uname_sm='linux x86_64'
+_gitstatus_daemon_p9k_:13> [[ 'linux x86_64' == [^\ ]##\ [^\ ]## ]]
+_gitstatus_daemon_p9k_:14> local uname_s=linux
+_gitstatus_daemon_p9k_:15> local uname_m=x86_64
+_gitstatus_daemon_p9k_:17> [[ '' == <1-> ]]
+_gitstatus_daemon_p9k_:20> local cpus
+_gitstatus_daemon_p9k_:21> ((  ! 1  ))
+_gitstatus_daemon_p9k_:21> [[ linux == linux ]]
+_gitstatus_daemon_p9k_:23> ((  ! 1  ))
+_gitstatus_daemon_p9k_:23> cpus=+_gitstatus_daemon_p9k_:23> getconf _NPROCESSORS_ONLN
+_gitstatus_daemon_p9k_:23> cpus=8
+_gitstatus_daemon_p9k_:27> args+=( -t 16 )
+_gitstatus_daemon_p9k_:30> mkfifo -- /tmp/gitstatus.POWERLEVEL9K.1000.8864.1722568250.1.fifo
mkfifo: cannot create fifo '/tmp/gitstatus.POWERLEVEL9K.1000.8864.1722568250.1.fifo': File exists
+_gitstatus_daemon_p9k_:30> return
+_gitstatus_daemon_p9k_:84> local -i ret=1
+_gitstatus_daemon_p9k_:85> zf_rm -f -- /tmp/gitstatus.POWERLEVEL9K.1000.8864.1722568250.1.lock /tmp/gitstatus.POWERLEVEL9K.1000.8864.1722568250.1.fifo
+_gitstatus_daemon_p9k_:86> kill -- -9248

System information:

zsh:      5.8
uname -a: Linux DESKTOP-6J350KP 4.4.0-19041-Microsoft #4355-Microsoft Thu Apr 12 17:37:00 PST 2024 x86_64 x86_64 x86_64 GNU/Linux

log:

cat /tmp/gitstatus.POWERLEVEL9K.1000.8864.1722568250.1.xtrace.log  ✔  7m 51s 
+(anon):7> setopt monitor
+(anon):9> (( ! _GITSTATUS_STATE_POWERLEVEL9K ))
+(anon):10> [[ -r /proc/version && 'Linux version 4.4.0-19041-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #4355-Microsoft Thu Apr 12 17:37:00 PST 2024' == Microsoft ]]
+(anon):11> lock_fd=-1
+(anon):18> typeset -gi '_GITSTATUS_LOCK_FD_POWERLEVEL9K=lock_fd'
+(anon):20> [[ linux-gnu == cygwin* ]]
+(anon):41> sysopen -r -o cloexec -u resp_fd /proc/self/fd/17
+(anon):44> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=9134'
+(anon):46> [[ 19 == <1-> ]]
+(anon):47> typeset -gi '_GITSTATUS_RESP_FD_POWERLEVEL9K=resp_fd'
+(anon):48> typeset -gi '_GITSTATUS_STATE_POWERLEVEL9K=1'
+(anon):51> (( ! async ))
+(anon):41> gitstatus_daemon_p9k
+gitstatus_daemon_p9k:1> local -i pipe_fd
+(anon):7> setopt monitor
+(anon):9> (( ! _GITSTATUS_STATE_POWERLEVEL9K ))
+(anon):10> [[ -r /proc/version && 'Linux version 4.4.0-19041-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #4355-Microsoft Thu Apr 12 17:37:00 PST 2024' == Microsoft ]]
+(anon):11> lock_fd=-1
+(anon):18> typeset -gi '_GITSTATUS_LOCK_FD_POWERLEVEL9K=lock_fd'
+(anon):20> [[ linux-gnu == cygwin* ]]
+(anon):41> sysopen -r -o cloexec -u resp_fd /proc/self/fd/18
+(anon):44> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=9248'
+(anon):46> [[ 20 == <1-> ]]
+(anon):47> typeset -gi '_GITSTATUS_RESP_FD_POWERLEVEL9K=resp_fd'
+(anon):41> gitstatus_daemon_p9k
+(anon):48> typeset -gi '_GITSTATUS_STATE_POWERLEVEL9K=1'
+(anon):51> (( ! async ))
+gitstatus_daemon_p9k:1> local -i pipe_fd
+(anon):7> setopt monitor
+(anon):9> (( ! _GITSTATUS_STATE_POWERLEVEL9K ))
+(anon):51> (( ! async ))
+(anon):52> (( _GITSTATUS_CLIENT_PID_POWERLEVEL9K == sysparams[pid] ))
+(anon):54> local pgid
+(anon):55> (( 0 < 20 ))
+(anon):56> [[ -t 20 ]]
+(anon):57> sysread -s 20 -t 10.0000000000 -i 20 'pgid[$#pgid+1]'
+(anon):57> return

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant