Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Blinking cursor/no output: Terminal is not responding #668

Closed
1 of 2 tasks
12xman opened this issue Mar 4, 2019 · 136 comments
Closed
1 of 2 tasks

Blinking cursor/no output: Terminal is not responding #668

12xman opened this issue Mar 4, 2019 · 136 comments

Comments

@12xman
Copy link

12xman commented Mar 4, 2019

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.

Description

The terminal only displays the terminal cursor on a blank screen. I have tried to uninstall and reinstall the package and even atom it's self, and restarting the machine after each install. I have installed platformio-ide 2.3.1, and nodejs as some would advise from the community, but still got the same issue. Please see below are the snapshots of the ide and the config file.

image

image

Steps to reproduce

  1. Open up atom ide and click on file -> settings
  2. Click on "install", search and install "platformio-atom-ide-terminal"
  3. Click on the added "+" icon on the bottom left corner of the ui, and observe.

Expected behavior:
Expecting it display the cmd/powershell console window content, with the current directory as default.

Actual behavior:
Only displays a console cursor, with nothing else.

Reproduces how often:
Always

Versions

> atom --version

image

> apm --version

image

OS name and version:
Windows 10

Platformio-ide-terminal version:
image

Additional Information

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Mar 4, 2019

Thank you for opening this report.

These types issues cant be duplicated, Ive tried over and over and cannot, it works flawlessly here, its quite difficult to find out whats the cause is with reports such as yours, never mind fix it.
From some experience the culprit usually is something in the Install is conflicting with Atom/Platformio terminal. What though is again a fishing expedition.

The easiest way to have it fixed, is to have a virgin OS install, where Atom has never been installed before, and no other software actually exists and install Atom + platformio terminal.
Thats is safest bet to get it to work because Atom may leave folders behind even after uninstall in various paths..

I would recommend 64-bit Windows 10 pro 1803 and nothing else but Atom + platformio-ide-terminal.

That said, since platformio-atom-ide-terminal 2.9.0 f64888d is using node-pty-prebuilt instead of the unmaintained and outdated pty.js. This is good news for stability and compatibility and fixed many many issues.

If you cant get it to work, your best bet is to switch to vscode, or help implement #426

@the-j0k3r the-j0k3r changed the title Terminal is not responding in platformio-atom-ide-terminal 2.9.1 Cursor only: Terminal is not responding in platformio-atom-ide-terminal 2.9.1 Mar 5, 2019
@the-j0k3r
Copy link
Collaborator

Merging duplicate issue #669 opened by @qeithva
below is issue details transplanted.


  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.

Description

clean atom install + platformio-ide-terminal
press + sign to open terminal
terminal never comes back to prompt but remains blinking
cmd and powershell are working normally on its own

Steps to reproduce

  1. install AtomSetup-x64.exe
  2. install plaformio-ide-terminal
    3.press + sign

Expected behavior:
prompt should occur either powershell or cmd

Actual behavior:
prompt never comes
only blinking cursor

Reproduces how often:

10X
100% each time not working

Versions

C:\Users\Owner>apm --version
apm 2.1.3
npm 6.2.0
node 8.9.3 x64
atom 1.34.0
python 3.5.2
git 2.16.2.windows.1
visual studio

C:\Users\Owner>atom --version

Atom : 1.34.0
Electron: 2.0.16
Chrome : 61.0.3163.100
Node : 8.9.3

apm --version

OS name and version:

windows 10 home (1803)

Platformio-ide-terminal version: 2.9.1

Additional Information

tried to delete .atom many times
no luck

@the-j0k3r the-j0k3r changed the title Cursor only: Terminal is not responding in platformio-atom-ide-terminal 2.9.1 Blinking cursor only: Terminal is not responding in platformio-atom-ide-terminal Mar 6, 2019
@the-j0k3r the-j0k3r mentioned this issue Mar 6, 2019
2 tasks
@the-j0k3r
Copy link
Collaborator

Merging duplicate issue #669 opened by @ayushgupta321
below is issue details transplanted.


  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.

Description

The terminal does not seem to work. A blinking cursor appears ,but I cannot write anything.

Steps to reproduce

  1. Install platform-atom-ide-terminal
  2. Click on + icon at the bottom

Expected behavior:
I expected the Windows PowerShell to open. I even changed the override to cmd.exe(with the correct path) ,yet nothing seems to change

Actual behavior:
Blinking Cursor appears ,cannot type anything.

Reproduces how often:
100%

Versions

> atom --version
Atom    : 1.34.0
Electron: 2.0.16
Chrome  : 61.0.3163.100
Node    : 8.9.3
> apm --version
apm  2.1.3
npm  6.2.0
node 8.9.3 x64
atom 1.34.0
python 3.6.6
git
visual studio

OS name and version:
Platformio-ide-terminal version:
2.9.1

Additional Information

ss

@PrathyushTuraga
Copy link

Right click on console window -> clear
close and re-open terminal session. It works.

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Mar 8, 2019

Merging duplicate issue #671 opened by @vishaldeep24
below is issue details transplanted.


  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.

Description

I installed platformio-ide-terminal and restarted atom but no terminal is coming up. Neither powershell or cmd is coming up. i uninstalled the package and resinstalled it again still nothing worked.
Just a cusor is blinking if you press any key nothing happens.

Steps to reproduce

  1. open Atom
  2. Install platformio-ide-terminal package
  3. Try opening the terminal

Expected behavior:
Powershell terminal should start.

Actual behavior:
Nothing happens but a white cursor keeps blinking.

Reproduces how often:
Everytime same thing happens.

Versions

> atom --version
atom 1.34.0 x64
> apm --version
apm 2.1.3

OS name and version: Windows 10 Home 64-bits
Platformio-ide-terminal version: 2.9.1

Additional Information

Screenshot of issue attached
capture



Merging duplicate issue #669 opened by @ManuelZ
below is issue details transplanted.


  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.

Description

When I open a terminal I get no terminal, nor errors, just a "loading" terminal.

  • Deleted .atom folder
  • Uninstalled Atom
  • Installed Atom 1.34.0
  • Installed platform-ide-terminal 2.9.0 via apm

Steps to reproduce

  1. Open Atom
  2. Click in the bottom left "+" terminal button

Expected behavior:

  • To get a terminal

Actual behavior:
No terminal appears:
image

Reproduces how often:

  • All the time

Versions

> atom --version

Atom    : 1.34.0
Electron: 2.0.16
Chrome  : 61.0.3163.100
Node    : 8.9.3

> apm --version

apm  2.1.3
npm  6.2.0
node 8.9.3 x64
atom 1.34.0
python 3.6.6
git 2.15.1.windows.2
visual studio 2015

OS name and version: Windows 10 Home 1809
Platformio-ide-terminal version: 2.9.0

Additional Information


Me too reports

Anyone else facing this exact issue and posting "me too" reports here, please copy and paste this into the reply field and provide the requested information.

Thank you.

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Mar 8, 2019

@16273849 @PrathyushTuraga @vishaldeep24 @ayushgupta321 @qeithva @12xman please test the following.

PrathyushTuraga commented a day ago

Right click on console window -> press clear -> close and re-open terminal session. It works.

@qeithva
Copy link

qeithva commented Mar 8, 2019

This does not help.

@vishaldeep24
Copy link

No it didn't work

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Mar 8, 2019

A few things I suggest trying.

Disable GPU rendering in Atom.

  1. see https://flight-manual.atom.io/hacking-atom/sections/debugging/#check-if-your-gpu-is-causing-the-problem
  • in an external terminal run the commands above, then restart Atom and retry.
  1. Try with python 2.7 instead of 3.6.6? (node-pty-prebuilt install scripts doesnt suport python 3.x.x
  • uninstall python 3.6.6 install 2.7
  • uninstall platformio-ide-terminal via apm and reinstall via apm.
  1. Also if you have a virtual machine to test with Windows 10 pro (just a trial install of the OS will do for testing purposes.)
  • Install Atom 1.34.0 and then platformio-ide-terminal 2.9.1 via apm again with python 2.7

On another note, the most failures are coming from reports of WIndows 10 home, please test as above with windows 10 pro 64-bit.

Please report back with full results.

@L1Q

This comment has been minimized.

@the-j0k3r

This comment has been minimized.

@L1Q
Copy link

L1Q commented Mar 11, 2019

Thank you! Updating to 2.9.1 fixed it for me.

@the-j0k3r
Copy link
Collaborator

Glad to ear it.

@AdamZHANG123
Copy link

Same problem here. Updated/Reinstall doesn't help.

I'm using atom 1.35.1, and terminal 2.9.1 on Windows 10 Education version, x64. Here are the screenshots:
image
image
image

I also tried L1Q's develop mode, no errors found, just this:
image
Not sure if this helps.

I also tried reset atom to factory defaults as well, no luck.

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Mar 13, 2019

@AdamZHANG123 see #668 (comment)

L1Q issue was unrelated to this anyway.

@ychuckt8

This comment has been minimized.

@the-j0k3r
Copy link
Collaborator

@ychuckt8 me too reports must also fill in the issue template

Copy and paste the template located at https://raw.githubusercontent.com/platformio/platformio-atom-ide-terminal/master/.github/ISSUE_TEMPLATE.md and fill in all fields. Logs / Errors / other information should be added at the bottom in the Notes portion of the issue template.

Thank you for understanding.

@the-j0k3r
Copy link
Collaborator

Just in case someone missed it, heres a list of things to try.

#668 (comment)

Ive installed Atom + this package in 5 different OS's including macOS, Windows 10 pro, Ubuntu, Fedora, Arch Linux they all work fine, no errors and no failures to start.

@EvanJo
Copy link

EvanJo commented Sep 2, 2020

Try use https://github.com/bus-stop/terminus with minimum Atom 1.41.0 and above only.

Thank you, thank you thank you thank you. This fixed the "cursor only" problem for me (atom 1.50 platformio 2.10).

Feels amazing after nearly a month of copy pasting into a separate terminal.

@dennis39784
Copy link

dennis39784 commented Sep 7, 2020

I'm using atom 1.5.0 on Win10 Home and was hitting this issue. By uninstalling then reinstalling platformio-ide-terminal, the newest terminal release 2.10 worked like a charm.
Oct 22, 2020 -- on my Ubuntu Linux 18.04, platform-ide-terminal did not work for me. using platform-atom-ide-terminal worked for a few weeks, then stopped working. Error says I need to recompile a library used by node.js. Tried that and hit other errors, so I switched to "terminus" by bus-stop (got the terminus package in Atom by going to Edit->Preferences->Install). All's working now. Thanks "bus-stop"!!

@vahid-dan
Copy link

I ha the same problem on Ubuntu 20.04 with atom 1.51.0 and apm 2.5.0 and none of the proposed fixes worked for me. I ended up using atom-ide-terminal which is a fork of PlatformIO IDE. Worked like a charm!

@youssame
Copy link

youssame commented Sep 26, 2020

This saved mylife thank you

Try use https://github.com/bus-stop/terminus with minimum Atom 1.41.0 and above only.

@muzozt67
Copy link

muzozt67 commented Oct 2, 2020

It's unacceptable that a plugin with 10 million downloads is so problematic. I struggled all day. Finally I solved my problem with https://github.com/bus-stop/terminus. goodbye platformio. Thank you "terminus"

@the-j0k3r
Copy link
Collaborator

goodbye platformio. Thank you "terminus"

@muzozt67 Since terminus would not exist without platformio-atom-ide-terminal because its a fork of this project.

Also #543 which is fair warning this project causes issues with specific setups. None however are ever bug or problem free.

Free as in free beer, is also the price of both.

@solarenergynow08
Copy link

Reinstall Atom many times... same issue as of October 2020 with Win10 Home 64bit, Atom 1.52 and Platformio 2.10. Sorry to say that this is looking more like a MS solution if y'all are suggesting to install much older versions of software...I'm not an expert so not worth the trouble for me...will revisit in a few weeks

@the-j0k3r
Copy link
Collaborator

@DougHuras
Copy link

This has been running just fine, and then it stopped, per this issue. I had to uninstall the package and re-install it to get it to work again. As a side note, on my work dev pc, I had to run Atom as administrator to get the terminal to work.

@alissamunerato
Copy link

Please try https://github.com/bus-stop/terminus

Fork of platformio-atom-ide-terminal
#872 (comment)

Solved my problem, thank you so much!

@JackMcJackJack
Copy link

I am also experiencing the same issue as of 21.10.20. Tried clearing and closing terminal with no success.

@Majubs
Copy link

Majubs commented Oct 21, 2020

Same issue here, I'm using Windows 10

From atom --version

Atom : 1.52.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0

From apm --version

apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.52.0
python 2.7.18
git 2.28.0.windows.1
visual studio

Tried to uninstall, but install again fails. Tried Terminus, but it simply freezes Atom when I open it, so no luck there either.

@neilsheps
Copy link

I'm running Atom/platformio (specs below), and suffering also with platformio-ide-terminal hanging with a blinking cursor. Terminus is installed and works when manually opened.

I noticed at the same time that platformio-ide-terminal broke, many of the platformio menu options also failed (e.g., Platformio home icon >> Libraries >> updates will list the libraries that can be updated but the update button is disabled).

Anyone know if this is related to platformio-ide-terminal breaking? If so, any way to force the platformio plugin to point to Terminus? I searched but couldn't find anything on this

Atom : 1.52.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0

apm --version
apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.52.0
python 3.7.7
git
visual studio

@the-j0k3r
Copy link
Collaborator

Anyone know if this is related to platformio-ide-terminal breaking? If so, any way to force the platformio plugin to point to Terminus? I searched but couldn't find anything on this

You dont use both, pick a terminal and thats it.

@tobyink
Copy link

tobyink commented Oct 28, 2020

Please try https://github.com/bus-stop/terminus

I can confirm that this works beautifully.

@neilsheps
Copy link

Tobyink, thej0k3r - my question was around other Platformio functionality. I have Terminus working quite happily right now - i press the "+" button, it opens a terminal, and it works just fine.

Around the same time that platformio-ide-terminal broke, all kinds of stuff like updating libraries, listing libraries, listing packages also broke. Maybe (I'm guessing) when I try to list packages or whatever, it runs a terminal shell in the background (which doesn't work now) and normally the IDE would normally pipe those results.

So, getting Terminus to work as a standalone terminal doesn't help me here. Any suggestions on getting the other functionality to work, or is it somehow unrelated? Anything helps...

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Oct 29, 2020

or is it somehow unrelated? Anything helps...

Beside you uninstall and reinstall platformio-ide-terminal via external terminal while atom is closed.

If that doesnt work try same for terminus, without having both terminals installed at same time just in case.

@TrySpace
Copy link

Yes!

uninstall platformio-ide-terminal via apm and reinstall via apm.

After trying everything, that actually did the trick somehow... Question is how long it will keep working, because last time it just stopped working after restarting Atom (no updates that I was aware of)

The error that I caught relates to conpty.node:
<embedded>:14 Cannot find module '../build/Debug/conpty.node' Require stack: ...\.atom\packages\platformio-ide-terminal\node_modules\node-pty-prebuilt-multiarch\lib\windowsPtyAgent.js

the-j0k3r added a commit to vednoc/dark-github that referenced this issue Nov 27, 2020
@agrrh
Copy link

agrrh commented Dec 3, 2020

Also fixed the issue by switching to: https://github.com/bus-stop/terminus

@satyabansahoo2000
Copy link

Got a fix: https://github.com/bus-stop/terminus

@ivankravets
Copy link
Member

Fixed in https://github.com/platformio/platformio-atom-ide-terminal/releases/tag/v2.10.1

Please update to the latest version.

@ivankravets ivankravets unpinned this issue Dec 12, 2020
vednoc pushed a commit to vednoc/dark-github that referenced this issue Dec 26, 2020
@AerosolSP
Copy link

I've literally never had this work. I always install it on a fresh install of Atom almost as a joke. This has happened across different systems, different OSes. I don't understand why it's so problematic.

@UziTech
Copy link

UziTech commented Dec 14, 2021

@AerosolSP This package is no longer maintained. Please uninstall platformio-ide-terminal and install either terminus or x-terminal

@AerosolSP
Copy link

AerosolSP commented Dec 14, 2021 via email

@UziTech
Copy link

UziTech commented Dec 14, 2021

Perhaps it should be removed, though?

I agree, but I think @ivankravets is the only one who can do that.

@the-j0k3r
Copy link
Collaborator

Good luck with that... Wont ever happen while this sort of works, should have just let it die instead of trying to keep it going.

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

No branches or pull requests