#O Codex dependencies may need repair
1 messages ยท Page 1 of 1 (latest)
Yes
but I already try without wsl also
fresh windows
windows pro and home version
OK, you might need to back up your config folder. In WSL I know precisely where it's located: ~/.codex, so mv ~/.codex ~/.codex.bak would work
On Windows, they store it somewhere like C:\AppData. No idea where, but there's a folder that codex uses where config.toml is located as well as the desktop app's configs. If you rename that folder, then launch codex, that's like a fresh installation. At that point it should rule out whether it's a configuration issue or a bug in the desktop app
I already try everthing
you have codex in your pc? this error appear for you w
you use windows?
actually I have the same message in codex app on windows 10 (trying to run it in wsl)
doing the reinstall button does nothing I think
but I also still barely tried using the app much for other reasons
for some reason, I do "Toggle file tree" and it shows nothing on the project I have added or anywhere, it just does nothing, how can I see the files? or when I open it in vscode through codex, it just opens vscode in windows to the mnt, when I would rather have it open the remote in wsl
or I added the project as \wsl$\ path just as the openai docs say, and then next time I open the app, it duplicates the project in the app with the localhost wsl path...but actually I just opened the app today and the duplciate is gone, but it was there for a while ๐ (but actually there is another project I never added in the app, huh)
the vscode extension just fits me better and that works perfectly fine in both windows and wsl
cant get myself to switch to the app ๐
on windows
C:\Users\%userprofile%\.codex
but it also didnt seem like it does not work, while I have the message in the app if I go to configuration and press Diagnose
it could at least read the project, but didnt try editing in the app
on the other hand, you can also ask codex to check why do you get that message (why didnt I think of that earlier? ๐คฃ but then I also have other reasons to not use the app)
at least for me it still mostly seems to work (I think the sandbox has some issue though, but it can still do stuff outside)
VS Codeโs extension can work because it is using a different launch path than this desktop appโs sandboxed unified exec; in this app, the sandbox helper state shows helper_unknown_error
its still checking
well ๐คทโโ๏ธ
and when you click reinstall
I also dont want to break/mess up my vscode one ๐
even renaming
.codex\.sandbox
and
.codex\bin\wsl
(to not affect vscode extension)
does not help, it never recreates the .sandbox folder, hmm
but it did recreate the wsl one
and reinstall still immediately throws the error
Rename-Item "$env:APPDATA\Codex" "Codex.bak-$stamp" -ErrorAction SilentlyContinue
Rename-Item "$env:LOCALAPPDATA\Codex" "Codex.bak-$stamp" -ErrorAction SilentlyContinue```
also not
weird
guess /feedback it is
and vscode extension ftw
I manage to solve, need enalve develper mode in windows
nice
not for me
always had that on ๐
O Codex dependencies may need repair
Possible Windows fix: enable Developer Mode for runtime extraction failures
enable Developer Mode in your windows?
always had it enabled
and still show O Codex dependencies may need repair ?
I found a folder in windows that show all erros of the codex app so I use this to debug and solve
yep, as you can see above
you use windows 11 ?
10 I donยดt know I use windows 11
its fine
I am good with vscode extension for now
see in your pc you have this folder ?
C:\Users<your-user-name>\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\Codex\Logs
and another thing close the codex and delete this folder (make a backup first) C:\Users<your-user-name>.cache\codex-runtimes\
damn, how many logs does it make? ๐
it also logs to
C:\Users\%userprofile%\.codex\.sandbox\sandbox.log
however in the localcache
the last log is from last sunday, which is pretty weird
since I was messing with the desktop app today quite a bit and I use the vscode extension all the time
so why only from sunday last ๐
last log entry is from older version
26.429.8261.0_x64
but I have
26.506.3741.0_x64
as if it stopped logging there since some point
dont have that