I am having issues, where do I leave a bug report?
Please leave bug reports either at the discussion board or at the Juno.jl Github repository.
Some Juno package is using the wrong precompile cache, what do I do?
This problem manifests itself in errors like:
WARNING: Method definition WARNING: Module Juno with uuid 738353145462472 is missing from the cache. ERROR: LoadError: Declaring precompile(false) is not allowed in files that are being precompiled. ERROR: LoadError: Failed to precompile Atom to C:\Users...
One way this can occur is from updating Julia versions. However, this has a very easy fix. Go into the Julia REPL (not the Juno console in Atom, but the actual Julia terminal window) and type in the command:
That will force Julia to re-compile all of the cache files and should fix the problem.
I am having a problem running Juno with an older version of Julia, why?
Juno is under rapid development, so it's expected that previous versions may not be compatible with the Atom packages overtime. Julia will automatically use older versions on the Julia-side packages, but Atom will always give you the most up-to-date packages it knows about, which causes this issue. The easy way to solve this is to always use the current Julia release. Otherwise, resort to the Developer Install for the Atom packages and use git to checkout an older version. This requires some git know-how, so it's only recommended if the older version of Julia is truly necessary.
How do I use Juno with the Julia Nightly version?
If you want to use Juno with the nightly version use caution: this package is under rapid development so do so at your own risk. That being said, the Julia nightly should work using the Developer Install. Note that this will require you to be on master for the Julia and Atom packages, so things will be changing likely before documentation changes.
How do I execute code on Juno startup?
Much like Julia has its
.juliarc.jl file for executing code on startup, Juno will execute code contained in
~/.junorc.jl after Julia has been booted and a connection with the editor is established. This allows running code on startup that queries the frontend, e.g.
Connecting to an external julia session on a remote machine
Use case: local installation of Juno with a remote julia session
Launch Atom/Juno on your local machine
In Atom/Juno, bring up the command palette with
ctrl-shift-p)Linux/Windows) and search for
Julia Client: Connect External Process(Juno will then tell you which port to use locally –> we'll call it
Linux/Unix: Open a local terminal and connect to your remote server :
ssh -R PORT#1:localhost:PORT#2 your.server.com
Windows: Port forwarding via
netsh should work. See here for an example.
Launch julia in the terminal on the remote machine
Type in julia session:
using Juno; Juno.connect(PORT#1)