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. #317

Closed
s0updev opened this issue May 24, 2022 · 5 comments
Closed

[ERROR]: gitstatus failed to initialize. #317

s0updev opened this issue May 24, 2022 · 5 comments

Comments

@s0updev
Copy link

s0updev commented May 24, 2022

[ERROR]: gitstatus failed to initialize.


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

    +(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 5.0000000000 -i 20 'pgid[$#pgid+1]'
    +(anon):55> ((  20 < 20  ))
    +(anon):59> [[ '                 102' == \ #<1-> ]]
    +(anon):60> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=pgid'
    +(anon):62> sysopen -w -o cloexec -u req_fd -- /tmp/gitstatus.POWERLEVEL9K.1000.4.1653394637.1.fifo
    (anon):sysopen:62: can't open file /tmp/gitstatus.POWERLEVEL9K.1000.4.1653394637.1.fifo: no such file or directory
    +(anon):62> return

  System information:

    zsh:      5.8
    uname -a: Linux LAPTOP-IRKGT53C 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
@romkatv
Copy link
Owner

romkatv commented May 24, 2022

This is a bug in WSL2.

@s0updev
Copy link
Author

s0updev commented May 24, 2022

Can you give me a link if there's an issue in WSL2 repo? Or tell how to find it?

@romkatv
Copy link
Owner

romkatv commented May 24, 2022

See #234

I don't know if someone has reported this properly to Microsoft.

@romkatv romkatv closed this as completed May 24, 2022
@s0updev
Copy link
Author

s0updev commented May 26, 2022

@romkatv here's my issue just incase but there's no progress yet microsoft/WSL#8441

@romkatv
Copy link
Owner

romkatv commented May 27, 2022

Thanks for opening the issue.

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