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

[SOLVED] PlatformIO IDE Terminal does not work with Atom 1.19 #297

Closed
Kardiamond opened this issue Aug 8, 2017 · 94 comments
Closed

[SOLVED] PlatformIO IDE Terminal does not work with Atom 1.19 #297

Kardiamond opened this issue Aug 8, 2017 · 94 comments
Labels

Comments

@Kardiamond
Copy link

Kardiamond commented Aug 8, 2017

Solution No.1

  • Open atom
  • Upgrade Atom to v1.19
  • Click on the red bug on the right side of the statusbar
  • Move your mouse cursor on the error message which states that "some packages were build for a previous version of atom" to the right corner -> a button will appear to rebuild packages
  • Press on the newly appearing button
  • Reload atom
  • Uninstall platformio-ide-terminal package
  • Install platformio-ide-terminal package

Solution No.2

  • Install C++ compiler:
    • Linux: apt-get install gcc, yum install gcc
    • macOC: xcode-select --install
    • Windows: Microsoft Visual Studio
  • Uninstall platformio-ide-terminal package
  • Install platformio-ide-terminal package

I was working in Atom, and all of sudden my atom closed.

I opened it back, and I no longer have my terminal toggle.

I don't have the icon to open it.

I tried to toggle/open it from the Packages menu, but still nothing.

Nothing happens.

I tried rebooting, reinstalling the package ect..

Even other terminal won't work.

@ivankravets
Copy link
Member

Atom version?

@Kardiamond
Copy link
Author

1.19.0

@Kardiamond
Copy link
Author

Oh wow did my atom just get updated? I didnd't see it going.

@ivankravets ivankravets changed the title Can't toggle terminal anymore PlatformIO IDE Terminal does not work with Atom 1.19 Aug 8, 2017
@ivankravets
Copy link
Member

See updated title. Atom has released a new version a few hours ago, v1.19. It is built on top of new Electron engine. We don't have PTY binaries for M53.

We are working on that, compiling new binaries, please wait 10-15minutes for the new release of PlatformIO IDE Terminal.

@ivankravets ivankravets added the bug label Aug 8, 2017
@Kardiamond
Copy link
Author

Wow thanks for the quick reply.

Continue your good work!

@ivankravets
Copy link
Member

Could you try to uninstall a package and install again? Does it work now? What is your OS?

@tom-mckinney
Copy link

@ivankravets you're the best! I can't believe you resolved this so quickly

@ivankravets
Copy link
Member

@digitalsaurus Thanks! What is your OS? Architecture?

@tom-mckinney
Copy link

tom-mckinney commented Aug 8, 2017

@ivankravets My work machine is Windows 7 64-bit... unfortunately lol

@delta-one
Copy link

I'm running Atom 1.19 on Debian Sid with the newest version (2.5.5) of this package. But unfortunately I have the same problems as the OP.
No icons, nothing happens when you try to open a new terminal.

@ivankravets ivankravets reopened this Aug 8, 2017
@ivankravets
Copy link
Member

@delta-one did it work before?

@delta-one
Copy link

It worked with Atom 1.18 if that's what you mean.

@ivankravets
Copy link
Member

Temporary solution: install gcc, uninstall terminal package and install it again. Should work now

@delta-one
Copy link

No luck there either.

@crcdng
Copy link

crcdng commented Aug 9, 2017

2.5.5 also broken on Mac with Atom 0.19.

@Kardiamond
Copy link
Author

Kardiamond commented Aug 9, 2017

Thank you Ivankravets!

It works on Windows 10 - 64bits.

Like you said I had to rienstall it to work tho, only updating it wouldnt do the job.

@2manyvcos
Copy link

image
Got the same issue.
2.5.5 on Atom 1.19, Linux Mint 18.1.
Already tried to reinstall the package.
gcc is installed.

@sectsect
Copy link

sectsect commented Aug 9, 2017

I also have same issue w/ v2.5.5 on Mac Atom 1.19.0

⚡ Update

I run the "rebuild packages" and solved it self

@robertrossmann
Copy link

Contrary to other reports, I had no issue recompiling the native addons after upgrading this package to 2.5.5. Running Atom 1.19 on macOS Sierra.

@Aevis
Copy link

Aevis commented Aug 9, 2017

Recompiling the package through the Atom GUI after updating to 2.5.5 worked for me too. Atom 1.19.0 x64 on Windows 7

@ivankravets
Copy link
Member

ivankravets commented Aug 9, 2017

@sectsect could you archive and attach here ~/.atom/packages/platformio-ide-terminal/node_modules/pty.js/build/Release/pty.node? I'll test your binary on my macOS.

P.S: What is your macOS version?

@ivankravets
Copy link
Member

ivankravets commented Aug 9, 2017

All people who has a problem, please provide

ls -al ~/.atom/packages/platformio-ide-terminal/node_modules/pty.js

@delta-one
Copy link

The file doesn't exist, because I don't have a build-folder in node_modules.

@ivankravets
Copy link
Member

@delta-one

gcc --version

?

Try

  1. Uninstall platformio-ide-terminal package
  2. Install platformio-ide-terminal package

@delta-one
Copy link

gcc (Debian 7.1.0-12) 7.1.0

Have tried uninstalling and installing the package several times.

@ivankravets
Copy link
Member

ivankravets commented Aug 9, 2017

@delta-one ok, what do you see with?

cd ~/.atom/packages/platformio-ide-terminal/node_modules/pty.js
apm rebuild

@alsGitHub270
Copy link

Have you tried moving your mouse to the right of the error message? The color of the button blended in with the background of the error message on my Windows machine. It took moving the mouse over on the right for the button to highlight itself. On my MAC, I changed the theme, and the button seemed to appear slightly below the frame of the error message.
Why up upgrade to Sierra?

@ivankravets
Copy link
Member

PlatformIO IDE Terminal 2.6.0 is out! A lot of improvements:

Please update.

P.S: If you still have problems with a terminal, please make clean uninstallation of Atom and install the package again.

@ohpoop
Copy link

ohpoop commented Aug 25, 2017 via email

@lngka
Copy link

lngka commented Aug 31, 2017

Solution 1 was good for me until Atom 1.19.4 and PlatformIO IDE Terminal 2.6.0.

Apparently PlatformIO 2.6 fixed the "Some installed packages..." thing so now there's no error message when Atom loads and hence no button to rebuild packages.

I'm trying solution 2 but is there a way to rebuild all Atom packages manually?

@ivankravets
Copy link
Member

@lngka Could you try to uninstall/install terminal package. Did it help?

@lngka
Copy link

lngka commented Aug 31, 2017

@ivankravets Sadly it didn't help :(

btw it's not like its unsuable, I could open/close the terminal but not minimize, multiple terminals are out of the question

Can I have the bug from 2.5.5 back?

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Sep 12, 2017

Ever since Atom 1.18 to now atom 1.19.7 this has always worked without any issues whatsoever for me.

The only issue I have is related to interactive rebases -> atom/github#762 (comment) and Im unsure if its related to terminal, gt, or github atom package.

@UziTech
Copy link

UziTech commented Sep 12, 2017

@the-j0k3r it sounds like issue atom/github#961

@FutoRicky
Copy link

For anyone having this issue, I had to do a clean uninstall of atom and install it again to have it working.

@MalcsR
Copy link

MalcsR commented Apr 1, 2018

I fixed this issue for me by changing the Shell Override for platformio-ide-terminal. I went to the Welcome Guide in Atom, clicked Install a Package, opened Installer then clicked Packages. Then I selected platformio-ide-terminal Settings. Auto Run Command was made blank and Shell Override was made as: C:\WINDOWS\System32\cmd.exe

@achyuthreddyi
Copy link

solution 2 works

@Caellian
Copy link

Caellian commented Dec 8, 2018

Had this problem again:
Atom v: 1.32.2 x64
gcc v: gcc (GCC) 8.2.1 20181127
Arch linux.

Atom error message was saying that
~/.atom/packages/platformio-ide-terminal/node_modules/pty.js/bin/linux/x64_m64/pty.node
was missing. x64_m57 is the latest folder that exists.

apm rebuild didn't work.

Tried to copy 'pty.node.bak' from x64_57 into x64_m64 and rename it to pty.node. Now the icons show and the terminal opens but input is disabled and bash won't start inside it so I removed the x64_64 folder.

@sunilkandpal1o1
Copy link

@Caellian I am having the same problem, tried reinstalling atom and platformio-ide-terminal but no luck

@sseneca
Copy link

sseneca commented Jan 22, 2019

Also having this issue.
Atom : 1.34.0
Electron: 3.1.1
Chrome : 66.0.3359.181
Node : 10.2.0
gcc (GCC) 8.2.1 20181127
Arch Linux. Re-installs don't fix the issue.

/usr/lib/atom/src/task.js:46 Cannot find module '/home/sseneca/.atom/packages/platformio-ide-terminal/node_modules/pty.js/bin/linux/x64_m64/pty.node' Error: Cannot find module '/home/sseneca/.atom/packages/platformio-ide-terminal/node_modules/pty.js/bin/linux/x64_m64/pty.node'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/home/sseneca/.atom/packages/platformio-ide-terminal/node_modules/pty.js/lib/pty.js:27:9)
    at Object.<anonymous> (/home/sseneca/.atom/packages/platformio-ide-terminal/node_modules/pty.js/lib/pty.js:487:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:235:23)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/home/sseneca/.atom/packages/platformio-ide-terminal/node_modules/pty.js/index.js:2:18)
    at Object.<anonymous> (/home/sseneca/.atom/packages/platformio-ide-terminal/node_modules/pty.js/index.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.value [as .js] (/usr/lib/atom/src/compile-cache.js:235:23)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/home/sseneca/.atom/packages/platformio-ide-terminal/lib/process.coffee:1:7)
    at Object.<anonymous> (/home/sseneca/.atom/packages/platformio-ide-terminal/lib/process.coffee:1:1)
    at Object.<anonymous> (/home/sseneca/.atom/packages/platformio-ide-terminal/lib/process.coffee:1:1)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.value [as .coffee] (/usr/lib/atom/src/compile-cache.js:235:23)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)

@sunilkandpal1o1
Copy link

@sseneca you can find the fix here #632 and here #585

@udayposia
Copy link

#The issue is solved in the new Update of Platformio-ide-terminal :

They have removed the problem in the latest update. You can directly download it from your setting>intall> search(platformio-ide-terminal).

You can visit website of IDE Atom. You can download it at link.
No more issues.

@platformio platformio locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests