-
Notifications
You must be signed in to change notification settings - Fork 23
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
No finish notification evaluating a single line - Juno hangs/crashs/freezes #532
Comments
The debug info says you even couldn't connect to Julia properly. |
I´m confused. How should I run the code not by Juno, when I´m working with Julia Pro? I just opened Julia Pro and pressed SHIFT + ENTER to evaluate lines of a script. |
Sometimes users assume some features are provided by Juno, but sometimes they actually provided by other packages that enables code execution like Hydrogen etc. well, as for this specific bug, JunoLab/Atom.jl#300 will get rid of those dead lock issues. |
I´m not sure, but I think it could maybe have something to do with a change in Atom.jl, because if you compare the settings of #405 with my currently settings, which work, I could update all packages except for the Atom.jl package. Furthermore I didn´t experience this behaviour in an earlier version of Julia Pro, where also an older version of Atom.jl was uesd, |
We just released a new version of Atom.jl that you could try (not with JuliaPro, just in a normal Juno installation). |
Thanks. I'll try and report later in the day. |
The first test was successful. The problem doesn´t appear again. I will work the next days with the latest version and report the results. |
Awesome. Sorry it's taken us such a long time to track this bug down... |
It hangs again on a custom module. I tried to load manual with the REPL and it worked. So unfortunately the bug isn´t solved. Information of Ctrl+ Shift + I: The plugin checked the following paths for dictionary files:
Atom:Version: 1.45.0 julia-client:Version: 0.12.4 ink:Version: 0.12.3 uber-juno:Version: 0.3.0 language-julia:Version: 0.19.3 language-weave:not installedindent-detective:Version: 0.4.0 latex-completions:Version: 0.3.6 Could not connect to Julia. Package list: |
Can you describe what you did just before the hang? |
I just restarted julia and loaded using JLD2 |
It may be possible that your script made Juno's static code analyzer crazy (will appear as memory consumption explosion usually). If so it will be helpful if you share your script with us. |
I would like to do this, but it isn´t so easy, because I use Julia for my work at a company and therefore I can´t simply share the code. Sorry. |
Right, makes sense. Can you keep an eye on memory and cpu consumption in the task manager? You could also give the first patch suggested here a go, that might help. |
Thanks. I will try it. Here the informations when I run the same code under Julia 1.1.1 Atom packages: Ctrl +Shif + I: The plugin checked the following paths for dictionary files:
Debug info: Atom:Version: 1.45.0 julia-client:Version: 0.11.3 ink:Version: 0.11.7 uber-juno:Version: 0.3.0 language-julia:Version: 0.19.2 language-weave:not installedindent-detective:Version: 0.4.0 latex-completions:not installedCould not connect to Julia. Package list: |
Oh, one more question: Do you have Revise loaded while running your code? |
Can you check if you see the same error without Revise (in the neweset Juno release)? |
It doesn´t hangs until now and I notice that the loading of the modules is much faster. |
Try without all those |
Oh, I think, when I first configured my startup file, I read something different "NTFS" and copied this code sequence. So I will try it :) |
For the moment I would say, that this was the problem. Thank you very much for your help and time :) . Despite this I would like to investigate it a little bit longer, because I had it several times, that I thought the problem is gone and it wasn´t. |
Thanks for letting me know, I can totally see how that would happen. I will tweak the docs to emphasize that the two are not the same. |
Motivated by JunoLab/Juno.jl#532
Ok, I'll close this for now then. Feel free to reopen if you run into similar issues again. |
Thank you |
I´m using Julia Pro 1.3.1-2 on Windows. I´m facing the same problem with Julia Pro as I described in #405 . I evaluate some lines by single line evaluation and suddenly at one line I get no finish notification, despite a evaluation in the REPL works.
For the following Debug Info Juno hangs during loading a big csv-file.
Atom:
Version: 1.44.0
Dev Mode: false
Official Release: true
{
"http_parser": "2.8.0",
"node": "10.11.0",
"v8": "6.9.427.31-electron.0",
"uv": "1.23.0",
"zlib": "1.2.11",
"ares": "1.14.0",
"modules": "69",
"nghttp2": "1.33.0",
"napi": "3",
"openssl": "1.1.0",
"electron": "4.2.7",
"chrome": "69.0.3497.128",
"icu": "62.2",
"unicode": "11.0",
"cldr": "33.1",
"tz": "2019a"
}
julia-client:
Version: 0.11.3
Config:
{
"firstBoot": false,
"juliaOptions": {
"bootMode": "Cycler"
},
"juliaPath": "C:\JuliaPro-1.3.1-2\Julia-1.3.1\bin\julia.exe",
"uiOptions": {
"enableMenu": true,
"enableToolBar": true,
"layouts": {
"openDefaultPanesOnStartUp": true
},
"errorNotifications": false
}
}
ink:
Version: 0.11.8
Config:
undefined
uber-juno:not installed
language-julia:
Version: 0.19.2
Config:
undefined
language-weave:not installed
indent-detective:not installed
latex-completions:
Version: 0.3.6
Config:
undefined
Could not connect to Julia.
2.
For anyone, who has the same problems the following setup with vanilla Julia 1.1.1 works for me,:
Julia packages:
Atom v0.9.1
Juno v0.7.2
Note: to install a specific version of julia package enter the package manager within the Julia REPL via ] and then use i.e add [email protected] command
Atom packages:
ink 0.11.7
julia-client 0.11.3
language-julia 0.19.2
uber-juno 0.3.0
Note: to install a specific version of atom package open a power shell window and then use i.e
apm install [email protected] command
The text was updated successfully, but these errors were encountered: