forio / julia-studio

An IDE for the Julia Language
forio.com/products/julia-studio
GNU General Public License v3.0
223 stars 48 forks source link

UnitRange has no field len in Julia 0.3, Julia Studio 0.4.5 #247

Open cdkorzen opened 10 years ago

cdkorzen commented 10 years ago

My issue is similar to issue number #242.

I have already reinstalled Julia/Julia Studio and deleted the related files from my user profile folder.

Error message: ERROR: type UnitRange has no field len in on_complete_msg at C:\Program Files\JuliaStudio-0.4.5\julia-studio\share\julia-studio\Console\ConsoleLogic.jl:210 while loading C:\Program Files\JuliaStudio-0.4.5\julia-studio\share\julia-studio\Console\Console.jl, in expression starting on line 21

if I reset Julia and run versioninfo(): Julia Version 0.3.0 Commit 7681878 (2014-08-20 20:43 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge) LAPACK: libopenblas LIBM: libopenlibm LLVM: libLLVM-3.3

Julia Studio -> Help -> About Julia Studio: Julia Studio 0.4.5 Based on Qt 5.2.1 (64 bit) Built on Sep 2 2014 at 09:20:36

I installed using the executable at: https://s3.amazonaws.com/cdn-common.forio.com/julia-studio/0.4.5/julia-studio-win64-installer-0.4.5.exe from http://forio.com/labs/julia-studio/download/

Bbosse commented 10 years ago

I have exactly the same problem. Can this cause any difficulties?

WhatzGames commented 10 years ago

Same for me, even after re-installing it for about 5 times :/

korantir commented 10 years ago

ssame for me, any ideas how to fix this?

mjaniec2013 commented 10 years ago

Have the same problem.

Windows 7 64 bit

Julia Studio 0.4.5 (64 bit)

Julia 0.3.1 installed before JS

error msg:

"ERROR: type UnitRange has no field len in on_complete_msg at C:\Program Files\JuliaStudio-0.4.5\julia-studio\share\julia-studio\Console\ConsoleLogic.jl:210 while loading C:\Program Files\JuliaStudio-0.4.5\julia-studio\share\julia-studio\Console\Console.jl, in expression starting on line 21"

versioninfo() run in JS returns:

"Julia Version 0.3.0 Commit 7681878 (2014-08-20 20:43 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) CPU: AMD Phenom(tm) II X6 1055T Processor WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Barcelona) LAPACK: libopenblas LIBM: libopenlibm LLVM: libLLVM-3.3"

dobravka commented 10 years ago

Same for me. Not usable at all.

pjgaudre commented 10 years ago

I have the same problem. I can't use Julia Studio at all. The error message I receive is

ERROR: type UnitRange has no field len in on_complete_msg at C:\Program Files\JuliaStudio-0.4.5\julia-studio\share\julia-studio\Console\ConsoleLogic.jl:210 while loading C:\Program Files\JuliaStudio-0.4.5\julia-studio\share\julia-studio\Console\Console.jl, in expression starting on line 21

I am currently using:

Julia Version 0.3.1 Commit c03f413* (2014-09-21 21:30 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge) LAPACK: libopenblas LIBM: libopenlibm LLVM: libLLVM-3.3

ImponDeRable commented 10 years ago

Same here :cry:

Error:

ERROR: type UnitRange has no field len
 in on_complete_msg at E:\Programy\JuliaStudio\julia-studio\share\julia-studio\Console\ConsoleLogic.jl:210
while loading E:\Programy\JuliaStudio\julia-studio\share\julia-studio\Console\Console.jl, in expression starting on line 21
hypercompetent commented 10 years ago

I seem to be error free after editing ConsoleLogic.jl line 210.

I opened C:\Program Files\JuliaStudio-0.4.5\julia-studio\share\julia-studio\Console\ConsoleLogic.jl in SublimeText running as administrator so that I could update the file. Other editors should work as long as you have privileges to write to Program Files.

I changed range.len to length( range ), so that line 210 is now:

  Event.new_event( event_system, "networkOut", cid, "output-complete", [ [ string( range.start ), string( length(range) ) ], result ] )

I'm not getting the error anymore, but I don't really know how the event system works, so this might break something else.

bmkessler commented 10 years ago

range only has start and stop fields, so you are correct that length(range) is the correct method to get the length at line 210. I just submitted this as a pull request to close this issue. That shouldn't cause any issues assuming that the original parameter to the event was really intended to be the length of the range.

my-little-repository commented 10 years ago

Same problem. I followed hypercompetent advice and that solved the problem.

WhatzGames commented 10 years ago

I did what hypercompetent had adviced but now it says


ERROR: unknown package REPLCompletions 
in wait at task.jl:51 
while loading D:\JuliaStudio-0.4.5\julia-studio\share\julia-studio\Console\Console.jl, in expression starting on line 2
omadav commented 9 years ago

Same for me, using win 8.