JanDeDobbeleer / oh-my-posh

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

"Config Error" shown after updating v19.11.7 to v19.15.1 #4761

Closed xymunter closed 6 months ago

xymunter commented 6 months ago

Code of Conduct

What happened?

I was upgrading my installed version (19.11.7) to the new version my MS Terminal showed me - which was 19.15.1 at the time -(although a newer release 19.16.0 is shown here at the time I'm writing this) using winget.

The installation process didn't show any errors. However, I was greeted with a "Config Error" and a different (fallback?) theme: image

I haven't changed anything to the used theme since I first customized it months ago.

Theme

Customized "slimfat.omp.json"

What OS are you seeing the problem on?

No response

Which shell are you using?

No response

Log output

Version: 19.15.1

Shell: pwsh (7.4.1)

Prompt:

 Y1MUNTE1   Projects  CONFIG ERROR                                                                                                                                                                                                                  in pwsh at 11:06:39

Segments:

ConsoleTitle(true)                        -   1 ms
Session(true)                             -   0 ms
Path(true)                                -   1 ms
Git(false)                                -   4 ms
Root(false)                               -   0 ms
Status(true)                              -   0 ms
Node(false)                               -   0 ms
Go(false)                                 -   0 ms
Python(false)                             -   0 ms
Shell(true)                               -   0 ms
Time(true)                                -   0 ms

Run duration: 14.9542ms

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

Config path: D:\...\Windows Terminal\customized_slimfat.omp.json

Logs:

[DEBUG] 11:06:39.905 shell.go:Getenv:325 → NO DATA
[TRACE] 11:06:39.905 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 11:06:39.905 shell.go:Getenv:325 → C:\Users\y1munte1\AppData\Local
[TRACE] 11:06:39.905 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 11:06:39.906 shell_windows.go:CachePath() - 529.3µs
[DEBUG] 11:06:39.906 shell.go:Getenv:325 → D:\...\Windows Terminal\customized_slimfat.omp.json
[TRACE] 11:06:39.906 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 11:06:39.906 shell.go:Shell:593 → no shell name provided in flags, trying to detect it
[DEBUG] 11:06:39.911 shell.go:Shell:601 → process name: pwsh.exe
[TRACE] 11:06:39.911 shell.go:Shell() - 5.4137ms
[TRACE] 11:06:39.911 shell.go:resolveConfigPath() - 5.4137ms
[TRACE] 11:06:39.911 shell.go:Init() - 5.943ms
[TRACE] 11:06:39.911 shell.go:Flags() - 0s
[DEBUG] 11:06:39.912 config.go:loadConfig:163 → error decoding config file: invalid character '/' looking for beginning of value
[TRACE] 11:06:39.912 config.go:loadConfig() - 526.3µs
[TRACE] 11:06:39.912 shell.go:Flags() - 0s
[DEBUG] 11:06:39.912 shell.go:Getenv:325 → NO DATA
[TRACE] 11:06:39.912 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 11:06:39.912 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[TRACE] 11:06:39.912 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.912 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC4601715
[TRACE] 11:06:39.912 shell.go:Shell() - 0s
[DEBUG] 11:06:39.912 shell.go:Getenv:325 → 7.4.1
[TRACE] 11:06:39.912 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 11:06:39.912 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 11:06:39.912 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 11:06:39.914 shell_windows.go:Root() - 514.3µs
[TRACE] 11:06:39.914 shell.go:Shell() - 0s
[TRACE] 11:06:39.914 shell.go:StatusCodes() - 0s
[TRACE] 11:06:39.914 shell_windows.go:IsWsl() - 0s
...
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.914 shell.go:Pwd:355 → D:\Projects
[TRACE] 11:06:39.914 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.914 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.914 shell.go:User:493 → Y1MUNTE1
[TRACE] 11:06:39.914 shell.go:User() - 0s
[DEBUG] 11:06:39.914 shell.go:Host:505 → Y105N00AEC
[TRACE] 11:06:39.914 shell.go:Host() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.914 shell.go:Getenv:325 → NO DATA
[TRACE] 11:06:39.914 shell.go:Getenv(SHLVL) - 0s
[TRACE] 11:06:39.914 shell.go:TemplateCache() - 514.3µs
[DEBUG] 11:06:39.914 shell.go:Getenv:325 → 74
[TRACE] 11:06:39.914 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 11:06:39.914 shell.go:Getenv:325 → 1
[TRACE] 11:06:39.914 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 11:06:39.914 shell.go:Flags() - 0s
[TRACE] 11:06:39.914 shell.go:Flags() - 0s
[TRACE] 11:06:39.914 shell.go:Shell() - 0s
[TRACE] 11:06:39.914 shell.go:Shell() - 0s
[TRACE] 11:06:39.914 shell.go:Flags() - 0s
[TRACE] 11:06:39.914 shell.go:Flags() - 0s
[TRACE] 11:06:39.914 shell.go:Flags() - 0s
[TRACE] 11:06:39.914 shell.go:Pwd() - 0s
[TRACE] 11:06:39.914 shell.go:Pwd() - 0s
[TRACE] 11:06:39.914 shell.go:Flags() - 0s
[DEBUG] 11:06:39.914 shell_windows.go:58 → C:\Users\y1munte1
[DEBUG] 11:06:39.914 shell_windows.go:58 → C:\Users\y1munte1
[DEBUG] 11:06:39.914 properties.go:GetString:28 → {{ .Code }}
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.914 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.914 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.914 segment.go:SetEnabled:526 → Segment: Path
[DEBUG] 11:06:39.914 segment.go:SetEnabled:526 → Segment: Session
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.914 segment.go:SetEnabled:526 → Segment: Status
[DEBUG] 11:06:39.914 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.914 shell.go:StatusCodes() - 0s
[TRACE] 11:06:39.914 shell.go:Pwd() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.914 shell.go:Getenv:325 → NO DATA
[DEBUG] 11:06:39.914 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 11:06:39.914 shell.go:Getenv(SSH_CONNECTION) - 0s
[TRACE] 11:06:39.914 shell.go:Shell() - 0s
[DEBUG] 11:06:39.914 segment.go:SetEnabled:526 → Segment: Git
[TRACE] 11:06:39.914 shell.go:Flags() - 0s
[DEBUG] 11:06:39.914 shell.go:Getenv:325 → NO DATA
[TRACE] 11:06:39.914 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 11:06:39.914 shell.go:TemplateCache() - 0s
[DEBUG] 11:06:39.914 shell.go:Getenv:325 → C:\Users\y1munte1\AppData\Local
[TRACE] 11:06:39.914 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 11:06:39.914 shell.go:Flags() - 0s
[TRACE] 11:06:39.914 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.914 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.914 segment.go:SetEnabled:526 → Segment: Root
[DEBUG] 11:06:39.914 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 11:06:39.914 properties.go:GetString:28 → 
[DEBUG] 11:06:39.914 properties.go:GetString:28 → 
[DEBUG] 11:06:39.914 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell_windows.go:Root() - 0s
[DEBUG] 11:06:39.914 properties.go:GetString:28 → ~
[DEBUG] 11:06:39.914 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 11:06:39.914 shell.go:PathSeparator() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:PathSeparator() - 0s
[TRACE] 11:06:39.914 shell.go:PathSeparator() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:PathSeparator() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:PathSeparator() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:PathSeparator() - 0s
[DEBUG] 11:06:39.914 properties.go:GetString:28 → folder
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:GOOS() - 0s
[TRACE] 11:06:39.914 shell.go:PathSeparator() - 0s
[DEBUG] 11:06:39.914 properties.go:GetString:28 → NO DATA
[TRACE] 11:06:39.914 shell.go:PathSeparator() - 0s
[DEBUG] 11:06:39.914 properties.go:GetString:28 → \
[TRACE] 11:06:39.914 shell.go:TemplateCache() - 0s
[TRACE] 11:06:39.914 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.914 properties.go:GetBool:22 → always_enabled: true
[TRACE] 11:06:39.914 shell.go:TemplateCache() - 0s
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:303 → current user is member of S-1-5-11
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:311 ↓
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:303 → current user is member of S-1-5-11
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:311 ↓
    GENERIC_READ
    GENERIC_WRITE
    GENERIC_EXECUTE
    DELETE
[DEBUG] 11:06:39.915 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 11:06:39.915 shell_windows.go:DirIsWritable() - 1.0316ms
[TRACE] 11:06:39.915 shell.go:TemplateCache() - 0s
[DEBUG] 11:06:39.918 shell.go:CommandPath:545 → C:\Program Files\Git\cmd\git.exe
[TRACE] 11:06:39.918 shell.go:CommandPath(git.exe) - 4.1882ms
[TRACE] 11:06:39.918 shell.go:HasCommand(git.exe) - 4.1882ms
[TRACE] 11:06:39.918 shell.go:Pwd() - 0s
[ERROR] 11:06:39.919 shell.go:HasParentFilePath:689 → CreateFile .git: The system cannot find the file specified.
[TRACE] 11:06:39.919 shell.go:HasParentFilePath(.git) - 520.8µs
[DEBUG] 11:06:39.919 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template:  CONFIG ERROR
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
[TRACE] 11:06:39.919 shell.go:Shell() - 0s
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template:   {{ path .Path .Location }}
[TRACE] 11:06:39.919 shell.go:TemplateCache() - 0s
[TRACE] 11:06:39.919 shell.go:Shell() - 0s
[TRACE] 11:06:39.919 shell.go:TemplateCache() - 0s
[TRACE] 11:06:39.919 shell.go:Shell() - 0s
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template: powerline
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template: powerline
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template: powerline
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template: p:red
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template: diamond
[TRACE] 11:06:39.919 shell.go:Shell() - 0s
[TRACE] 11:06:39.919 shell.go:Shell() - 0s
[TRACE] 11:06:39.919 shell.go:Shell() - 0s
[TRACE] 11:06:39.919 shell.go:Flags() - 0s
[TRACE] 11:06:39.919 shell.go:Flags() - 0s
[TRACE] 11:06:39.919 shell.go:Flags() - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.919 shell.go:GOOS() - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 segment.go:SetEnabled:526 → Segment: Go
[DEBUG] 11:06:39.919 shell_windows.go:58 → C:\Users\y1munte1
[DEBUG] 11:06:39.919 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.919 shell.go:GOOS() - 0s
[TRACE] 11:06:39.919 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.919 segment.go:SetEnabled:526 → Segment: Time
[DEBUG] 11:06:39.919 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 11:06:39.919 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:06:39.919 properties.go:GetString:28 → 15:04:05
[DEBUG] 11:06:39.919 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[TRACE] 11:06:39.919 shell.go:TemplateCache() - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:06:39.919 shell_windows.go:58 → C:\Users\y1munte1
[DEBUG] 11:06:39.919 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:06:39.919 shell.go:Flags() - 0s
[DEBUG] 11:06:39.919 properties.go:GetString:28 → files
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 properties.go:GetBool:22 → fetch_package_manager: false
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.919 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.919 segment.go:SetEnabled:526 → Segment: Python
[DEBUG] 11:06:39.919 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 11:06:39.919 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 11:06:39.919 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell_windows.go:58 → C:\Users\y1munte1
[DEBUG] 11:06:39.919 properties.go:GetBool:22 → fetch_virtual_env: false
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[TRACE] 11:06:39.919 shell.go:Flags() - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell_windows.go:58 → C:\Users\y1munte1
[TRACE] 11:06:39.919 shell.go:GOOS() - 0s
[DEBUG] 11:06:39.919 segment.go:SetEnabled:526 → Segment: Shell
[DEBUG] 11:06:39.919 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 11:06:39.919 shell.go:Shell() - 0s
[TRACE] 11:06:39.919 shell.go:Flags() - 0s
[TRACE] 11:06:39.919 shell.go:TemplateCache() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(*.js) - 518.2µs
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(*.go) - 518.2µs
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(*.ts) - 0s
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(go.mod) - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(package.json) - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(.nvmrc) - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(pnpm-workspace.yaml) - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(.pnpmfile.cjs) - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(.npmrc) - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(.vue) - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(*.py) - 518.2µs
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(*.ipynb) - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(pyproject.toml) - 0s
[TRACE] 11:06:39.919 shell.go:Pwd() - 0s
[DEBUG] 11:06:39.919 shell.go:HasFilesInDir:408 → false
[TRACE] 11:06:39.919 shell.go:HasFilesInDir(venv.bak) - 0s
[DEBUG] 11:06:39.919 shell.go:HasFolder:437 → false
[TRACE] 11:06:39.919 shell.go:HasFolder(.venv) - 0s
[DEBUG] 11:06:39.919 shell.go:HasFolder:437 → false
[TRACE] 11:06:39.919 shell.go:HasFolder(venv) - 0s
[DEBUG] 11:06:39.919 shell.go:HasFolder:437 → false
[TRACE] 11:06:39.919 shell.go:HasFolder(virtualenv) - 0s
[DEBUG] 11:06:39.919 shell.go:HasFolder:437 → false
[TRACE] 11:06:39.919 shell.go:HasFolder(venv-win) - 0s
[DEBUG] 11:06:39.919 shell.go:HasFolder:437 → false
[TRACE] 11:06:39.919 shell.go:HasFolder(pyenv-win) - 0s
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[DEBUG] 11:06:39.919 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[TRACE] 11:06:39.920 shell.go:TemplateCache() - 0s
[TRACE] 11:06:39.920 shell.go:Shell() - 0s
[TRACE] 11:06:39.920 shell.go:TemplateCache() - 0s
[TRACE] 11:06:39.920 shell.go:Shell() - 0s
[DEBUG] 11:06:39.920 text.go:Render:70 → Rendering template: plain
[DEBUG] 11:06:39.920 text.go:Render:70 → Rendering template: plain
[DEBUG] 11:06:39.920 text.go:Render:70 → Rendering template: plain
[DEBUG] 11:06:39.920 text.go:Render:70 → Rendering template: plain
[DEBUG] 11:06:39.920 text.go:Render:70 → Rendering template: plain
[TRACE] 11:06:39.920 shell.go:Shell() - 0s
[TRACE] 11:06:39.920 shell.go:Flags() - 0s
[TRACE] 11:06:39.920 shell.go:Shell() - 0s
[TRACE] 11:06:39.920 shell.go:Shell() - 0s
[DEBUG] 11:06:39.920 shell_windows.go:TerminalWidth:111 → terminal width: 270
[TRACE] 11:06:39.920 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 11:06:39.920 shell.go:Getenv:325 → C:\Users\y1munte1\AppData\Local
[TRACE] 11:06:39.920 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 11:06:39.920 shell_windows.go:CachePath() - 0s
[TRACE] 11:06:39.920 shell.go:Flags() - 0s
xymunter commented 6 months ago

Okay, now I feel very silly. I wanted to point out a log entry marked as "ERROR" and found another, very specific error message: [DEBUG] 11:06:39.912 config.go:loadConfig:163 → error decoding config file: invalid character '/' looking for beginning of value

So I looked into my template, and found that I had commented out some stuff, using '// ....'. After removing that, the config could be reloaded again.

JanDeDobbeleer commented 6 months ago

@xymunter you have a comment in your json config. That's not accepted, so you'll need to change your file extension to jsonc and this will work.

13xforever commented 6 months ago

I suspect this will be a very common issue

JanDeDobbeleer commented 6 months ago

yes, it seems like I will have to make that the default behaviour for json, even if it's completely against the spec :-)

Lightfire228 commented 6 months ago

I had the same issue as well. Pinning this issue, and maybe adding something to the release notes / documentation would probably be a good idea

JanDeDobbeleer commented 6 months ago

@Lightfire228 I'm going to strip comments regardless ;-) See #4763

Narrat commented 6 months ago

Good thing I looked into the issues :D After updating yesterday and greeted with the error message afterwards I was now prepared to dig for the failure. Saved a lot of time :D And TIL something new about json.

github-actions[bot] commented 3 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.