[julia-users] Re: JUNO: Couldn't Connect to Julia

2014-10-15 Thread Mike Innes
For those interested, it turns out the error is caused by JuliaParser.jl, 
and has been fixed in master. If you run Pkg.checkout("JuliaParser") you'll 
still see a bunch of deprecation warnings but eval etc. seem to work fine.

I'll probably do some work on supporting 0.4 fairly soon.

On Thursday, 9 October 2014 03:15:13 UTC+1, Thomas Moore wrote:
>
> I've been trying to get Juno to work (a Julia plugin for Light Table), but 
> after following the installation instructions on their website 
>  I end up getting the following 
> error, both on startup and when attempting to execute Julia commands:
>
>
> Couldn't connect to Julia
>
> WARNING: deprecated syntax "(eltype(xs)=>Int)[]" at 
> /home/thomas/.julia/v0.4/Lazy/src/collections.jl:23.
> Use "Dict{eltype(xs),Int}()" instead.
>
> WARNING: deprecated syntax "(String=>Vector{Function})[]" at 
> /home/thomas/.julia/v0.4/Jewel/src/lazymod.jl:8.
> Use "Dict{String,Vector{Function}}()" instead.
> ERROR: InexactError()
>  in char at char.jl:1
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in reload_path at ./loading.jl:152
>  in _require at ./loading.jl:67
>  in require at ./loading.jl:54
>  in require_3B_3948 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
>  in require at /home/thomas/.julia/v0.4/Jewel/src/lazymod.jl:2
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in reload_path at ./loading.jl:152
>  in _require at ./loading.jl:67
>  in require at ./loading.jl:52
>  in require_3B_3948 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
>  in include at ./boot.jl:245
>  in include_from_node1 at loading.jl:128
>  in process_options at ./client.jl:293
>  in _start at ./client.jl:362
>  in _start_3B_3774 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
> while loading /home/thomas/.julia/v0.4/JuliaParser/src/lexer.jl, in 
> expression starting on line 12
> while loading /home/thomas/.julia/v0.4/JuliaParser/src/JuliaParser.jl, in 
> expression starting on line 5
> while loading /home/thomas/.julia/v0.4/Jewel/src/parse/scope.jl, in 
> expression starting on line 4
> while loading /home/thomas/.julia/v0.4/Jewel/src/parse/parse.jl, in 
> expression starting on line 1
> while loading /home/thomas/.julia/v0.4/Jewel/src/Jewel.jl, in expression 
> starting on line 7
> while loading /home/thomas/.config/LightTable/plugins/Julia/jl/init.jl, in 
> expression starting on line 27
>
>
> I'm on Ubuntu 14.04 and have tried re-installing Julia (now on Version 
> 0.4.0-dev+1021 (2014-10-08 21:56 UTC) though I was on v0.3 before (it seems 
> github automatically gave me the 0.4 version :) )) and also LightTable, but 
> I haven't had any luck.
>
> Any advice?
>
>

[julia-users] Re: JUNO: Couldn't Connect to Julia

2014-10-12 Thread Thomas Moore
Thanks everyone, I reinstalled as advised by Ivar, and everything works. 
This is really rather wonderful :)

On Saturday, 11 October 2014 04:03:47 UTC+10, Mike Innes wrote:
>
> Hi Thomas,
>
> I've decided to wait until 0.4 has settled down a bit before supporting it 
> in Juno, so it's best to grab the latest release of Julia (v0.3). Building 
> from git should work fine but you could also try using the Ubuntu packages 
>  if 
> that's not working for you.
>
> On Thursday, 9 October 2014 03:15:13 UTC+1, Thomas Moore wrote:
>>
>> I've been trying to get Juno to work (a Julia plugin for Light Table), 
>> but after following the installation instructions on their website 
>>  I end up getting the following 
>> error, both on startup and when attempting to execute Julia commands:
>>
>>
>> Couldn't connect to Julia
>>
>> WARNING: deprecated syntax "(eltype(xs)=>Int)[]" at 
>> /home/thomas/.julia/v0.4/Lazy/src/collections.jl:23.
>> Use "Dict{eltype(xs),Int}()" instead.
>>
>> WARNING: deprecated syntax "(String=>Vector{Function})[]" at 
>> /home/thomas/.julia/v0.4/Jewel/src/lazymod.jl:8.
>> Use "Dict{String,Vector{Function}}()" instead.
>> ERROR: InexactError()
>>  in char at char.jl:1
>>  in include at ./boot.jl:245
>>  in include_from_node1 at ./loading.jl:128
>>  in include at ./boot.jl:245
>>  in include_from_node1 at ./loading.jl:128
>>  in reload_path at ./loading.jl:152
>>  in _require at ./loading.jl:67
>>  in require at ./loading.jl:54
>>  in require_3B_3948 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
>>  in require at /home/thomas/.julia/v0.4/Jewel/src/lazymod.jl:2
>>  in include at ./boot.jl:245
>>  in include_from_node1 at ./loading.jl:128
>>  in include at ./boot.jl:245
>>  in include_from_node1 at ./loading.jl:128
>>  in include at ./boot.jl:245
>>  in include_from_node1 at ./loading.jl:128
>>  in reload_path at ./loading.jl:152
>>  in _require at ./loading.jl:67
>>  in require at ./loading.jl:52
>>  in require_3B_3948 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
>>  in include at ./boot.jl:245
>>  in include_from_node1 at loading.jl:128
>>  in process_options at ./client.jl:293
>>  in _start at ./client.jl:362
>>  in _start_3B_3774 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
>> while loading /home/thomas/.julia/v0.4/JuliaParser/src/lexer.jl, in 
>> expression starting on line 12
>> while loading /home/thomas/.julia/v0.4/JuliaParser/src/JuliaParser.jl, in 
>> expression starting on line 5
>> while loading /home/thomas/.julia/v0.4/Jewel/src/parse/scope.jl, in 
>> expression starting on line 4
>> while loading /home/thomas/.julia/v0.4/Jewel/src/parse/parse.jl, in 
>> expression starting on line 1
>> while loading /home/thomas/.julia/v0.4/Jewel/src/Jewel.jl, in expression 
>> starting on line 7
>> while loading /home/thomas/.config/LightTable/plugins/Julia/jl/init.jl, in 
>> expression starting on line 27
>>
>>
>> I'm on Ubuntu 14.04 and have tried re-installing Julia (now on Version 
>> 0.4.0-dev+1021 (2014-10-08 21:56 UTC) though I was on v0.3 before (it seems 
>> github automatically gave me the 0.4 version :) )) and also LightTable, but 
>> I haven't had any luck.
>>
>> Any advice?
>>
>>

[julia-users] Re: JUNO: Couldn't Connect to Julia

2014-10-10 Thread Mike Innes
Hi Thomas,

I've decided to wait until 0.4 has settled down a bit before supporting it 
in Juno, so it's best to grab the latest release of Julia (v0.3). Building 
from git should work fine but you could also try using the Ubuntu packages 
 if 
that's not working for you.

On Thursday, 9 October 2014 03:15:13 UTC+1, Thomas Moore wrote:
>
> I've been trying to get Juno to work (a Julia plugin for Light Table), but 
> after following the installation instructions on their website 
>  I end up getting the following 
> error, both on startup and when attempting to execute Julia commands:
>
>
> Couldn't connect to Julia
>
> WARNING: deprecated syntax "(eltype(xs)=>Int)[]" at 
> /home/thomas/.julia/v0.4/Lazy/src/collections.jl:23.
> Use "Dict{eltype(xs),Int}()" instead.
>
> WARNING: deprecated syntax "(String=>Vector{Function})[]" at 
> /home/thomas/.julia/v0.4/Jewel/src/lazymod.jl:8.
> Use "Dict{String,Vector{Function}}()" instead.
> ERROR: InexactError()
>  in char at char.jl:1
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in reload_path at ./loading.jl:152
>  in _require at ./loading.jl:67
>  in require at ./loading.jl:54
>  in require_3B_3948 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
>  in require at /home/thomas/.julia/v0.4/Jewel/src/lazymod.jl:2
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in reload_path at ./loading.jl:152
>  in _require at ./loading.jl:67
>  in require at ./loading.jl:52
>  in require_3B_3948 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
>  in include at ./boot.jl:245
>  in include_from_node1 at loading.jl:128
>  in process_options at ./client.jl:293
>  in _start at ./client.jl:362
>  in _start_3B_3774 at /home/thomas/julia/usr/bin/../lib/julia/sys.so
> while loading /home/thomas/.julia/v0.4/JuliaParser/src/lexer.jl, in 
> expression starting on line 12
> while loading /home/thomas/.julia/v0.4/JuliaParser/src/JuliaParser.jl, in 
> expression starting on line 5
> while loading /home/thomas/.julia/v0.4/Jewel/src/parse/scope.jl, in 
> expression starting on line 4
> while loading /home/thomas/.julia/v0.4/Jewel/src/parse/parse.jl, in 
> expression starting on line 1
> while loading /home/thomas/.julia/v0.4/Jewel/src/Jewel.jl, in expression 
> starting on line 7
> while loading /home/thomas/.config/LightTable/plugins/Julia/jl/init.jl, in 
> expression starting on line 27
>
>
> I'm on Ubuntu 14.04 and have tried re-installing Julia (now on Version 
> 0.4.0-dev+1021 (2014-10-08 21:56 UTC) though I was on v0.3 before (it seems 
> github automatically gave me the 0.4 version :) )) and also LightTable, but 
> I haven't had any luck.
>
> Any advice?
>
>

Re: [julia-users] Re: JUNO: Couldn't Connect to Julia

2014-10-09 Thread Ivar Nesje
To be clear on the exact commands Keno referenced. This is the steps you 
need to perform.

git clone git://github.com/JuliaLang/julia.git
git checkout release-0.3
make cleanall
make

If you want to further reduce the risk of getting a broken commit (someone 
might do a incomplete or broken backport), you should checkout the latest 
tagged release. (now it is v0.3.1)

When you clone from github, you will always get the master version (as long 
as we don't change our github settings, and that would be somewhat 
unusual). One might reasonably argue that we should have used a dev branch 
to test the breaking changes for unintended breakage, before merging them 
back to the master branch, but currently we don't have the resources to 
maintain multiple branches. That would be quite tedious work.

Regards Ivar

kl. 10:17:36 UTC+2 torsdag 9. oktober 2014 skrev Keno Fischer følgende:
>
> You can either check out the release-0.3 branch or use the 
> juliareleases (as opposed to julianightlies) PPA as described at 
> http://julialang.org/downloads/ 
>
> On Thu, Oct 9, 2014 at 3:56 AM, Thomas Moore  > wrote: 
> > Well that was another surprise: to upgrade, I deleted my julia and 
> .julia 
> > files, and then I just went to the github site and followed the 
> installation 
> > instructions there (in particular, running git clone 
> > git://github.com/JuliaLang/julia.git and then "make". 
> > 
> > I wasn't expecting a 0.4 dev version. How would one go about installing 
> a 
> > 0.3 version on Linux? 
> > 
> > 
> > On Thursday, 9 October 2014 15:45:58 UTC+10, Ivar Nesje wrote: 
> >> 
> >> The errors seem to be due to breaking changes on the master branch. 
> You'll 
> >> either have to help the relevant package authors stay compatible, wait 
> until 
> >> someone else fixes the problem, or use one of the 0.3.X versions. How 
> did 
> >> you install Julia? 
>


Re: [julia-users] Re: JUNO: Couldn't Connect to Julia

2014-10-09 Thread Keno Fischer
You can either check out the release-0.3 branch or use the
juliareleases (as opposed to julianightlies) PPA as described at
http://julialang.org/downloads/

On Thu, Oct 9, 2014 at 3:56 AM, Thomas Moore  wrote:
> Well that was another surprise: to upgrade, I deleted my julia and .julia
> files, and then I just went to the github site and followed the installation
> instructions there (in particular, running git clone
> git://github.com/JuliaLang/julia.git and then "make".
>
> I wasn't expecting a 0.4 dev version. How would one go about installing a
> 0.3 version on Linux?
>
>
> On Thursday, 9 October 2014 15:45:58 UTC+10, Ivar Nesje wrote:
>>
>> The errors seem to be due to breaking changes on the master branch. You'll
>> either have to help the relevant package authors stay compatible, wait until
>> someone else fixes the problem, or use one of the 0.3.X versions. How did
>> you install Julia?


[julia-users] Re: JUNO: Couldn't Connect to Julia

2014-10-09 Thread Nils Gudat
Hi Thomas,

Not sure about your particular error, but when I installed mine it didn't 
work due to an outdated Jewel package (apparently Julia came with an older 
version). Pkg.update() did the trick. Since you get a couple of 
Jewel-related errors in your output this might be worth trying. 
In general, the developer of Juno is super helpful and you can approach him 
with your specific issue on the Julia-LT Gitter 
.

Best of luck!


[julia-users] Re: JUNO: Couldn't Connect to Julia

2014-10-09 Thread Thomas Moore
Well that was another surprise: to upgrade, I deleted my julia and .julia 
files, and then I just went to the github site 
 and followed the installation 
instructions there (in particular, running git clone 
git://github.com/JuliaLang/julia.git and then "make".

I wasn't expecting a 0.4 dev version. How would one go about installing a 
0.3 version on Linux?


On Thursday, 9 October 2014 15:45:58 UTC+10, Ivar Nesje wrote:
>
> The errors seem to be due to breaking changes on the master branch. You'll 
> either have to help the relevant package authors stay compatible, wait 
> until someone else fixes the problem, or use one of the 0.3.X versions. How 
> did you install Julia?