Click here to register.

Comments

Flat
WARNING: Array(::Type{T}, m::Int) where T is deprecated, use Array{T}(m) instead.
User: birdieagle
Date: 11/15/2017 5:26 pm
Views: 46
Rating: 0

Hello,

I have this error to get a wlist file by using:

julia ../bin/prompts2wlist.jl prompts.txt wlist

the result is:
WARNING: Array(::Type{T}, m::Int) where T is deprecated, use Array{T}(m) instead.
Stacktrace:
 [1] depwarn at .\deprecated.jl:70
 [2] Array(::Type{String}, ::Int32) at .\deprecated.jl:57
 [3] prompts2wlist(::String, ::String) at E:\voxforge\bin\prompts2wlist.jl:39
 [4] include_from_node1 at .\loading.jl:576
 [5] include at .\sysimg.jl:14
 [6] process_options at .\client.jl:305
 [7] _start at .\client.jl:371
while loading E:\voxforge\bin\prompts2wlist.jl, in expression starting on line 58
I'm using Cygwin compiler in Windows 10. Do you guys have any idea on how to solve this problem? Thank you!
Vesa
Re: WARNING: Array(::Type{T}, m::Int) where T is deprecated, use Array{T}(m) instead.
User: kmaclean
Date: 11/16/2017 9:32 am
Views: 0
Rating: 0

>I'm using Cygwin compiler in Windows 10.

try running the julia scripts from the windows command line

Re: WARNING: Array(::Type{T}, m::Int) where T is deprecated, use Array{T}(m) instead.
User: birdieagle
Date: 11/22/2017 11:07 pm
Views: 1
Rating: 0

Thank you very much! 

The problem was solved.. I changed the format of the array, that the error suggested, and it worked!

Vesa

Next