sedwards2009 / extraterm

The swiss army chainsaw of terminal emulators
https://extraterm.org
MIT License
2.52k stars 116 forks source link

Extraterm crashes on startup, how can I delete user settings? #344

Open Comnenus opened 3 years ago

Comnenus commented 3 years ago

In investigating https://github.com/sedwards2009/extraterm/issues/338 I tried selecting different fonts. This made Extraterm crash, and now it launches to a black window. I suspect it is trying to load a bad/missing font. The guide states "By default Extraterm stores the user configuration in a directory deep in the user’s home directory/profile." Where can I find this directory? If I delete it will extraterm recreate the default settings?

sedwards2009 commented 3 years ago

From my memory, %APPDATA%\extraterm\extraterm.json or something like that.

%APPDATA%\extraterm\ also has extraterm.log which is worth copying as it might tell us what the problem is.

Comnenus commented 3 years ago

Recreating this directory worked. Here is the log file as requested. I selected a font from the drop-down, the CPU pegged, and extraterm had to be killed. It wouldn't launch properly after that.

extraterm.log

chm-dev commented 2 years ago

Had exactly same issue with almost identical crash log. The reason is clearly wsl. In my case by some coincidence I had no wsl distribution installed on my windows. image

After removing wsl profile from extraterm.json app launched ok.

MintYale commented 2 years ago

Had exactly same issue with almost identical crash log. The reason is clearly wsl. In my case by some coincidence I had no wsl distribution installed on my windows. image

After removing wsl profile from extraterm.json app launched ok.

Exactly. In %APPDATA%\extraterm\extraterm.json of Windows, there are "WSL Default" "CMD" and "PowerShell" about sessions config, yet not every Windows PC has WSL, which leads a crash on starting the app. I think the default one better be "CMD" for Windows package, after all every Windows PC has a cmd terminal by the very default.

betazedd commented 1 year ago

I'm having this problem on macOS so these file paths aren't applicable. I tried looking for the extraterm.json file in typical locations like ~/.config and even in the Extraterm.app package itself but I can't locate it. Where is this file located on macOS? The problem has recurred even after purging the Extraterm package with homebrew and installing later versions. I recently tried 0.68 and this issue was still present for me.