Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working properly #206

Open
nocmt opened this issue Feb 15, 2019 · 37 comments
Open

Not working properly #206

nocmt opened this issue Feb 15, 2019 · 37 comments

Comments

@nocmt
Copy link

nocmt commented Feb 15, 2019

I normally installed the program, but nothing was displayed.
image

@nocmt
Copy link
Author

nocmt commented Feb 15, 2019

I don't know how to deal with it. Please help me. thanks

@ericcornelissen
Copy link
Contributor

ericcornelissen commented Feb 15, 2019

Hi @nocmt, can you give some more info?

  • What version of Windows are you running?
  • Have you been waiting for a long time?
  • Does PowerShell work when you launch it normally?
  • Does it work i you open a new tab using a different profile (Ctrl+Shift+T)?

@nocmt
Copy link
Author

nocmt commented Feb 16, 2019

  1. version is 0.3.1.0
  2. yes,I waited a long time.
  3. powershell is function normally.
  4. Yes, I tried all the configurations, but they didn't work properly.

I recommend adding a log function to feed back questions.

@Luupw3d
Copy link

Luupw3d commented Feb 17, 2019

The same problem with Windows 10 v1809.

@Littlefisher619
Copy link

The same problem with me.
Sometimes it displayed nothing until I press ENTER to the window .
And sometimes tabs are gone.
2
Version 0.3.1.0 on Windows10-1809 17763.195

@wizcas
Copy link

wizcas commented Feb 19, 2019

I have the same problem. I'm with Windows 10.0.17134.590.
None of the profiles works. After creating a new tab I get a blank UI with blinking caret. Hitting keyboard won't help. All tabs have no title except the initial one.
The window can't be opened anymore if closed. By double-clicking the icon in the tray, the window flashes and closed again very soon.

@hanskokx
Copy link
Contributor

hanskokx commented Feb 19, 2019 via email

@wizcas
Copy link

wizcas commented Feb 20, 2019

Is there anything in Event Viewer? -- Hans Kokx

On February 19, 2019 10:58:12 AM "Vincent (Wizcas) Chen" @.***> wrote: I have the same problem. I'm with Windows 10.0.17134.590. None of the profiles works. After creating a new tab I get a blank UI with blinking caret. Hitting keyboard won't help. All tabs have no title except the initial one. The window can't be opened anymore if closed. By double-clicking the icon in the tray, the window flashes and closed again very soon.— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

I didn't see anything noticable in the Event Viewer. What event or keyword should I look for?

@Littlefisher619
Copy link

Is there anything in Event Viewer? -- Hans Kokx

On February 19, 2019 10:58:12 AM "Vincent (Wizcas) Chen" @.***> wrote: I have the same problem. I'm with Windows 10.0.17134.590. None of the profiles works. After creating a new tab I get a blank UI with blinking caret. Hitting keyboard won't help. All tabs have no title except the initial one. The window can't be opened anymore if closed. By double-clicking the icon in the tray, the window flashes and closed again very soon.— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Nothing neither in my Event Viewer.

@wizcas
Copy link

wizcas commented Feb 20, 2019

And from today on I can't open a Fluent Terminal window anymore. The application is running as shown in the system tray, but the main window closed in a second every time I try to open/show it. Is there any application log I can review?

@wizcas
Copy link

wizcas commented Feb 20, 2019

As I noticed @Littlefisher619 and I are both using Windows in zh-cn language. Is there anything to do with the OS language?

@hanskokx
Copy link
Contributor

hanskokx commented Feb 20, 2019 via email

@wizcas
Copy link

wizcas commented Feb 21, 2019

It's certainly possible. Would it be too much to ask that you switch the system language to en-US and see if the problem persists?

I'll try it later and let u know the result ;)

@NarathSpring
Copy link

It's certainly possible. Would it be too much to ask that you switch the system language to en-US and see if the problem persists?

I've tried and still have the problem.

@wizcas
Copy link

wizcas commented Feb 21, 2019

@skipmeister123 I can't change my system language to English as it is a Chinese version I installed. Sorry.

@hanskokx
Copy link
Contributor

hanskokx commented Feb 26, 2019 via email

@Tonysmark
Copy link

I got same problem, and when I open it then the terminal will shut it self up...or got nothing
image

@mikemaccana
Copy link
Contributor

Using English (proper British English) and getting same issue.

@felixse
Copy link
Owner

felixse commented Mar 21, 2019

With the current release? Should be fixed on master, next version will be released pretty soon

@mikemaccana
Copy link
Contributor

mikemaccana commented Mar 22, 2019

Affected version is fluent-terminal 0.3.1.0 (current on chocolatey)

@JacobMillward
Copy link

I'm still getting this issue. Installed via the bundled installer on V4.0.0.

@felixse
Copy link
Owner

felixse commented Mar 24, 2019

Ah damnit. Can you activate debug logging and provide some logs?

@JacobMillward
Copy link

2019-03-24 19:52:42.107 +00:00 [DBG] Created ApplicationViewAdapter for ApplicationView with Id: [-788675]
2019-03-24 19:52:44.148 +00:00 [DBG] WebView navigation completed. Target: ["ms-appx-web://53621fsapps.fluentterminal/Client/index.html"]
2019-03-24 19:52:44.230 +00:00 [DBG] Received GetAvailablePortResponse: [{"Port":49151,"$type":"GetAvailablePortResponse"}]
2019-03-24 19:52:44.236 +00:00 [INF] Server started at ws://127.0.0.1:49151 (actual port 49151)
2019-03-24 19:52:44.237 +00:00 [DBG] WebSocketServer started. Calling connectToWebSocket() now.
2019-03-24 19:52:44.247 +00:00 [DBG] WebSocket open
2019-03-24 19:52:44.248 +00:00 [DBG] Sending CreateTerminalRequest: [{"Id":0,"Size":{"Columns":165,"Rows":54,"$type":"TerminalSize"},"Profile":{"Id":"813f2298-210a-481a-bdbf-c17bc637a3e2","PreInstalled":true,"Name":"Powershell","Arguments":"","Location":"C:\\windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe","WorkingDirectory":"","TabThemeId":0,"LineEndingTranslation":"DoNotModify","TerminalThemeId":"00000000-0000-0000-0000-000000000000","KeyBindings":[{"Command":"813f2298-210a-481a-bdbf-c17bc637a3e2","Key":49,"Ctrl":true,"Alt":true,"Shift":false,"Meta":false,"$type":"KeyBinding"}],"$type":"ShellProfile"},"SessionType":"WinPty","$type":"CreateTerminalRequest"}]
2019-03-24 19:52:44.499 +00:00 [DBG] Received CreateTerminalResponse: [{"Success":false,"Error":"System.ArgumentException: Item has already been added. Key in dictionary: 'TERM'  Key being added: 'TERM'\r\n   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)\r\n   at FluentTerminal.SystemTray.Services.TerminalsManager.GetDefaultEnvironmentVariableString()\r\n   at FluentTerminal.SystemTray.Services.WinPty.WinPtySession.Start(CreateTerminalRequest request, TerminalsManager terminalsManager)\r\n   at FluentTerminal.SystemTray.Services.TerminalsManager.CreateTerminal(CreateTerminalRequest request)","ShellExecutableName":null,"$type":"CreateTerminalResponse"}]
2019-03-24 19:52:52.385 +00:00 [DBG] Sending TerminalExitedRequest: [{"TerminalId":0,"$type":"TerminalExitedRequest"}]

That's the log.

@felixse
Copy link
Owner

felixse commented Mar 24, 2019

Looks like you already have an environment variable 'TERM'. It should work if you remove it. I will add some handling for this in the next version.

@MinchinWeb
Copy link
Contributor

Ran into this same issue. v0.4.0.0 installed via Chocolatey. Nothing displayed in the main window if the TERM environmental variable was set, but started working when unset.

@mikemaccana
Copy link
Contributor

Just wanted to echo what @felixse said - Fluent Terminal, after failing, started working again, on a different reboot, I suspect the difference is that TERM may have been set (perhaps by another terminal app).

@jhnhnck
Copy link

jhnhnck commented Mar 27, 2019

Can also confirm that the crash is caused by TERM environment variable being set. I had TERM="xterm-256color" set as a system variable (in Windows) previously and after removing it, the terminal session it no longer crashes.

Crash seems to be caused by an unhandled ArgumentException on line 111 of TerminalsManager.cs.

Looks like the easiest solution is just to check if a variable is set beforehand and either skipping over it or just deleting it (by setting to null first) before setting it to the correct value.

Output from the debug log file:

2019-03-27 12:57:53.638 -04:00 [DBG] Received CreateTerminalRequest: [{"Id":0,"Size":{"Columns":108,"Rows":36,"$type":"TerminalSize"},"Profile":{"Id":"ab942a61-7673-4755-9bd8-765aff91d9a3","PreInstalled":true,"Name":"CMD","Arguments":"","Location":"C:\\Windows\\System32\\cmd.exe","WorkingDirectory":"","TabThemeId":0,"LineEndingTranslation":"DoNotModify","TerminalThemeId":"00000000-0000-0000-0000-000000000000","KeyBindings":[{"Command":"ab942a61-7673-4755-9bd8-765aff91d9a3","Key":50,"Ctrl":true,"Alt":true,"Shift":false,"Meta":false,"$type":"KeyBinding"}],"$type":"ShellProfile"},"SessionType":"WinPty","$type":"CreateTerminalRequest"}]
2019-03-27 12:57:53.704 -04:00 [DBG] Sending CreateTerminalResponse: [{"Success":false,"Error":"System.ArgumentException: Item has already been added. Key in dictionary: 'TERM'  Key being added: 'TERM'\r\n   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)\r\n   at FluentTerminal.SystemTray.Services.TerminalsManager.GetDefaultEnvironmentVariableString()\r\n   at FluentTerminal.SystemTray.Services.WinPty.WinPtySession.Start(CreateTerminalRequest request, TerminalsManager terminalsManager)\r\n   at FluentTerminal.SystemTray.Services.TerminalsManager.CreateTerminal(CreateTerminalRequest request)","ShellExecutableName":null,"$type":"CreateTerminalResponse"}]

@felixse
Copy link
Owner

felixse commented Mar 28, 2019

Anybody still having issues on 0.4.1.0?

@jhnhnck
Copy link

jhnhnck commented Mar 28, 2019

I'm no longer getting crashes on launch with v0.4.1.0.
OS: Windows 10 Pro x64 (Build 18362.1)

@Luupw3d
Copy link

Luupw3d commented Mar 29, 2019

It looks like it's been fixed.

@wizcas
Copy link

wizcas commented Mar 29, 2019

It works fine now on my machine. Thanks!

@mikemaccana
Copy link
Contributor

All good here too.

@IzaiahSun
Copy link

The latest version 0.4.1.0 doesn't work properly on my computer. When I open this application, a gets a window like this
image. My windows version is 1809 17763.379.

@felixse
Copy link
Owner

felixse commented Mar 30, 2019

Can you activate debug logging and provide some logs?

@IzaiahSun
Copy link

I opened it twice, log files are the following.

2019-03-30 20:30:31.128 +08:00 [INF] Initialized
2019-03-30 20:30:31.136 +08:00 [DBG] Created ApplicationViewAdapter for ApplicationView with Id: [-134337]
2019-03-30 20:30:33.855 +08:00 [DBG] WebView navigation completed. Target: ["ms-appx-web://53621fsapps.fluentterminal/Client/index.html"]
2019-03-30 20:30:33.974 +08:00 [DBG] Received GetAvailablePortResponse: [{"Port":49151,"$type":"GetAvailablePortResponse"}]
2019-03-30 20:30:33.993 +08:00 [INF] Server started at ws://127.0.0.1:49151 (actual port 49151)
2019-03-30 20:30:33.995 +08:00 [DBG] WebSocketServer started. Calling connectToWebSocket() now.
2019-03-30 20:30:34.069 +08:00 [ERR] Socket error: {}
2019-03-30 20:30:34.069 +08:00 [ERR] Socket closed: {}
2019-03-30 20:33:12.252 +08:00 [INF] Initialized
2019-03-30 20:33:12.258 +08:00 [DBG] Created ApplicationViewAdapter for ApplicationView with Id: [-593115]
2019-03-30 20:33:13.520 +08:00 [DBG] WebView navigation completed. Target: ["ms-appx-web://53621fsapps.fluentterminal/Client/index.html"]
2019-03-30 20:33:13.611 +08:00 [DBG] Received GetAvailablePortResponse: [{"Port":49152,"$type":"GetAvailablePortResponse"}]
2019-03-30 20:33:13.629 +08:00 [INF] Server started at ws://127.0.0.1:49152 (actual port 49152)
2019-03-30 20:33:13.629 +08:00 [DBG] WebSocketServer started. Calling connectToWebSocket() now.
2019-03-30 20:33:13.649 +08:00 [ERR] Socket error: {}
2019-03-30 20:33:13.649 +08:00 [ERR] Socket closed: {}

@ghost
Copy link

ghost commented Mar 31, 2019

2019-03-31 20:57:11.422 +08:00 [INF] Initialized
2019-03-31 20:57:11.422 +08:00 [DBG] Created ApplicationViewAdapter for ApplicationView with Id: [-394369]
2019-03-31 20:57:12.396 +08:00 [DBG] WebView navigation completed. Target: ["ms-appx-web://53621fsapps.fluentterminal/Client/index.html"]
2019-03-31 20:57:12.504 +08:00 [DBG] Received GetAvailablePortResponse: [{"Port":49151,"$type":"GetAvailablePortResponse"}]
2019-03-31 20:57:12.511 +08:00 [INF] Server started at ws://127.0.0.1:49151 (actual port 49151)
2019-03-31 20:57:12.511 +08:00 [DBG] WebSocketServer started. Calling connectToWebSocket() now.
2019-03-31 20:57:12.521 +08:00 [ERR] Socket error: {}
2019-03-31 20:57:12.521 +08:00 [ERR] Socket closed: {}

Same problem, FT 0.4.1.0, winver 1903(18356.16).

@nicohouillon
Copy link

I keep running into those issues with fluent terminal 7.1to 7.4 ... was there any fix coming ?
very frustrating to not know when the terminal will either keep running or just crash ...
My case is mostly running WSL2 in a tab, then after a while (very random, could be seconds or hours) it won't do anything and any new tab remains blank .
windows 20h2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests