#O Codex dependencies may need repair

1 messages ยท Page 1 of 1 (latest)

noble musk
#

Yes

#

but I already try without wsl also

#

fresh windows

#

windows pro and home version

plush quest
#

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

noble musk
#

I already try everthing

#

you have codex in your pc? this error appear for you w

#

you use windows?

vagrant veldt
#

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 ๐Ÿ˜„

vagrant veldt
#

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

vagrant veldt
#

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 ๐Ÿ˜„

vagrant veldt
#

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
noble musk
#

I manage to solve, need enalve develper mode in windows

vagrant veldt
#

nice
not for me
always had that on ๐Ÿ˜„

noble musk
#

O Codex dependencies may need repair

#

Possible Windows fix: enable Developer Mode for runtime extraction failures

noble musk
vagrant veldt
noble musk
#

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

vagrant veldt
#

yep, as you can see above

noble musk
#

you use windows 11 ?

vagrant veldt
#

yeah

#

10

noble musk
#

10 I donยดt know I use windows 11

vagrant veldt
#

its fine
I am good with vscode extension for now

noble musk
#

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\

vagrant veldt
#

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