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

my terminal of mac appears some warn bellow #434

Open
AuxLuffy opened this issue May 14, 2024 · 1 comment
Open

my terminal of mac appears some warn bellow #434

AuxLuffy opened this issue May 14, 2024 · 1 comment

Comments

@AuxLuffy
Copy link

ERROR]: gitstatus failed to initialize.

Your Git prompt may disappear or become slow.

The content of /private/var/folders/m7/8c975pws3nl32tbmf5pnkbw00000gq/T/gitstatus.POWERLEVEL9K.503.35972.1715675127.2.xtrace.log (gitstatus_start xtrace):

+(anon):7> setopt monitor
+(anon):9> ((  ! _GITSTATUS_STATE_POWERLEVEL9K  ))
+(anon):10> [[ -r /proc/version ]]
+(anon):13> print -rn
+(anon):14> zsystem flock -f lock_fd /private/var/folders/m7/8c975pws3nl32tbmf5pnkbw00000gq/T/gitstatus.POWERLEVEL9K.503.35972.1715675127.2.lock
+(anon):15> [[ 16 == <1-> ]]
+(anon):17> typeset -gi '_GITSTATUS_LOCK_FD_POWERLEVEL9K=lock_fd'
+(anon):20> '(anon)' /dev/fd/18
+(anon):1> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=36111'
+(anon):2> sysopen -r -o cloexec -u resp_fd -- /dev/fd/18
+(anon):3> [[ 20 == <1-> ]]
+(anon):4> typeset -gi '_GITSTATUS_RESP_FD_POWERLEVEL9K=resp_fd'
+(anon):121> typeset -gi '_GITSTATUS_STATE_POWERLEVEL9K=1'
+(anon):124> ((  ! async  ))
+(anon):125> ((  _GITSTATUS_CLIENT_PID_POWERLEVEL9K == sysparams[pid]  ))
+(anon):127> local pgid
+(anon):128> ((  0 < 20  ))
+(anon):129> [[ -t 20 ]]
+(anon):130> sysread -s 20 -t 5.0000000000 -i 20 'pgid[$#pgid+1]'
+(anon):130> return
                     ^ this command failed (5)

The content of /private/var/folders/m7/8c975pws3nl32tbmf5pnkbw00000gq/T/gitstatus.POWERLEVEL9K.503.35972.1715675127.2.daemon.log (gitstatus daemon log):

+(anon):22> local pgid=36111
+(anon):23> [[ 36111 == <1-> ]]
+(anon):105> ((  lock_fd == -1  ))
+(anon):27> trap '' PIPE
+(anon):29> [[ -z '' ]]
+(anon):30> local kernel
+(anon):108> zsystem flock -- /private/var/folders/m7/8c975pws3nl32tbmf5pnkbw00000gq/T/gitstatus.POWERLEVEL9K.503.35972.1715675127.2.lock
+(anon):31> kernel=+(anon):31> uname -s
+(anon):31> kernel=darwin
+(anon):32> [[ -n darwin ]]
+(anon):35> [[ '' == /* ]]
+(anon):37> ((  0  ))
+(anon):39> [[ -n '' ]]
+(anon):42> local -aU os=( darwin )
+(anon):43> case darwin (linux)
+(anon):43> case darwin (cygwin_nt-*)
+(anon):43> case darwin (msys_nt-*)
+(anon):43> case darwin (mingw32_nt-*)
+(anon):43> case darwin (mingw64_nt-*)
+(anon):53> local arch
+(anon):54> arch=+(anon):54> uname -m
+(anon):54> arch=arm64
+(anon):55> [[ -n arm64 ]]
+(anon):56> local daemons=( /Users/sunzhangfei/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/usrbin/gitstatusd-darwin-arm64 /Users/sunzhangfei/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/usrbin/gitstatusd-darwin-arm64-static /Users/sunzhangfei/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/bin/gitstatusd-darwin-arm64 /Users/sunzhangfei/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/bin/gitstatusd-darwin-arm64-static )
+(anon):60> local files=( )
+(anon):61> daemons=( )
+(anon):63> ((  stderr_fd && 0 != 0  ))
+(anon):73> ((  0  ))
+(anon):73> return
+(anon):100> local -i ret=1
+(anon):101> kill -- -36111

Your system information:

zsh:      5.9
uname -a: Darwin zybdeMacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Wed Feb 21 21:45:48 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T8122 arm64

If you need help, open an issue and attach this whole error message to it:

https://github.com/romkatv/gitstatus/issues/new
@romkatv
Copy link
Owner

romkatv commented May 14, 2024

Try this:

git -C ~/.oh-my-zsh/custom/themes/powerlevel10k pull

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

2 participants