Closed kbeckmann closed 5 years ago
This should be fixed in the latest version. Let me know (and reopen this) if not.
Hello! I have just installed JuliaPro 1.0.3.1 and I get this error when I try to paste a text into REPL window in Atom editor. In the REPL window it is written 'Press Enter to start Julia.' but it does not react to pressing Enter or other keys. [Windows 7 64 bit]
Uncaught Error: Need to attach a pty before pasting.
C:\JuliaPro-1.0.3.1.atom\packages\ink\lib\console2\console.js:220
Hide Stack Trace
Error: Need to attach a pty before pasting.
at InkTerminal.paste (file:///C:/JuliaPro-1.0.3.1/.atom/packages/ink/lib/console2/console.js:220:13)
at HTMLElement.inkTerminalPaste (file:///C:/JuliaPro-1.0.3.1/.atom/packages/ink/lib/console2/console.js:38:16)
at CommandRegistry.handleCommandEvent (C:\JuliaPro-1.0.3.1\app-1.32.2\resources\app\static\
You might very well be running into the same/a very similar problem as the OP, but I'm not too sure what Juno version is shipped with your JuliaPro version.
I get the same error on another computer with JuliaPro 1.0.3.1 (Julia 1.1 was previously installed, then uninstalled, it didn't do difference).
I don't know where to find the version of Juno. Atom version is 1.32.2 ia32 (Electron 2.0.9, Chrome 61.0.3163.100, Node 8.9.3).
Actually I don't even know how to use Julia if I get errors at the very start. Also I get an error when pressing Interrupt Julia button (Ctrl+C):
Can't interrupt Julia without a Julia client running. Start Julia using Packages → Julia → Start Julia.
Starting Julia from Packages doesn't do anything.
First of all sorry if this is a duplicate - didn't find anything obvious after a quick look on the open issues.
Steps to reproduce:
Additional info:
I had just installed Julia (v1.0, perhaps too new?), then Atom, then the uber-juno package. I pressed Enter in the Julia REPL, which failed and printed the following:
So I copied
Pkg.add("Atom")
to my clipboard using cmd-C, then when I tried to paste it in the REPL I got the exception and stack trace. Note that I didn't pressEnter
to start a new session - this might be reason for to the bug since there is no active command running.Atom: 1.29.0 x64 Electron: 2.0.5 OS: Mac OS X 10.13.6 Thrown From: ink package 0.9.2
Stack Trace
Uncaught Error: Need to attach a pty before pasting.
Commands
Non-Core Packages