sedwards2009 / extraterm

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

Windows 10 2004, application starts then closes #316

Closed journeym closed 3 years ago

journeym commented 3 years ago

Tried reinstalling, deleting /Appdata/Roaming/extraterm, nothing helps

hartescout commented 3 years ago

I am having the same issue, tried the same mitigations. Hapens with Binary install and choco install. The following is output from the cmd prompt running as admin. Same output in powershell 7 and windows terminal powershell 6

c:\Program Files\Extraterm>extraterm.exe

c:\Program Files\Extraterm>
2020-12-25 06:06:02.684 INFO [MainConfig] Looking for application_paths.json at 'c:\Program Files\Extraterm\application_paths.json'
2020-12-25 06:06:02.686 INFO [main] Recording logs to  C:\Users\*****\AppData\Roaming\extraterm\extraterm.log
2020-12-25 06:06:02.727 INFO [MainConfig] Reading user configuration from C:\Users\*****\AppData\Roaming\extraterm\extraterm.json
2020-12-25 06:06:02.727 INFO [main] User extension directory is: C:\Users\ianhh\AppData\Roaming\extraterm\extensions
2020-12-25 06:06:02.727 INFO [MainExtensionManager #0] Scanning 'c:\Program Files\Extraterm\resources\app\extensions' for extensions.
2020-12-25 06:06:02.732 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\AudioViewer'.
2020-12-25 06:06:02.732 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\CommunitySyntaxThemes'.
2020-12-25 06:06:02.733 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\CommunityTerminalThemes'.
2020-12-25 06:06:02.735 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\CopyLink'.
2020-12-25 06:06:02.735 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\DefaultKeybindings'.
2020-12-25 06:06:02.736 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\DefaultSyntaxTheme'.
2020-12-25 06:06:02.736 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\DefaultTerminalTheme'.
2020-12-25 06:06:02.737 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\Find'.
2020-12-25 06:06:02.738 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\InjectShellIntegration'.
2020-12-25 06:06:02.739 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\InsertEmoji'.
2020-12-25 06:06:02.750 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\InternalCommands'.
2020-12-25 06:06:02.754 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\ITermColorsTerminalThemeProvider'.
2020-12-25 06:06:02.755 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\OpenLink'.
2020-12-25 06:06:02.756 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\ProxySessionBackend'.
2020-12-25 06:06:02.757 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\ProxySessionEditor'.
2020-12-25 06:06:02.757 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\TerminalTitle'.
2020-12-25 06:06:02.758 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\TextMateSyntaxThemeProvider'.
2020-12-25 06:06:02.759 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\TextViewerOptions'.
2020-12-25 06:06:02.759 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\TLDRPages'.
2020-12-25 06:06:02.759 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\UnixSessionBackend'.
2020-12-25 06:06:02.760 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\UnixSessionEditor'.
2020-12-25 06:06:02.761 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\WindowsConsoleSessionBackend'.
2020-12-25 06:06:02.761 INFO [MainExtensionManager #0] Read extension metadata from 'c:\Program Files\Extraterm\resources\app\extensions\WindowsConsoleSessionEditor'.
2020-12-25 06:06:02.762 INFO [MainExtensionManager #0] Starting extension 'community-syntax-themes' in the main process.2020-12-25 06:06:02.762 INFO [MainExtensionManager #0] Starting extension 'community-terminal-themes' in the main process.
2020-12-25 06:06:02.762 INFO [MainExtensionManager #0] Starting extension 'default-syntax-theme' in the main process.
2020-12-25 06:06:02.763 INFO [MainExtensionManager #0] Starting extension 'default-terminal-theme' in the main process.
2020-12-25 06:06:02.763 INFO [MainExtensionManager #0] Starting extension 'itermcolors-terminal-theme-provider' in the main process.
2020-12-25 06:06:02.780 DEBUG [[Main]itermcolors-terminal-theme-provider] ITermColorTerminalThemeProvider activating
2020-12-25 06:06:02.780 INFO [MainExtensionManager #0] Starting extension 'proxy-session-backend' in the main process.
2020-12-25 06:06:02.812 INFO [MainExtensionManager #0] Starting extension 'textmate-syntax-theme-provider' in the main process.
2020-12-25 06:06:02.814 DEBUG [[Main]textmate-syntax-theme-provider] TextMateSyntaxThemeProvider activating
2020-12-25 06:06:02.814 INFO [MainExtensionManager #0] Starting extension 'windows-console-session-backend' in the main process.
2020-12-25 06:06:02.824 WARN [ConfigDatabaseImpl #0] Unable to find config for key  session
2020-12-25 06:06:02.825 WARN [ConfigDatabaseImpl #0] Unable to find config for key  command_line_action
2020-12-25 06:06:02.825 WARN [ConfigDatabaseImpl #0] Unable to find config for key  general
2020-12-25 06:06:02.829 WARN [ConfigDatabaseImpl #0] Unable to find config for key  system
2020-12-25 06:06:02.936 INFO [BulkFileProtocolConnector #0] Bulk file server running on 127.0.0.1 port 1914
(node:5988) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2020-12-25 06:06:04.732 WARN [[Main]proxy-session-backend] 'wsl.exe pwd' returned status code ${cdResult.status} and stdout '${cdResult.stdout}'.
2020-12-25 06:06:04.732 WARN [[Main]proxy-session-backend] 'wsl.exe pwd' gave unexpected output. stdout '${cdResult.stdout}'.
2020-12-25 06:06:04.734 DEBUG [[Main]proxy-session-backend] serverPath: P2020-12-25 06:06:04.738 DEBUG [main] handlePtyCreate ptyId: 1, sender.id: 1
2020-12-25 06:06:04.760 WARN [[Main]proxy-session-backend] SyntaxError: Unexpected token P in JSON at position 0
2020-12-25 06:06:04.806 DEBUG [PtyManager #0] handlePtyResize() WARNING: Input arrived for a terminal which doesn't exist.
2020-12-25 06:06:04.806 DEBUG [PtyManager #0] handlePtyOutputBufferSize() WARNING: Input arrived for a terminal which doesn't exist.
2020-12-25 06:06:04.821 DEBUG [PtyManager #0] handlePtyCloseRequest() WARNING: Input arrived for a terminal which doesn't exist.
2020-12-25 06:06:04.847 DEBUG [PtyManager #0] handlePtyCloseRequest() WARNING: Input arrived for a terminal which doesn't exist.
journeym commented 3 years ago

For me, the problem was i didnt have wsl distibution installed, after i have installed ubunu distribution, and got wsl command functioning in command prompt (opening linux subsystem prompt) everything started working. Seems extraterm defaults to wsl on windows these days, which is really strange, should be cmd imo.