JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
17.12k stars 2.37k forks source link

Some strange error message coming form oh-my-posh #4527

Closed skeept closed 10 months ago

skeept commented 10 months ago

Code of Conduct

What happened?

First of all sorry if this has been fixed in later versions. This is the only time I have come across this and I have been using the tool for years now.

This is the error I got:

oh-my-posh fatal error rendering os segment:runtime error: invalid memory address or nil pointer dereference

goroutine 19 [running]: runtime/debug.Stack() /opt/hostedtoolcache/go/1.17.3/x64/src/runtime/debug/stack.go:24 +0x65 main.(Segment).setStringValue.func1() /home/runner/work/oh-my-posh/oh-my-posh/src/segment.go:297 +0x58 panic({0x8bef20, 0x1268fd0}) /opt/hostedtoolcache/go/1.17.3/x64/src/runtime/panic.go:1038 +0x215 strings.Count({0x0, 0xc000202000}, {0x93a0fe, 0xc00002e0c0}) /opt/hostedtoolcache/go/1.17.3/x64/src/strings/strings.go:47 +0x50 strings.Replace({0x0, 0x0}, {0x93a0fe, 0x1}, {0x93a0e7, 0x1}, 0xffffffffffffffff) /opt/hostedtoolcache/go/1.17.3/x64/src/strings/strings.go:930 +0xcc strings.ReplaceAll(...) /opt/hostedtoolcache/go/1.17.3/x64/src/strings/strings.go:964 main.dirMatchesOneOf({0xa16e60, 0xc0000e4a50}, {0x0, 0xe}, {0x12d2ab0, 0x0, 0x0}) /home/runner/work/oh-my-posh/oh-my-posh/src/regex.go:84 +0x76 main.(Segment).cwdExcluded(0xc0001d7680) /home/runner/work/oh-my-posh/oh-my-posh/src/segment.go:186 +0xde main.(Segment).shouldIncludeFolder(0xc0001d7680) /home/runner/work/oh-my-posh/oh-my-posh/src/segment.go:159 +0x2c main.(Segment).setStringValue(0xc0001d7680, {0xa16e60, 0xc0000e4a50}) /home/runner/work/oh-my-posh/oh-my-posh/src/segment.go:303 +0x7b main.(Block).setStringValues.func1(0x0) /home/runner/work/oh-my-posh/oh-my-posh/src/block.go:87 +0x65 created by main.(Block).setStringValues /home/runner/work/oh-my-posh/oh-my-posh/src/block.go:85 +0x9d

Theme

not sure

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 18.5.1

Shell: pwsh

Prompt:

 SG0216489   reg  master ≢  ~1    7                                                                                                  in pwsh at 09:58:598

Segments:

ConsoleTitle(true)                        -   0 ms
Session(true)                             -   0 ms
Path(true)                                -   6 ms
Git(true)                                 - 493 ms
Root(false)                               -   0 ms
Exit(true)                                -   0 ms
Node(false)                               -   1 ms
Go(false)                                 -   0 ms
Python(false)                             -   1 ms
Shell(true)                               -   0 ms
Time(true)                                -   0 ms

Run duration: 514.1772ms

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

Config path: no --config set, using default built-in configuration

Logs:

[DEBUG] 09:58:58.557 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.557 shell.go:Getenv(TERM_PROGRAM) - 504.7µs
[DEBUG] 09:58:58.558 shell.go:Getenv:392 → C:\Users\SG0216489\AppData\Local
[TRACE] 09:58:58.558 shell.go:Getenv(LOCALAPPDATA) - 250.6µs
[TRACE] 09:58:58.558 shell_windows.go:CachePath() - 250.6µs
[DEBUG] 09:58:58.558 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.558 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 09:58:58.558 shell.go:resolveConfigPath:318 → No config set, fallback to default config
[TRACE] 09:58:58.558 shell.go:resolveConfigPath() - 0s
[TRACE] 09:58:58.558 shell.go:Init() - 755.3µs
[TRACE] 09:58:58.558 shell.go:Flags() - 0s
[DEBUG] 09:58:58.558 config.go:loadConfig:129 → no config file specified, using default
[TRACE] 09:58:58.558 config.go:loadConfig() - 0s
[TRACE] 09:58:58.558 shell.go:Flags() - 0s
[DEBUG] 09:58:58.558 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.558 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 09:58:58.558 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[TRACE] 09:58:58.558 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.558 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC40078D4
[DEBUG] 09:58:58.558 shell.go:Shell:632 → no shell name provided in flags, trying to detect it
[DEBUG] 09:58:58.569 shell.go:Shell:640 → process name: pwsh.exe
[TRACE] 09:58:58.569 shell.go:Shell() - 11.1112ms
[DEBUG] 09:58:58.569 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.569 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 09:58:58.569 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 09:58:58.569 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 09:58:58.570 shell_windows.go:Root() - 81.5µs
[TRACE] 09:58:58.570 shell.go:Shell() - 0s
[TRACE] 09:58:58.570 shell.go:StatusCodes() - 0s
[TRACE] 09:58:58.570 shell_windows.go:IsWsl() - 0s
[DEBUG] 09:58:58.570 shell.go:TemplateCache:813 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\SG0216489\AppData\Roaming AZ_ENABLED=False ChocolateyInstall=C:\ProgramData\chocolatey ChocolateyLastPathUpdate=132900388600234531 CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DEGQKMZH3 ComSpec=C:\WINDOWS\system32\cmd.exe CONDA_DEFAULT_ENV=base CONDA_EXE=C:\Users\SG0216489\conda\Scripts\conda.exe CONDA_PREFIX=C:\Users\SG0216489\conda CONDA_PROMPT_MODIFIER=False CONDA_PYTHON_EXE=C:\Users\SG0216489\conda\python.exe CONDA_SHLVL=1 DataSpell=C:\Program Files\JetBrains\DataSpell 2023.1.2\bin; DriverData=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\SG0216489 IGCCSVC_DB=AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAB2uteojlhUm6UU5BQ2lqFAQAAAACAAAAAAAQZgAAAAEAACAAAABMzeYArZmzWr0SfvjejfTUQSDku98Gt6eJsnxy84AGrAAAAAAOgAAAAAIAACAAAACCCQosNBBka6bhxbPMYWGLu0rxaqAM1EKmjphb6Gt702AAAAC4C58KiV3suPugQdkMU8xCtqIhW/Orns1g2PLvkL/UGcsfuUlSfJfRfPto+D8l2HSEAuhmenS3y9VZLBl2oZ3RY41ZzgjhoHtGnY/sRRPWqlgKPuODO/OTs6HzypNXU8hAAAAATLi6TLH4tM4Z65du4bkc0SDJMASu//fV19pJpWeHRTSH9p2YE4KjFIYmm1aIdOPo8GRhVqsFpUUrafAuxfDx/Q== IntelliJ IDEA=C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.1\bin; IPOPTWINDIR=C:\Users\SG0216489\scoop\apps\ipopt\current JAVA_HOME=C:\OR\Java\jdk-11.0.14.1+1 LOCALAPPDATA=C:\Users\SG0216489\AppData\Local LOGONSERVER=\\SNGCPUSCDC01 LUA_CPATH=C:\Users\SG0216489\scoop\apps\lua\current LUA_PATH=C:\Users\SG0216489\scoop\apps\lua\current NEXTHINK=C:\Program Files\Nexthink\Collector NUMBER_OF_PROCESSORS=16 OneDrive=C:\Users\SG0216489\OneDrive - Sabre OneDriveCommercial=C:\Users\SG0216489\OneDrive - Sabre OneDriveSync=C:\Users\SG0216489\OneDrive - Sabre OS=Windows_NT Path=C:\Users\SG0216489\conda;C:\Users\SG0216489\conda\Library\mingw-w64\bin;C:\Users\SG0216489\conda\Library\usr\bin;C:\Users\SG0216489\conda\Library\bin;C:\Users\SG0216489\conda\Scripts;C:\Users\SG0216489\conda\bin;C:\Users\SG0216489\conda\condabin;C:\Program Files\PowerShell\7;C:\Program Files (x86)\VMware\VMware Workstation\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\PowerShell\7;C:\Users\SG0216489\conda;C:\Users\SG0216489\conda\Library\mingw-w64\bin;C:\Users\SG0216489\conda\Library\usr\bin;C:\Users\SG0216489\conda\Library\bin;C:\Users\SG0216489\conda\Scripts;C:\Users\SG0216489\scoop\apps\vim-nightly\current;C:\Users\SG0216489\scoop\shims;C:\Users\SG0216489\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\PyCharm Community Edition 2021.3.2\bin;C:\Conda\Library\mingw-w64\bin;C:\Conda\Library\bin;C:\Conda\Scripts;C:\Program Files\7-Zip;C:\jT;C:\jT\bin;C:\Program Files\Git\cmd;C:\Program Files\JetBrains\IntelliJ IDEA 2021.3.2\bin;C:\Users\SG0216489\OneDrive - Sabre\Documents\WindowsPowershell\Batch;C:\Users\SG0216489\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\JetBrains\IntelliJ IDEA 2022.2.3\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2022.2.3\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2023.2.1\bin;.;.;C:\Program Files\JetBrains\DataSpell 2023.1.2\bin;.;C:\Program Files\JetBrains\IntelliJ IDEA 2023.2.1\bin;.;C:\Users\SG0216489\AppData\Local\Microsoft\WindowsApps;C:\OR\Tools\ILOG\Cplex\20.1\cplex\bin\x64_win64;C:\Users\SG0216489\Programs\PApps\PortableApps\Latex\texmfs\install\miktex\bin\x64;\bin;C:\Users\SG0216489\Programs\PApps\PortableApps\sqlite;C:\Users\SG0216489\Programs\PApps\PortableApps\eclipse;C:\Users\SG0216489\.local\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_GIT_ENABLED=False POWERLINE_COMMAND=oh-my-posh POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Enterprise PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 141 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=8d01 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\SG0216489\OneDrive - Sabre\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Users\SG0216489\Documents\WindowsPowerShell\Modules;C:\Users\SG0216489\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\PowerShell;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public PyCharm Community Edition=C:\Program Files\JetBrains\PyCharm Community Edition 2023.2.1\bin; RIPGREP_CONFIG_PATH=\Users\SG0216489\.ripgreprc SESSIONNAME=Console SSL_CERT_FILE=C:\Users\SG0216489\conda\Library\ssl\cacert.pem SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\SG0216~1\AppData\Local\Temp\1 TMP=C:\Users\SG0216~1\AppData\Local\Temp\1 UATDATA=C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77 USERDNSDOMAIN=IAMSABRE.SABRENOW.COM USERDOMAIN=iamsabre USERDOMAIN_ROAMINGPROFILE=iamsabre USERNAME=SG0216489 USERPROFILE=C:\Users\SG0216489 windir=C:\WINDOWS WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=4fca4bb1-f394-4a32-8449-841d8d93f64b ZES_ENABLE_SYSMAN=1 _CONDA_EXE=C:\Users\SG0216489\conda\Scripts\conda.exe _CONDA_ROOT=C:\Users\SG0216489\conda __CONDA_OPENSLL_CERT_FILE_SET=1 __PSLockDownPolicy=0]
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 shell.go:Pwd:422 → C:\Zl\ss\H2\ccw\reg
[TRACE] 09:58:58.570 shell.go:Pwd() - 0s
[DEBUG] 09:58:58.570 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 shell.go:User:543 → SG0216489
[TRACE] 09:58:58.570 shell.go:User() - 0s
[DEBUG] 09:58:58.570 shell.go:Host:555 → DEGQKMZH3
[TRACE] 09:58:58.570 shell.go:Host() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.570 shell.go:Getenv(SHLVL) - 0s
[TRACE] 09:58:58.570 shell.go:TemplateCache() - 81.5µs
[DEBUG] 09:58:58.570 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.570 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 09:58:58.570 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.570 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 09:58:58.570 shell.go:Flags() - 0s
[TRACE] 09:58:58.570 shell.go:Flags() - 0s
[TRACE] 09:58:58.570 shell.go:Shell() - 0s
[TRACE] 09:58:58.570 shell.go:Flags() - 0s
[DEBUG] 09:58:58.570 properties.go:GetString:28 → {{ .Code }}
[TRACE] 09:58:58.570 shell.go:Pwd() - 0s
[DEBUG] 09:58:58.570 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 segment.go:SetEnabled:494 → Segment: Exit
[TRACE] 09:58:58.570 shell.go:StatusCodes() - 0s
[DEBUG] 09:58:58.570 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 09:58:58.570 shell.go:Flags() - 0s
[TRACE] 09:58:58.570 shell.go:Pwd() - 0s
[DEBUG] 09:58:58.570 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 segment.go:SetEnabled:494 → Segment: Path
[TRACE] 09:58:58.570 shell.go:Pwd() - 0s
[TRACE] 09:58:58.570 shell.go:Shell() - 0s
[TRACE] 09:58:58.570 shell.go:Flags() - 0s
[TRACE] 09:58:58.570 shell.go:TemplateCache() - 0s
[DEBUG] 09:58:58.570 properties.go:GetBool:22 → always_enabled: true
[TRACE] 09:58:58.570 shell.go:TemplateCache() - 0s
[TRACE] 09:58:58.570 shell.go:Flags() - 0s
[TRACE] 09:58:58.570 shell.go:Pwd() - 0s
[DEBUG] 09:58:58.570 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 segment.go:SetEnabled:494 → Segment: Root
[TRACE] 09:58:58.570 shell_windows.go:Root() - 0s
[DEBUG] 09:58:58.570 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 09:58:58.570 properties.go:GetString:28 → 
[DEBUG] 09:58:58.570 properties.go:GetString:28 → 
[DEBUG] 09:58:58.570 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.570 shell.go:Flags() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 properties.go:GetString:28 → ~
[DEBUG] 09:58:58.570 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 09:58:58.570 shell.go:Pwd() - 0s
[TRACE] 09:58:58.570 shell.go:PathSeparator() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.570 shell.go:Flags() - 0s
[TRACE] 09:58:58.570 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.570 segment.go:SetEnabled:494 → Segment: Session
[DEBUG] 09:58:58.570 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.570 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 09:58:58.571 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.571 shell.go:Getenv(SSH_CLIENT) - 550.8µs
[TRACE] 09:58:58.571 shell.go:Pwd() - 0s
[TRACE] 09:58:58.571 shell.go:TemplateCache() - 0s
[DEBUG] 09:58:58.571 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.571 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.571 segment.go:SetEnabled:494 → Segment: Git
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:PathSeparator() - 0s
[TRACE] 09:58:58.574 shell.go:PathSeparator() - 0s
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:GOOS() - 0s
[TRACE] 09:58:58.574 shell.go:PathSeparator() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:PathSeparator() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:PathSeparator() - 0s
[DEBUG] 09:58:58.575 properties.go:GetString:28 → folder
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:GOOS() - 0s
[TRACE] 09:58:58.575 shell.go:PathSeparator() - 0s
[DEBUG] 09:58:58.575 properties.go:GetString:28 → NO DATA
[TRACE] 09:58:58.575 shell.go:PathSeparator() - 0s
[DEBUG] 09:58:58.575 properties.go:GetString:28 → \
[TRACE] 09:58:58.575 shell.go:Pwd() - 0s
[TRACE] 09:58:58.575 shell_windows.go:IsWsl() - 0s
[TRACE] 09:58:58.575 shell.go:StackCount() - 0s
[DEBUG] 09:58:58.576 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 09:58:58.576 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 09:58:58.577 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-545
[DEBUG] 09:58:58.577 win32_windows.go:isWriteable:311 ↓
    SYNCHRONIZE
    READ_CONTROL
[DEBUG] 09:58:58.577 win32_windows.go:isWriteable:303 → current user is member of S-1-5-11
[DEBUG] 09:58:58.577 win32_windows.go:isWriteable:311 ↓
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 09:58:58.577 win32_windows.go:isWriteable:303 → current user is member of S-1-5-11
[DEBUG] 09:58:58.577 win32_windows.go:isWriteable:311 ↓
    GENERIC_READ
    GENERIC_WRITE
    GENERIC_EXECUTE
    DELETE
[DEBUG] 09:58:58.577 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 09:58:58.577 shell_windows.go:DirIsWritable() - 1.763ms
[TRACE] 09:58:58.577 shell.go:TemplateCache() - 0s
[DEBUG] 09:58:58.582 shell.go:CommandPath:594 → C:\Program Files\Git\cmd\git.exe
[TRACE] 09:58:58.582 shell.go:CommandPath(git.exe) - 7.8043ms
[TRACE] 09:58:58.582 shell.go:HasCommand(git.exe) - 7.8043ms
[TRACE] 09:58:58.582 shell.go:Pwd() - 0s
[TRACE] 09:58:58.582 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 09:58:58.582 properties.go:GetStringArray:52 → exclude_folders: []
[DEBUG] 09:58:58.582 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.582 shell.go:GOOS() - 0s
[TRACE] 09:58:58.582 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.582 properties.go:GetBool:22 → fetch_user: false
[TRACE] 09:58:58.582 shell.go:GOOS() - 0s
[TRACE] 09:58:58.582 shell.go:GOOS() - 0s
[TRACE] 09:58:58.582 shell.go:GOOS() - 0s
[TRACE] 09:58:58.582 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.582 shell.go:Getenv:392 → NO DATA
[TRACE] 09:58:58.582 shell.go:Getenv(POSH_GIT_STATUS) - 0s
[DEBUG] 09:58:58.582 properties.go:GetBool:22 → fetch_status: true
[DEBUG] 09:58:58.582 properties.go:GetStringArray:52 → ignore_status: []
[DEBUG] 09:58:58.582 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:58.582 shell.go:GOOS() - 0s
[DEBUG] 09:58:58.582 properties.go:GetKeyValueMap:46 → status_formats: map[]
[DEBUG] 09:58:58.582 properties.go:GetKeyValueMap:46 → untracked_modes: map[]
[DEBUG] 09:58:58.582 properties.go:GetKeyValueMap:46 → ignore_submodules: map[]
[DEBUG] 09:58:58.986 shell.go:RunCommand:573 ↓
    # branch.oid a162ba4789be4ee7ee65025c4e0c9cf7647e6a30
    # branch.head master
    1 .M SCM. 160000 160000 160000 82c698398073b48489831f115c42e771e6a8f1cb 82c698398073b48489831f115c42e771e6a8f1cb d5
[TRACE] 09:58:58.986 shell.go:RunCommand(git.exe -C C:/Zl/ss/H2/ccw --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 404.0756ms
[DEBUG] 09:58:58.986 properties.go:GetString:28 → 
[DEBUG] 09:58:58.986 properties.go:GetInt:40 → branch_max_length: 25
[DEBUG] 09:58:58.986 shell.go:HasFolder:487 → false
[TRACE] 09:58:58.986 shell.go:HasFolder(C:\Zl\ss\H2\ccw\.git/rebase-merge) - 0s
[DEBUG] 09:58:58.986 shell.go:HasFolder:487 → false
[TRACE] 09:58:58.986 shell.go:HasFolder(C:\Zl\ss\H2\ccw\.git/rebase-apply) - 0s
[DEBUG] 09:58:58.986 properties.go:GetString:28 → 
[DEBUG] 09:58:58.986 shell.go:HasFilesInDir:458 → false
[TRACE] 09:58:58.986 shell.go:HasFilesInDir(MERGE_MSG) - 0s
[DEBUG] 09:58:58.986 shell.go:HasFilesInDir:458 → false
[TRACE] 09:58:58.986 shell.go:HasFilesInDir(CHERRY_PICK_HEAD) - 0s
[DEBUG] 09:58:58.986 shell.go:HasFilesInDir:458 → false
[TRACE] 09:58:58.986 shell.go:HasFilesInDir(REVERT_HEAD) - 0s
[DEBUG] 09:58:58.986 shell.go:HasFilesInDir:458 → false
[TRACE] 09:58:58.986 shell.go:HasFilesInDir(sequencer/todo) - 512.3µs
[DEBUG] 09:58:58.986 properties.go:GetString:28 → ≢
[DEBUG] 09:58:58.986 properties.go:GetBool:22 → fetch_upstream_icon: true
[ERROR] 09:58:59.064 shell.go:RunCommand:571 → exit status 2
[DEBUG] 09:58:59.064 shell.go:RunCommand:573 ↓
    error: No such remote 'origin'

[TRACE] 09:58:59.064 shell.go:RunCommand(git.exe -C C:/Zl/ss/H2/ccw --no-optional-locks -c core.quotepath=false -c color.status=false remote get-url origin) - 78.0907ms
[TRACE] 09:58:59.064 shell.go:TemplateCache() - 0s
[DEBUG] 09:58:59.064 text.go:Render:70 → Rendering template:  {{ if gt .Code 0 }}{{ else }}{{ end }} 
[DEBUG] 09:58:59.064 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }} 
[DEBUG] 09:58:59.064 text.go:Render:70 → Rendering template:   {{ path .Path .Location }} 
[DEBUG] 09:58:59.065 text.go:Render:70 → Rendering template:  {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} 
[TRACE] 09:58:59.065 shell.go:TemplateCache() - 0s
[TRACE] 09:58:59.065 shell.go:Shell() - 0s
[TRACE] 09:58:59.065 shell.go:TemplateCache() - 0s
[TRACE] 09:58:59.066 shell.go:TemplateCache() - 0s
[TRACE] 09:58:59.066 shell.go:Shell() - 0s
[TRACE] 09:58:59.066 shell.go:Shell() - 0s
[TRACE] 09:58:59.067 shell.go:TemplateCache() - 0s
[TRACE] 09:58:59.067 shell.go:Shell() - 0s
[DEBUG] 09:58:59.067 text.go:Render:70 → Rendering template: diamond
[DEBUG] 09:58:59.067 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:58:59.067 text.go:Render:70 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}
[TRACE] 09:58:59.068 shell.go:TemplateCache() - 0s
[DEBUG] 09:58:59.068 text.go:Render:70 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:black{{ end }}
[TRACE] 09:58:59.068 shell.go:TemplateCache() - 0s
[DEBUG] 09:58:59.068 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:58:59.068 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:58:59.068 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 09:58:59.068 shell.go:TemplateCache() - 0s
[DEBUG] 09:58:59.068 text.go:Render:70 → Rendering template: diamond
[TRACE] 09:58:59.068 shell.go:Shell() - 0s
[TRACE] 09:58:59.068 shell.go:Shell() - 0s
[TRACE] 09:58:59.068 shell.go:Flags() - 0s
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.068 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:59.068 shell.go:GOOS() - 0s
[DEBUG] 09:58:59.068 segment.go:SetEnabled:494 → Segment: Time
[DEBUG] 09:58:59.068 properties.go:GetString:28 → 15:04:05
[TRACE] 09:58:59.068 shell.go:TemplateCache() - 0s
[TRACE] 09:58:59.068 shell.go:Flags() - 0s
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.068 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:59.068 shell.go:GOOS() - 0s
[DEBUG] 09:58:59.068 segment.go:SetEnabled:494 → Segment: Node
[DEBUG] 09:58:59.068 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 09:58:59.068 properties.go:GetStringArray:52 → folders: []
[DEBUG] 09:58:59.068 properties.go:GetBool:22 → home_enabled: false
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.068 shell_windows.go:56 → C:\Users\SG0216489
[DEBUG] 09:58:59.068 properties.go:GetString:28 → files
[DEBUG] 09:58:59.068 properties.go:GetBool:22 → fetch_package_manager: false
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[TRACE] 09:58:59.068 shell.go:Flags() - 0s
[TRACE] 09:58:59.068 shell.go:Flags() - 0s
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.068 properties.go:GetString:28 → files
[DEBUG] 09:58:59.068 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[TRACE] 09:58:59.068 shell.go:GOOS() - 0s
[DEBUG] 09:58:59.068 segment.go:SetEnabled:494 → Segment: Go
[DEBUG] 09:58:59.068 shell_windows.go:56 → C:\Users\SG0216489
[DEBUG] 09:58:59.068 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[TRACE] 09:58:59.068 shell.go:GOOS() - 0s
[DEBUG] 09:58:59.068 properties.go:GetStringArray:52 → folders: []
[DEBUG] 09:58:59.068 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 09:58:59.068 shell.go:Flags() - 0s
[DEBUG] 09:58:59.068 properties.go:GetBool:22 → home_enabled: false
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.068 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv env venv-win pyenv-win]
[DEBUG] 09:58:59.068 shell_windows.go:56 → C:\Users\SG0216489
[DEBUG] 09:58:59.068 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 09:58:59.068 properties.go:GetString:28 → files
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.068 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.068 shell.go:HasFiles(*.js) - 0s
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.068 properties.go:GetBool:22 → fetch_virtual_env: false
[DEBUG] 09:58:59.068 shell_windows.go:56 → C:\Users\SG0216489
[TRACE] 09:58:59.068 shell.go:Pwd() - 0s
[TRACE] 09:58:59.068 shell.go:GOOS() - 0s
[DEBUG] 09:58:59.068 segment.go:SetEnabled:494 → Segment: Shell
[DEBUG] 09:58:59.068 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 09:58:59.069 shell.go:Shell() - 0s
[TRACE] 09:58:59.069 shell.go:Flags() - 0s
[TRACE] 09:58:59.069 shell.go:TemplateCache() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(*.ts) - 707.3µs
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(package.json) - 0s
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(.nvmrc) - 0s
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[DEBUG] 09:58:59.069 shell.go:HasFiles(*.go) - 707.3µs
[TRACE] 09:58:59.069 shell.go:HasFiles(pnpm-workspace.yaml) - 0s
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(.pnpmfile.cjs) - 0s
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(.npmrc) - 0s
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(*.py) - 707.3µs
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(go.mod) - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(.vue) - 505µs
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(*.ipynb) - 505µs
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(pyproject.toml) - 0s
[TRACE] 09:58:59.069 shell.go:Pwd() - 0s
[DEBUG] 09:58:59.069 shell.go:HasFiles:444 → false
[TRACE] 09:58:59.069 shell.go:HasFiles(venv.bak) - 0s
[DEBUG] 09:58:59.069 shell.go:HasFolder:487 → false
[TRACE] 09:58:59.069 shell.go:HasFolder(.venv) - 0s
[DEBUG] 09:58:59.069 shell.go:HasFolder:487 → false
[TRACE] 09:58:59.069 shell.go:HasFolder(venv) - 0s
[DEBUG] 09:58:59.069 shell.go:HasFolder:487 → false
[TRACE] 09:58:59.069 shell.go:HasFolder(virtualenv) - 0s
[DEBUG] 09:58:59.069 shell.go:HasFolder:487 → false
[TRACE] 09:58:59.069 shell.go:HasFolder(env) - 0s
[DEBUG] 09:58:59.069 shell.go:HasFolder:487 → false
[TRACE] 09:58:59.069 shell.go:HasFolder(venv-win) - 0s
[DEBUG] 09:58:59.069 shell.go:HasFolder:487 → false
[TRACE] 09:58:59.069 shell.go:HasFolder(pyenv-win) - 0s
[DEBUG] 09:58:59.069 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[DEBUG] 09:58:59.070 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></> 
[TRACE] 09:58:59.070 shell.go:TemplateCache() - 0s
[TRACE] 09:58:59.070 shell.go:Shell() - 0s
[TRACE] 09:58:59.070 shell.go:TemplateCache() - 0s
[TRACE] 09:58:59.070 shell.go:Shell() - 0s
[DEBUG] 09:58:59.070 text.go:Render:70 → Rendering template: plain
[DEBUG] 09:58:59.070 text.go:Render:70 → Rendering template: plain
[DEBUG] 09:58:59.070 text.go:Render:70 → Rendering template: plain
[DEBUG] 09:58:59.070 text.go:Render:70 → Rendering template: plain
[DEBUG] 09:58:59.070 text.go:Render:70 → Rendering template: plain
[TRACE] 09:58:59.070 shell.go:Shell() - 0s
[TRACE] 09:58:59.070 shell.go:Flags() - 0s
[TRACE] 09:58:59.070 shell.go:Shell() - 0s
[TRACE] 09:58:59.070 shell.go:Shell() - 0s
[DEBUG] 09:58:59.071 shell_windows.go:TerminalWidth:109 → terminal width: 162
[TRACE] 09:58:59.071 shell_windows.go:TerminalWidth() - 550.6µs
[DEBUG] 09:58:59.071 shell.go:Getenv:392 → C:\Users\SG0216489\AppData\Local
[TRACE] 09:58:59.071 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 09:58:59.071 shell_windows.go:CachePath() - 0s
[TRACE] 09:58:59.072 shell.go:Flags() - 0s
JanDeDobbeleer commented 10 months ago

This should've been fixed so upgrading should solve that.

github-actions[bot] commented 5 months ago

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.