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

Nu rendering error on new tab #2299

Closed
1 task done
ehawman-rosenberg opened this issue May 20, 2022 · 4 comments
Closed
1 task done

Nu rendering error on new tab #2299

ehawman-rosenberg opened this issue May 20, 2022 · 4 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@ehawman-rosenberg
Copy link
Contributor

ehawman-rosenberg commented May 20, 2022

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

Apologies for the machine-gun stream of bug reports. I don't even plan on using Nu as my daily driver but it's a fun project so I want to make sure it's working right.

image

WindowsTerminal_j7r0IyvPn1.mp4

Plain segments (like in atomicBit) render just fine.

I haven't been able to test on a different OS/terminal emulator quite yet. Entirely possible that the fault lies with Nu or WT (or some weird interplay between the three systems)

Theme

devious-diamonds, M365Princess, agnoster. atomicBit works fine (has something to do with powerline)

What OS are you seeing the problem on?

Windows

Which shell are you using?

other (please specify)

Log output

Relevant log output
Version: 7.86.0

Segments:

ConsoleTitle(true)   -   1 ms - ~
iterm(false)         -   0 ms -
os(true)             -   0 ms -  ═
shell(true)          -   0 ms -   nu
session(true)        -   0 ms -  ehawman@EHSupportLaptop
julia(false)         -   0 ms -
go(false)            -   0 ms -
java(false)          -   0 ms -
php(false)           -   0 ms -
node(false)          -   0 ms -
azfunc(false)        -   1 ms -
ruby(false)          -   0 ms -
kubectl(false)       - 245 ms -
python(false)        -   1 ms -
aws(false)           -   0 ms -
time(true)           -   0 ms -  Fri | 13:31:16
executiontime(true)  -   0 ms -  0ms 
git(false)           -  16 ms -
text(true)           -   0 ms -  ╚
exit(true)           -   0 ms -  
path(true)           -   0 ms -  
text(true)           -   0 ms -   

Run duration: 292.7539ms

Cache path: C:\Users\ehawman\AppData\Local\oh-my-posh

Config path: C:\Users\ehawman\AppData\Local\Programs\oh-my-posh\themes\devious-diamonds.omp.json

Logs:

2022/05/20 13:31:15 debug: Getenv
C:\Users\ehawman\AppData\Local
2022/05/20 13:31:15 Getenv duration: 0s, args: LOCALAPPDATA
2022/05/20 13:31:15 CachePath duration: 537.4µs, args:
2022/05/20 13:31:15 debug: Getenv
C:\Users\ehawman\AppData\Local\Programs\oh-my-posh\themes\devious-diamonds.omp.json
2022/05/20 13:31:15 Getenv duration: 0s, args: POSH_THEME
2022/05/20 13:31:15 Shell duration: 20.7524ms, args:
2022/05/20 13:31:15 resolveConfigPath duration: 20.7524ms, args:
2022/05/20 13:31:15 Init duration: 21.2898ms, args:
2022/05/20 13:31:15 Flags duration: 0s, args:
2022/05/20 13:31:15 config.loadConfig duration: 2.0051ms, args:
2022/05/20 13:31:15 Flags duration: 0s, args:
2022/05/20 13:31:15 debug: Getenv

2022/05/20 13:31:15 Getenv duration: 0s, args: OMP_CACHE_DISABLED
2022/05/20 13:31:15 Root duration: 1.0005ms, args:
2022/05/20 13:31:15 Shell duration: 0s, args:
2022/05/20 13:31:15 ErrorCode duration: 0s, args:
2022/05/20 13:31:15 IsWsl duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 PathSeparator duration: 0s, args:
2022/05/20 13:31:15 PathSeparator duration: 0s, args:
2022/05/20 13:31:15 debug: User
ehawman
2022/05/20 13:31:15 User duration: 0s, args:
2022/05/20 13:31:15 debug: Host
EHSupportLaptop
2022/05/20 13:31:15 Host duration: 0s, args:
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 TemplateCache duration: 1.0312ms, args:
2022/05/20 13:31:15 Flags duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Getenv

2022/05/20 13:31:15 Getenv duration: 0s, args: TERM_PROGRAM
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 TemplateCache duration: 0s, args:
2022/05/20 13:31:15 TemplateCache duration: 0s, args:
2022/05/20 13:31:15 Shell duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 Shell duration: 0s, args:
2022/05/20 13:31:15 Flags duration: 0s, args:
2022/05/20 13:31:15 TemplateCache duration: 0s, args:
2022/05/20 13:31:15 TemplateCache duration: 0s, args:
2022/05/20 13:31:15 Shell duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Getenv

2022/05/20 13:31:15 Getenv duration: 0s, args: SSH_CONNECTION
2022/05/20 13:31:15 debug: Getenv

2022/05/20 13:31:15 Getenv duration: 0s, args: SSH_CLIENT
2022/05/20 13:31:15 TemplateCache duration: 0s, args:
2022/05/20 13:31:15 TemplateCache duration: 0s, args:
2022/05/20 13:31:15 Shell duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 debug: Getenv

2022/05/20 13:31:15 Getenv duration: 0s, args: JAVA_HOME
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 505µs, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:15 Pwd duration: 0s, args:
2022/05/20 13:31:15 debug: Home
C:\Users\ehawman
2022/05/20 13:31:15 GOOS duration: 0s, args:
2022/05/20 13:31:15 HasCommand duration: 21.5452ms, args: kubectl
2022/05/20 13:31:16 error: RunCommand
cmd.Start() failed with 'error: current-context must exist in order to minify
'
2022/05/20 13:31:16 RunCommand duration: 224.2485ms, args: kubectl config view --output yaml --minify
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 PathSeparator duration: 0s, args:
2022/05/20 13:31:16 debug: HasFiles
false
2022/05/20 13:31:16 HasFiles duration: 692.3µs, args: *.py
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 PathSeparator duration: 0s, args:
2022/05/20 13:31:16 debug: HasFiles
false
2022/05/20 13:31:16 HasFiles duration: 0s, args: *.ipynb
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 PathSeparator duration: 0s, args:
2022/05/20 13:31:16 debug: HasFiles
false
2022/05/20 13:31:16 HasFiles duration: 0s, args: pyproject.toml
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 PathSeparator duration: 0s, args:
2022/05/20 13:31:16 debug: HasFiles
false
2022/05/20 13:31:16 HasFiles duration: 512.8µs, args: venv.bak
2022/05/20 13:31:16 debug: HasFolder
false
2022/05/20 13:31:16 HasFolder duration: 0s, args: .venv
2022/05/20 13:31:16 debug: HasFolder
false
2022/05/20 13:31:16 HasFolder duration: 0s, args: venv
2022/05/20 13:31:16 debug: HasFolder
false
2022/05/20 13:31:16 HasFolder duration: 0s, args: virtualenv
2022/05/20 13:31:16 debug: HasFolder
false
2022/05/20 13:31:16 HasFolder duration: 0s, args: env
2022/05/20 13:31:16 debug: HasFolder
false
2022/05/20 13:31:16 HasFolder duration: 524.3µs, args: venv-win
2022/05/20 13:31:16 debug: HasFolder
false
2022/05/20 13:31:16 HasFolder duration: 0s, args: pyenv-win
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 debug: Getenv

2022/05/20 13:31:16 Getenv duration: 0s, args: AWS_VAULT
2022/05/20 13:31:16 debug: Getenv

2022/05/20 13:31:16 Getenv duration: 0s, args: AWS_PROFILE
2022/05/20 13:31:16 debug: Getenv

2022/05/20 13:31:16 Getenv duration: 0s, args: AWS_REGION
2022/05/20 13:31:16 debug: Getenv

2022/05/20 13:31:16 Getenv duration: 0s, args: AWS_DEFAULT_REGION
2022/05/20 13:31:16 debug: Getenv

2022/05/20 13:31:16 Getenv duration: 0s, args: AWS_CONFIG_FILE
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 error: FileContent
open C:\Users\ehawman/.aws/config: The system cannot find the path specified.
2022/05/20 13:31:16 FileContent duration: 550.9µs, args: C:\Users\ehawman/.aws/config
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 Shell duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 ExecutionTime duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 Shell duration: 0s, args:
2022/05/20 13:31:16 Flags duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 HasCommand duration: 15.547ms, args: git.exe
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 error: HasParentFilePath
CreateFile C:\.git: The system cannot find the file specified.
2022/05/20 13:31:16 HasParentFilePath duration: 521.8µs, args: .git
2022/05/20 13:31:16 Flags duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 Shell duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 ErrorCode duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 Shell duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 Flags duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 PathSeparator duration: 0s, args:
2022/05/20 13:31:16 Flags duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 PathSeparator duration: 0s, args:
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 IsWsl duration: 0s, args:
2022/05/20 13:31:16 StackCount duration: 0s, args:
2022/05/20 13:31:16 DirIsWritable duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 Shell duration: 0s, args:
2022/05/20 13:31:16 debug: Pwd
C:\Users\ehawman
2022/05/20 13:31:16 Pwd duration: 0s, args:
2022/05/20 13:31:16 debug: Home
C:\Users\ehawman
2022/05/20 13:31:16 GOOS duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 Shell duration: 0s, args:
2022/05/20 13:31:16 TemplateCache duration: 0s, args:
2022/05/20 13:31:16 debug: Getenv
C:\Users\ehawman\AppData\Local
2022/05/20 13:31:16 Getenv duration: 0s, args: LOCALAPPDATA
2022/05/20 13:31:16 CachePath duration: 0s, args:
2022/05/20 13:31:16 Flags duration: 0s, args:
@JanDeDobbeleer
Copy link
Owner

@ehawman-rosenberg that's a Windows Terminal bug. It's on their backlog. Only happens on first prompt.

@ehawman-rosenberg
Copy link
Contributor Author

Nice thanks

@JanDeDobbeleer
Copy link
Owner

@ehawman-rosenberg see here

Copy link

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants