Config error on KDE konsole on arch linux #4399
Answered
by
tymek1317
tymek1317
asked this question in
Troubleshoot
-
Code of Conduct
What happened?
Themebubbles What OS are you seeing the problem on?Linux Which shell are you using?bash Log outputSegments:
ConsoleTitle(true) - 0 ms
Session(true) - 0 ms
Path(true) - 0 ms
Git(false) - 0 ms
Root(false) - 0 ms
Exit(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.710345ms
Cache path: /home/doctor/.cache/oh-my-posh
Config path: /home/doctor/bubbles.omp.json
Logs:
[DEBUG] 18:26:18.022 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.022 shell.go:Getenv(TERM_PROGRAM) - 44.328µs
[DEBUG] 18:26:18.022 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.022 shell.go:Getenv(OMP_CACHE_DIR) - 9.635µs
[DEBUG] 18:26:18.022 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.022 shell.go:Getenv(XDG_CACHE_HOME) - 8.132µs
[TRACE] 18:26:18.022 shell_unix.go:CachePath() - 67.469µs
[DEBUG] 18:26:18.023 shell.go:Getenv:392 → /home/doctor/bubbles.omp.json
[TRACE] 18:26:18.023 shell.go:Getenv(POSH_THEME) - 12.818µs
[DEBUG] 18:26:18.023 shell_unix.go:Platform:77 → arch
[TRACE] 18:26:18.023 shell.go:resolveConfigPath() - 29.714µs
[TRACE] 18:26:18.023 shell.go:Init() - 1.123042ms
[TRACE] 18:26:18.023 shell.go:Flags() - 200ns
[ERROR] 18:26:18.023 config.go:loadConfig:160 → open /home/doctor/bubbles.omp.json: no such file or directory
[TRACE] 18:26:18.023 config.go:loadConfig() - 64.837µs
[TRACE] 18:26:18.023 shell.go:Flags() - 95ns
[DEBUG] 18:26:18.023 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.023 shell.go:Getenv(OMP_CACHE_DISABLED) - 6.981µs
[DEBUG] 18:26:18.023 shell.go:Shell:646 → no shell name provided in flags, trying to detect it
[DEBUG] 18:26:18.024 shell.go:Shell:654 → process name: bash
[TRACE] 18:26:18.024 shell.go:Shell() - 1.428131ms
[DEBUG] 18:26:18.024 shell.go:Getenv:392 → 5.1.16(1)-release
[TRACE] 18:26:18.025 shell.go:Getenv(POSH_SHELL_VERSION) - 57.907µs
[DEBUG] 18:26:18.025 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 18:26:18.025 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 18:26:18.025 shell_unix.go:Root() - 1.616µs
[TRACE] 18:26:18.025 shell.go:Shell() - 135ns
[TRACE] 18:26:18.025 shell.go:StatusCodes() - 117ns
[DEBUG] 18:26:18.025 shell_unix.go:IsWsl:35 → false
[TRACE] 18:26:18.025 shell_unix.go:IsWsl() - 20.477µs
[DEBUG] 18:26:18.025 shell.go:TemplateCache:827 → environment: [SHELL=/usr/bin/bash SESSION_MANAGER=local/TARDIS:@/tmp/.ICE-unix/593,unix/TARDIS:/tmp/.ICE-unix/593 WINDOWID=54525965 COLORTERM=truecolor XDG_CONFIG_DIRS=/home/doctor/.config/kdedefaults:/etc/xdg XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 POSH_PID=12664 LANGUAGE= SHELL_SESSION_ID=fe03bd8367634bfeab2f6f3cef453f5a MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA= DESKTOP_SESSION=plasma GTK_RC_FILES=/etc/gtk/gtkrc:/home/doctor/.gtkrc:/home/doctor/.config/gtkrc XCURSOR_SIZE=24 GTK_MODULES=canberra-gtk-module XDG_SEAT=seat0 PWD=/home/doctor XDG_SESSION_DESKTOP=KDE LOGNAME=doctor XDG_SESSION_TYPE=x11 SYSTEMD_EXEC_PID=628 XAUTHORITY=/tmp/xauth_JvXqJm MOTD_SHOWN=pam GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/doctor/.gtkrc-2.0:/home/doctor/.config/gtkrc-2.0 HOME=/home/doctor LANG=pl_PL.UTF-8 XDG_CURRENT_DESKTOP=KDE POSH_SHELL_VERSION=5.1.16(1)-release KONSOLE_DBUS_SERVICE=:1.318 MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure KONSOLE_DBUS_SESSION=/Sessions/1 PROFILEHOME= CONDA_PROMPT_MODIFIER=false XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 INVOCATION_ID=cd52fe0c48c44c08aed10ef9dbe01a34 KONSOLE_VERSION=230802 MANAGERPID=480 KDE_SESSION_UID=1000 XDG_SESSION_CLASS=user TERM=xterm-256color USER=doctor COLORFGBG=15;0 KDE_SESSION_VERSION=5 PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket DISPLAY=:0 SHLVL=1 XDG_VTNR=2 XDG_SESSION_ID=2 POSH_THEME=/home/doctor/bubbles.omp.json XDG_RUNTIME_DIR=/run/user/1000 DEBUGINFOD_URLS=https://debuginfod.archlinux.org QT_AUTO_SCREEN_SCALE_FACTOR=0 JOURNAL_STREAM=8:22390 XCURSOR_THEME=breeze_cursors XDG_DATA_DIRS=/home/doctor/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share KDE_FULL_SESSION=true PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus KDE_APPLICATIONS_AS_SCOPE=1 MAIL=/var/spool/mail/doctor POWERLINE_COMMAND=oh-my-posh KONSOLE_DBUS_WINDOW=/Windows/1 _=/usr/local/bin/oh-my-posh]
[TRACE] 18:26:18.025 shell.go:GOOS() - 196ns
[DEBUG] 18:26:18.025 shell.go:Pwd:422 → /home/doctor
[TRACE] 18:26:18.025 shell.go:Pwd() - 30.154µs
[TRACE] 18:26:18.025 shell.go:GOOS() - 142ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 56ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 45ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 49ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 134ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 56ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 57ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 48ns
[DEBUG] 18:26:18.025 shell.go:User:557 → doctor
[TRACE] 18:26:18.025 shell.go:User() - 7.059µs
[DEBUG] 18:26:18.025 shell.go:Host:569 → TARDIS
[TRACE] 18:26:18.025 shell.go:Host() - 13.493µs
[TRACE] 18:26:18.025 shell.go:GOOS() - 140ns
[DEBUG] 18:26:18.025 shell_unix.go:Platform:77 → arch
[DEBUG] 18:26:18.025 shell.go:Getenv:392 → 1
[TRACE] 18:26:18.025 shell.go:Getenv(SHLVL) - 6.131µs
[TRACE] 18:26:18.025 shell.go:TemplateCache() - 384.396µs
[DEBUG] 18:26:18.025 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.025 shell.go:Getenv(POSH_CURSOR_LINE) - 8.832µs
[DEBUG] 18:26:18.025 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.025 shell.go:Getenv(POSH_CURSOR_COLUMN) - 5.351µs
[TRACE] 18:26:18.025 shell.go:Flags() - 80ns
[TRACE] 18:26:18.025 shell.go:Flags() - 58ns
[TRACE] 18:26:18.025 shell.go:Shell() - 100ns
[TRACE] 18:26:18.025 shell.go:Shell() - 63ns
[TRACE] 18:26:18.025 shell.go:Flags() - 200ns
[TRACE] 18:26:18.025 shell.go:Flags() - 214ns
[TRACE] 18:26:18.025 shell.go:Pwd() - 264ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 82ns
[DEBUG] 18:26:18.025 segment.go:SetEnabled:500 → Segment: Path
[DEBUG] 18:26:18.025 properties.go:GetString:28 → {{ .Code }}
[TRACE] 18:26:18.025 shell.go:Pwd() - 115ns
[TRACE] 18:26:18.025 shell.go:Pwd() - 229ns
[TRACE] 18:26:18.025 shell.go:GOOS() - 95ns
[TRACE] 18:26:18.025 shell.go:Shell() - 122ns
[DEBUG] 18:26:18.025 segment.go:SetEnabled:500 → Segment: Exit
[TRACE] 18:26:18.025 shell.go:Shell() - 73ns
[TRACE] 18:26:18.026 shell.go:StatusCodes() - 85ns
[DEBUG] 18:26:18.026 text.go:Render:70 → Rendering template: {{ .Code }}
[DEBUG] 18:26:18.026 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 18:26:18.026 properties.go:GetString:28 →
[DEBUG] 18:26:18.026 properties.go:GetString:28 →
[TRACE] 18:26:18.026 shell.go:GOOS() - 167ns
[DEBUG] 18:26:18.026 properties.go:GetString:28 → ~
[DEBUG] 18:26:18.026 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 18:26:18.026 shell.go:PathSeparator() - 156ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 74ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 48ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 103ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 124ns
[TRACE] 18:26:18.026 shell.go:PathSeparator() - 102ns
[TRACE] 18:26:18.026 shell.go:PathSeparator() - 88ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 61ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 84ns
[TRACE] 18:26:18.026 shell.go:PathSeparator() - 74ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 61ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 77ns
[TRACE] 18:26:18.026 shell.go:PathSeparator() - 63ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 61ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 83ns
[TRACE] 18:26:18.026 shell.go:PathSeparator() - 79ns
[TRACE] 18:26:18.026 shell.go:Pwd() - 156ns
[DEBUG] 18:26:18.026 shell_unix.go:IsWsl:35 → false
[TRACE] 18:26:18.026 shell_unix.go:IsWsl() - 7.74µs
[TRACE] 18:26:18.026 shell.go:StackCount() - 107ns
[TRACE] 18:26:18.026 shell_unix.go:DirIsWritable(/home/doctor) - 8.527µs
[TRACE] 18:26:18.026 shell.go:TemplateCache() - 223ns
[TRACE] 18:26:18.026 shell.go:Flags() - 246ns
[TRACE] 18:26:18.026 shell.go:Pwd() - 161ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 83ns
[TRACE] 18:26:18.026 shell.go:TemplateCache() - 487ns
[DEBUG] 18:26:18.026 segment.go:SetEnabled:500 → Segment: Session
[DEBUG] 18:26:18.026 shell.go:Getenv:392 → NO DATA
[DEBUG] 18:26:18.026 properties.go:GetBool:22 → always_enabled: true
[TRACE] 18:26:18.026 shell.go:Getenv(SSH_CONNECTION) - 6.568µs
[TRACE] 18:26:18.026 shell.go:TemplateCache() - 130ns
[DEBUG] 18:26:18.026 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.026 shell.go:Getenv(SSH_CLIENT) - 5.822µs
[TRACE] 18:26:18.026 shell.go:TemplateCache() - 138ns
[TRACE] 18:26:18.026 shell.go:Flags() - 143ns
[TRACE] 18:26:18.026 shell.go:Flags() - 154ns
[TRACE] 18:26:18.026 shell.go:Pwd() - 183ns
[TRACE] 18:26:18.026 shell.go:GOOS() - 76ns
[TRACE] 18:26:18.026 shell.go:Pwd() - 128ns
[DEBUG] 18:26:18.026 segment.go:SetEnabled:500 → Segment: Git
[DEBUG] 18:26:18.027 shell_unix.go:IsWsl:35 → false
[TRACE] 18:26:18.027 shell_unix.go:IsWsl() - 13.314µs
[TRACE] 18:26:18.027 shell_unix.go:IsWsl2() - 22.099µs
[TRACE] 18:26:18.027 shell.go:GOOS() - 81ns
[ERROR] 18:26:18.027 shell.go:CommandPath:611 → exec: "git": executable file not found in $PATH
[TRACE] 18:26:18.027 shell.go:CommandPath(git) - 65.244µs
[TRACE] 18:26:18.027 shell.go:HasCommand(git) - 71.602µs
[DEBUG] 18:26:18.027 text.go:Render:70 → Rendering template: CONFIG ERROR
[DEBUG] 18:26:18.027 text.go:Render:70 → Rendering template: {{ if .SSHSession }} {{ end }}{{ .UserName }}
[TRACE] 18:26:18.027 shell.go:Shell() - 270ns
[DEBUG] 18:26:18.027 text.go:Render:70 → Rendering template: {{ path .Path .Location }}
[TRACE] 18:26:18.028 shell.go:TemplateCache() - 572ns
[TRACE] 18:26:18.028 shell.go:Shell() - 142ns
[TRACE] 18:26:18.028 shell.go:TemplateCache() - 288ns
[TRACE] 18:26:18.028 shell.go:Shell() - 113ns
[DEBUG] 18:26:18.029 text.go:Render:70 → Rendering template: diamond
[DEBUG] 18:26:18.029 text.go:Render:70 → Rendering template: powerline
[DEBUG] 18:26:18.029 text.go:Render:70 → Rendering template: powerline
[DEBUG] 18:26:18.029 text.go:Render:70 → Rendering template: powerline
[DEBUG] 18:26:18.029 text.go:Render:70 → Rendering template: p:red
[DEBUG] 18:26:18.029 text.go:Render:70 → Rendering template: diamond
[TRACE] 18:26:18.029 shell.go:Shell() - 192ns
[TRACE] 18:26:18.029 shell.go:Shell() - 61ns
[TRACE] 18:26:18.029 shell.go:Shell() - 70ns
[TRACE] 18:26:18.029 shell.go:Shell() - 51ns
[DEBUG] 18:26:18.029 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.029 shell.go:Getenv(OMP_CACHE_DISABLED) - 7.805µs
[TRACE] 18:26:18.029 shell.go:Flags() - 214ns
[TRACE] 18:26:18.029 shell.go:Flags() - 197ns
[TRACE] 18:26:18.029 shell.go:Pwd() - 391ns
[TRACE] 18:26:18.029 shell.go:GOOS() - 85ns
[DEBUG] 18:26:18.029 segment.go:SetEnabled:500 → Segment: Time
[DEBUG] 18:26:18.029 properties.go:GetString:28 → 15:04:05
[TRACE] 18:26:18.029 shell.go:TemplateCache() - 165ns
[TRACE] 18:26:18.029 shell.go:Flags() - 114ns
[TRACE] 18:26:18.029 shell.go:Pwd() - 138ns
[TRACE] 18:26:18.029 shell.go:GOOS() - 78ns
[DEBUG] 18:26:18.029 segment.go:SetEnabled:500 → Segment: Node
[DEBUG] 18:26:18.029 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 18:26:18.029 properties.go:GetStringArray:52 → folders: []
[DEBUG] 18:26:18.029 properties.go:GetBool:22 → home_enabled: false
[TRACE] 18:26:18.029 shell.go:Pwd() - 216ns
[TRACE] 18:26:18.029 shell.go:Flags() - 171ns
[TRACE] 18:26:18.029 shell.go:Pwd() - 110ns
[TRACE] 18:26:18.029 shell.go:GOOS() - 92ns
[DEBUG] 18:26:18.029 segment.go:SetEnabled:500 → Segment: Go
[DEBUG] 18:26:18.029 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 18:26:18.029 properties.go:GetStringArray:52 → folders: []
[DEBUG] 18:26:18.029 properties.go:GetBool:22 → home_enabled: false
[TRACE] 18:26:18.029 shell.go:Pwd() - 120ns
[TRACE] 18:26:18.030 shell.go:Flags() - 180ns
[DEBUG] 18:26:18.030 properties.go:GetString:28 → files
[TRACE] 18:26:18.030 shell.go:Pwd() - 154ns
[TRACE] 18:26:18.030 shell.go:GOOS() - 81ns
[DEBUG] 18:26:18.030 segment.go:SetEnabled:500 → Segment: Python
[DEBUG] 18:26:18.030 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 18:26:18.030 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 18:26:18.030 properties.go:GetBool:22 → home_enabled: false
[TRACE] 18:26:18.030 shell.go:Pwd() - 117ns
[TRACE] 18:26:18.030 shell.go:Flags() - 117ns
[TRACE] 18:26:18.030 shell.go:Pwd() - 122ns
[TRACE] 18:26:18.030 shell.go:GOOS() - 76ns
[DEBUG] 18:26:18.030 segment.go:SetEnabled:500 → Segment: Shell
[DEBUG] 18:26:18.030 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 18:26:18.030 shell.go:Shell() - 115ns
[TRACE] 18:26:18.030 shell.go:Flags() - 72ns
[TRACE] 18:26:18.030 shell.go:TemplateCache() - 145ns
[DEBUG] 18:26:18.030 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[TRACE] 18:26:18.030 shell.go:TemplateCache() - 241ns
[TRACE] 18:26:18.030 shell.go:Shell() - 126ns
[DEBUG] 18:26:18.031 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[TRACE] 18:26:18.032 shell.go:TemplateCache() - 506ns
[TRACE] 18:26:18.032 shell.go:Shell() - 132ns
[DEBUG] 18:26:18.032 text.go:Render:70 → Rendering template: plain
[DEBUG] 18:26:18.032 text.go:Render:70 → Rendering template: plain
[DEBUG] 18:26:18.032 text.go:Render:70 → Rendering template: plain
[DEBUG] 18:26:18.032 text.go:Render:70 → Rendering template: plain
[DEBUG] 18:26:18.032 text.go:Render:70 → Rendering template: plain
[TRACE] 18:26:18.032 shell.go:Shell() - 220ns
[TRACE] 18:26:18.032 shell.go:Shell() - 65ns
[TRACE] 18:26:18.032 shell.go:Flags() - 106ns
[DEBUG] 18:26:18.032 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 18:26:18.032 shell.go:TemplateCache() - 277ns
[TRACE] 18:26:18.032 shell.go:Shell() - 131ns
[TRACE] 18:26:18.032 shell.go:Shell() - 71ns
[DEBUG] 18:26:18.036 shell_unix.go:TerminalWidth:70 → terminal width: 236
[TRACE] 18:26:18.036 shell_unix.go:TerminalWidth() - 4.200625ms
[TRACE] 18:26:18.036 shell.go:Flags() - 99ns
[DEBUG] 18:26:18.037 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.037 shell.go:Getenv(OMP_CACHE_DIR) - 9.839µs
[DEBUG] 18:26:18.037 shell.go:Getenv:392 → NO DATA
[TRACE] 18:26:18.037 shell.go:Getenv(XDG_CACHE_HOME) - 8.233µs
[TRACE] 18:26:18.037 shell_unix.go:CachePath() - 55.379µs
[TRACE] 18:26:18.037 shell.go:Flags() - 99ns |
Beta Was this translation helpful? Give feedback.
Answered by
tymek1317
Oct 28, 2023
Replies: 2 comments 1 reply
-
@tymek1317 that file doesn't exist: |
Beta Was this translation helpful? Give feedback.
1 reply
-
I needed to do |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tymek1317
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I needed to do
chmod u+rw ~/.poshthmes/*.json