Transform the output of an SqlQuery to numeric - sql

I have got a Sql table and connected to it using R with odbcConnect(). The data I used is to find here: http://robjhyndman.com/tsdldata/data/nybirths.dat
I loaded a Query with
bstring <- sqlQuery(dbcon, "SELECT maptostring(__raw__) FROM births")
where dbcon is the connection to my database. The returned data is the following String:
bstring
$maptostring
[1] {\n "26.663;23.598;26.931;24.74;25.806" : "24.364;24.477;23.901;23.175;23.227"\n}\n
[2] {\n "26.663;23.598;26.931;24.74;25.806" : "21.672;21.87;21.439;21.089;23.709"\n}\n
[3] {\n "26.663;23.598;26.931;24.74;25.806" : "21.669;21.752;20.761;23.479;23.824"\n}\n
[4] {\n "26.663;23.598;26.931;24.74;25.806" : "23.105;23.11;21.759;22.073;21.937"\n}\n
[5] {\n "26.663;23.598;26.931;24.74;25.806" : "20.035;23.59;21.672;22.222;22.123"\n}\n
[6] {\n "26.663;23.598;26.931;24.74;25.806" : "23.95;23.504;22.238;23.142;21.059"\n}\n
[7] {\n "26.663;23.598;26.931;24.74;25.806" : "21.573;21.548;20;22.424;20.615"\n}\n
[8] {\n "26.663;23.598;26.931;24.74;25.806" : "21.761;22.874;24.104;23.748;23.262"\n}\n
[9] {\n "26.663;23.598;26.931;24.74;25.806" : "22.907;21.519;22.025;22.604;20.894"\n}\n
[10] {\n "26.663;23.598;26.931;24.74;25.806" : "24.677;23.673;25.32;23.583;24.671"\n}\n
[11] {\n "26.663;23.598;26.931;24.74;25.806" : "24.454;24.122;24.252;22.084;22.991"\n}\n
[12] {\n "26.663;23.598;26.931;24.74;25.806" : "23.287;23.049;25.076;24.037;24.43"\n}\n
[13] {\n "26.663;23.598;26.931;24.74;25.806" : "24.667;26.451;25.618;25.014;25.11"\n}\n
[14] {\n "26.663;23.598;26.931;24.74;25.806" : "22.964;23.981;23.798;22.27;24.775"\n}\n
[15] {\n "26.663;23.598;26.931;24.74;25.806" : "22.646;23.988;24.737;26.276;25.816"\n}\n
[16] {\n "26.663;23.598;26.931;24.74;25.806" : "25.21;25.199;23.162;24.707;24.364"\n}\n
[17]{\n "26.663;23.598;26.931;24.74;25.806" : "22.644;25.565;24.062;25.431;24.635"\n}\n
[18] {\n "26.663;23.598;26.931;24.74;25.806" : "27.009;26.606;26.268;26.462;25.246"\n}\n
[19] {\n "26.663;23.598;26.931;24.74;25.806" : "25.18;24.657;23.304;26.982;26.199"\n}\n
[20] {\n "26.663;23.598;26.931;24.74;25.806" : "27.21;26.122;26.706;26.878;26.152"\n}\n
[21] {\n "26.663;23.598;26.931;24.74;25.806" : "26.379;24.712;25.688;24.99;24.239"\n}\n
[22] {\n "26.663;23.598;26.931;24.74;25.806" : "26.721;23.475;24.767;26.219;28.361"\n}\n
[23] {\n "26.663;23.598;26.931;24.74;25.806" : "28.599;27.914;27.784;25.693;26.881"\n}\n
[24] {\n "26.663;23.598;26.931;24.74;25.806" : "26.217;24.218;27.914;26.975;28.527"\n}\n
[25] {\n "26.663;23.598;26.931;24.74;25.806" : "27.139;28.982;28.169;28.056;29.136"\n}\n
[26] {\n "26.663;23.598;26.931;24.74;25.806" : "26.291;26.987;26.589;24.848;27.543"\n}\n
[27] {\n "26.663;23.598;26.931;24.74;25.806" : "26.896;28.878;27.39;28.065;28.141"\n}\n
[28] {\n "26.663;23.598;26.931;24.74;25.806" : "29.048;28.484;26.634;27.735;27.132"\n}\n
[29] {\n "26.663;23.598;26.931;24.74;25.806" : "24.924;28.963;26.589;27.931;28.009"\n}\n
[30] {\n "26.663;23.598;26.931;24.74;25.806" : "29.229;28.759;28.405;27.945;25.912"\n}\n
[31] {\n "26.663;23.598;26.931;24.74;25.806" : "26.619;26.076;25.286;27.66;25.951"\n}\n
[32] {\n "26.663;23.598;26.931;24.74;25.806" : "26.398;25.565;28.865;30;29.261"\n}\n
[33] {\n "26.663;23.598;26.931;24.74;25.806" : "29.012;26.992;27.897"\n}\n
[34] {\n "26.663;23.598;26.931;24.74;25.806" : "24.364;24.477;23.901;23.175;23.227"\n}\n
[35] {\n "26.663;23.598;26.931;24.74;25.806" : "21.672;21.87;21.439;21.089;23.709"\n}\n
[36] {\n "26.663;23.598;26.931;24.74;25.806" : "21.669;21.752;20.761;23.479;23.824"\n}\n
[37] {\n "26.663;23.598;26.931;24.74;25.806" : "23.105;23.11;21.759;22.073;21.937"\n}\n
[38] {\n "26.663;23.598;26.931;24.74;25.806" : "20.035;23.59;21.672;22.222;22.123"\n}\n
[39] {\n "26.663;23.598;26.931;24.74;25.806" : "23.95;23.504;22.238;23.142;21.059"\n}\n
[40] {\n "26.663;23.598;26.931;24.74;25.806" : "21.573;21.548;20;22.424;20.615"\n}\n
[41] {\n "26.663;23.598;26.931;24.74;25.806" : "21.761;22.874;24.104;23.748;23.262"\n}\n
[42] {\n "26.663;23.598;26.931;24.74;25.806" : "22.907;21.519;22.025;22.604;20.894"\n}\n
[43] {\n "26.663;23.598;26.931;24.74;25.806" : "24.677;23.673;25.32;23.583;24.671"\n}\n
[44] {\n "26.663;23.598;26.931;24.74;25.806" : "24.454;24.122;24.252;22.084;22.991"\n}\n
[45] {\n "26.663;23.598;26.931;24.74;25.806" : "23.287;23.049;25.076;24.037;24.43"\n}\n
[46] {\n "26.663;23.598;26.931;24.74;25.806" : "24.667;26.451;25.618;25.014;25.11"\n}\n
[47] {\n "26.663;23.598;26.931;24.74;25.806" : "22.964;23.981;23.798;22.27;24.775"\n}\n
[48] {\n "26.663;23.598;26.931;24.74;25.806" : "22.646;23.988;24.737;26.276;25.816"\n}\n
[49] {\n "26.663;23.598;26.931;24.74;25.806" : "25.21;25.199;23.162;24.707;24.364"\n}\n
[50] {\n "26.663;23.598;26.931;24.74;25.806" : "22.644;25.565;24.062;25.431;24.635"\n}\n
[51] {\n "26.663;23.598;26.931;24.74;25.806" : "27.009;26.606;26.268;26.462;25.246"\n}\n
[52] {\n "26.663;23.598;26.931;24.74;25.806" : "25.18;24.657;23.304;26.982;26.199"\n}\n
[53] {\n "26.663;23.598;26.931;24.74;25.806" : "27.21;26.122;26.706;26.878;26.152"\n}\n
[54] {\n "26.663;23.598;26.931;24.74;25.806" : "26.379;24.712;25.688;24.99;24.239"\n}\n
[55] {\n "26.663;23.598;26.931;24.74;25.806" : "26.721;23.475;24.767;26.219;28.361"\n}\n
[56] {\n "26.663;23.598;26.931;24.74;25.806" : "28.599;27.914;27.784;25.693;26.881"\n}\n
[57] {\n "26.663;23.598;26.931;24.74;25.806" : "26.217;24.218;27.914;26.975;28.527"\n}\n
[58] {\n "26.663;23.598;26.931;24.74;25.806" : "27.139;28.982;28.169;28.056;29.136"\n}\n
[59] {\n "26.663;23.598;26.931;24.74;25.806" : "26.291;26.987;26.589;24.848;27.543"\n}\n
[60] {\n "26.663;23.598;26.931;24.74;25.806" : "26.896;28.878;27.39;28.065;28.141"\n}\n
[61] {\n "26.663;23.598;26.931;24.74;25.806" : "29.048;28.484;26.634;27.735;27.132"\n}\n
[62] {\n "26.663;23.598;26.931;24.74;25.806" : "24.924;28.963;26.589;27.931;28.009"\n}\n
[63] {\n "26.663;23.598;26.931;24.74;25.806" : "29.229;28.759;28.405;27.945;25.912"\n}\n
[64] {\n "26.663;23.598;26.931;24.74;25.806" : "26.619;26.076;25.286;27.66;25.951"\n}\n
[65] {\n "26.663;23.598;26.931;24.74;25.806" : "26.398;25.565;28.865;30;29.261"\n}\n
[66] {\n "26.663;23.598;26.931;24.74;25.806" : "29.012;26.992;27.897"\n}\n
33 Levels: {\n "26.663;23.598;26.931;24.74;25.806" : "20.035;23.59;21.672;22.222;22.123"\n}\n ...
I want to use ARIMA to create a forecast using this data. To do so I tried to parse this data into numeric using
bnumeric <- as.numeric(unlist(bstring))
This did not work well, I got a pretty useless vector of numbers. How can I extract the numbers from this data to create a forecast?

Related

Understanding ELF TBSS and TDATA section loading

My elf file's sections are as follows
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .text PROGBITS fffffffff7e020b0 000000b0
0000000000074f50 0000000000000000 AX 0 0 16
[ 2] .rodata PROGBITS fffffffff7e77000 00075000
0000000000014000 0000000000000000 AM 0 0 16
[ 3] .eh_frame_hdr PROGBITS fffffffff7e8b000 00089000
000000000000000c 0000000000000000 A 0 0 4
[ 4] .data PROGBITS fffffffff7e8b010 00089010
0000000000001ff0 0000000000000000 WA 0 0 16
[ 5] .bss NOBITS fffffffff7e8d000 0008b000
0000000000014000 0000000000000000 WA 0 0 4096
[ 6] .got PROGBITS fffffffff7ea1000 0009f000
0000000000001000 0000000000000000 WA 0 0 8
[ 7] .tdata PROGBITS fffffffff7ea2000 000a0000
000000000000b000 0000000000000000 WAT 0 0 8
[ 8] .tbss NOBITS fffffffff7ead000 000ab000
000000000000012a 0000000000000000 WAT 0 0 8
[ 9] .debug_abbrev PROGBITS 0000000000000000 000ab000
000000000001a8d4 0000000000000000 0 0 1
[10] .debug_info PROGBITS 0000000000000000 000c58d4
000000000016c624 0000000000000000 0 0 1
[11] .debug_aranges PROGBITS 0000000000000000 00231ef8
0000000000024130 0000000000000000 0 0 1
[12] .debug_ranges PROGBITS 0000000000000000 00256028
000000000004bfa0 0000000000000000 0 0 1
[13] .debug_str PROGBITS 0000000000000000 002a1fc8
0000000000123ecd 0000000000000001 MS 0 0 1
[14] .debug_pubnames PROGBITS 0000000000000000 003c5e95
000000000005da3c 0000000000000000 0 0 1
[15] .debug_pubtypes PROGBITS 0000000000000000 004238d1
00000000000a1e07 0000000000000000 0 0 1
[16] .debug_frame PROGBITS 0000000000000000 004c56d8
0000000000056c10 0000000000000000 0 0 8
[17] .debug_line PROGBITS 0000000000000000 0051c2e8
00000000000b5c55 0000000000000000 0 0 1
[18] .debug_loc PROGBITS 0000000000000000 005d1f3d
000000000000628c 0000000000000000 0 0 1
[19] .symtab SYMTAB 0000000000000000 005d81d0
0000000000015a20 0000000000000018 21 2565 8
[20] .shstrtab STRTAB 0000000000000000 005edbf0
00000000000000da 0000000000000000 0 0 1
[21] .strtab STRTAB 0000000000000000 005edcca
000000000004783e 0000000000000000 0 0 1
and the program headers are
Elf file type is EXEC (Executable file)
Entry point 0xfffffffff7e39be0
There are 2 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000000000 0xfffffffff7e02000 0x0000000000000000
0x00000000000ab000 0x00000000000ab12a RWE 0x1000
TLS 0x00000000000a0000 0xfffffffff7ea2000 0x00000000000a0000
0x000000000000b000 0x000000000000b12a RW 0x8
Section to Segment mapping:
Segment Sections...
00 .text .rodata .eh_frame_hdr .data .bss .got .tdata
01 .tdata .tbss
The TLS section's total size is as expected being the size of tdata + tbss sections.
From the TLS handling document, i expect that tdata and tbss sections will be right before the fs register's pointed value and thus the total size would be 0xb12a.
But one of the variables which use thread_local have an offset of fs - 0xb130 which is outside of the expected TLS size.
I am trying to understand why the variable is not offset to at-most 0xb12a but more than that?
Although the size of TLS here is 0xb12a. The alignment of 0x8 will make the TLS pointer move to 0xb130 which is the address of variable observed here.

Obtaining names of data frame in Julia

I am trying to simply extract the list of names of a dataframe columns in Julia, but I get this error message:
ERROR: MethodError: objects of type Array{String,1} are not callable
Use square brackets [] for indexing an Array.
I am simply doing a call names(df).
(It also complains about some IOerror).
Thanks.
Edit: Here is the (ridiculously long) error I get with the MWE suggested below:
julia> df = DataFrame(:a => [2,3,5])
3×1 DataFrame
¦ Row ¦ a ¦
¦ ¦ Int64 ¦
+-----+-------¦
¦ 1 ¦ 2 ¦
¦ 2 ¦ 3 ¦
¦ 3 ¦ 5 ¦
julia> names(df)
ERROR: MethodError: objects of type Array{String,1} are not callable
Use square brackets [] for indexing an Array.
Stacktrace:
[1] top-level scope at REPL[144]:1
caused by [exception 6]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[65]:1
caused by [exception 5]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[65]:1
caused by [exception 4]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[65]:1
caused by [exception 3]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[20]:1
caused by [exception 2]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[20]:1
caused by [exception 1]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[20]:1
You've assigned a variable (of type Vector{String}) called names in your workspace prior to using DataFrames (Julia will prevent you from doing it after). The error message just tells you that you're trying to use names as function, which it isn't in your workspace.
names(df) should work on a data frame:
julia> using DataFrames
julia> df = DataFrame(:a => [2, 3, 5])
3×1 DataFrame
│ Row │ a │
│ │ Int64 │
├─────┼───────┤
│ 1 │ 2 │
│ 2 │ 3 │
│ 3 │ 5 │
julia> names(df)
1-element Array{Symbol,1}:
:a
Can you show us your code and try println(df) as well?

PersistenceQuery and Akka-Http zombie stream

Im atempting to stream the PersistenceQuery result with akka-http as SSE but it seems like when the http connection is closed from the client the PersistenceQuery stream is still hitting the event backend periodically.
// Http part
complete {
source(id)
.map(e => e.event) // other transformations
.map(e => ServerSentEvent(m.toString))
.keepAlive(4 seconds, () => ServerSentEvent.heartbeat)
}
// source
def source(id: UUID)(implicit system: ActorSystem, materializer: ActorMaterializer)= {
import system.dispatcher
val journalQuery = PersistenceQuery(system).readJournalFor[CassandraReadJournal](CassandraReadJournal.Identifier)
val futureSrcGraph: RunnableGraph[Future[Source[EventEnvelope, NotUsed]]] =
journalQuery.currentEventsByPersistenceId(id.toString, 0, Long.MaxValue)
.map(_.sequenceNr)
.toMat(Sink.last)(Keep.right)
.mapMaterializedValue(fs => fs.recoverWith {
case _ => Future { 0L } // assume we start at 1
}.map(s => journalQuery.eventsByPersistenceId(id.toString, s + 1, Long.MaxValue)))
Source.fromFutureSource(futureSrcGraph.run())
So this basically works the only problem is that the stream is never finished or so it seems. I have tried it with both CassandraReadJournal and LevelDb
Example of the log output:
[DEBUG] [06/18/2018 10:52:16.774] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [0]
[DEBUG] [06/18/2018 10:52:16.790] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [15] ms (empty)
[DEBUG] [06/18/2018 10:52:16.790] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [1]
[DEBUG] [06/18/2018 10:52:16.796] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [5] ms (empty)
[DEBUG] [06/18/2018 10:52:19.768] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [0]
[DEBUG] [06/18/2018 10:52:19.784] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [15] ms (empty)
[DEBUG] [06/18/2018 10:52:19.784] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [1]
[DEBUG] [06/18/2018 10:52:19.790] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [6] ms (empty)
[DEBUG] [06/18/2018 10:52:22.765] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [0]
[DEBUG] [06/18/2018 10:52:22.772] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [6] ms (empty)
[DEBUG] [06/18/2018 10:52:22.772] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [1]
[DEBUG] [06/18/2018 10:52:22.790] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [17] ms (empty)
And it keeps going for ever.
I have also tried omitting the Source.fromFutureSource and just running journalQuery.eventsByPersistenceId with the same results.
What am I doing wrong?
The here were that my corporat proxy never drops the connection to the server even when the client closes the connection.

KANNEL SMPP not able to send message to geturl

We are not able to receive MO on smpp kannel
below if the configure smsbox configuration
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
sms-length = 500
smsbox-id = mysmsc
group = sendsms-user
username = tester
password = foobar
#max-messages=3
# http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar
group = sms-service
accepted-smsc = smsc2
keyword = default
catch-all = yes
max-messages = 3
get-url = "http://some.com/rcv.php?sender=%p&text=%a"
group = smsbox-route
smsbox-id = mysmsc
smsc-id = smsc2
shortcode = 4867
below is the debug log
2016-08-29 22:22:47 [9639] [7] DEBUG: validity_period: NULL
2016-08-29 22:22:47 [9639] [7] DEBUG: registered_delivery: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [7] DEBUG: replace_if_present_flag: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [7] DEBUG: data_coding: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [7] DEBUG: sm_length: 4 = 0x00000004
2016-08-29 22:22:47 [9639] [7] DEBUG: short_message: "Test"
2016-08-29 22:22:47 [9639] [7] DEBUG: SMPP PDU dump ends.
2016-08-29 22:22:47 [9639] [7] WARNING: smsbox_list empty!
2016-08-29 22:22:47 [9639] [7] DEBUG: SMPP[smsc1]: Sending PDU:
2016-08-29 22:22:47 [9639] [7] DEBUG: SMPP PDU 0x7f6310005730 dump:
2016-08-29 22:22:47 [9639] [7] DEBUG: type_name: deliver_sm_resp
2016-08-29 22:22:47 [9639] [7] DEBUG: command_id: 2147483653 = 0x80000005
2016-08-29 22:22:47 [9639] [7] DEBUG: command_status: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [4] WARNING: smsbox_list empty!
2016-08-29 22:22:47 [9639] [7] DEBUG: sequence_number: 118 = 0x00000076
2016-08-29 22:22:47 [9639] [7] DEBUG: message_id: NULL
2016-08-29 22:22:47 [9639] [7] DEBUG: SMPP PDU dump ends.
You don't have an smsc group there (smsc2 is not defined)

Objective-c decode UInt8 array of unsigned chars

I'm trying to decode the following object, the variable is called data and is of type UInt8.
(UInt8 [520]) data = {
[0] = '\xff'
[1] = '\0'
[2] = '2'
[3] = '\0'
[4] = 'H'
[5] = '\0'
[6] = 'o'
[7] = '\0'
[8] = 's'
[9] = '\0'
[10] = 't'
[11] = '\0'
[12] = 'e'
[13] = '\0'
[14] = 'd'
[15] = '\0'
[16] = ' '
[17] = '\0'
[18] = 'o'
[19] = '\0'
[20] = 'n'
[21] = '\0'
[22] = ' '
[23] = '\0'
[24] = 'D'
[25] = '\0'
[26] = 'i'
[27] = '\0'
[28] = 'g'
[29] = '\0'
[30] = 'i'
[31] = '\0'
[32] = 't'
[33] = '\0'
[34] = 'a'
[35] = '\0'
[36] = 'l'
[37] = '\0'
[38] = ' '
[39] = '\0'
[40] = 'O'
[41] = '\0'
[42] = 'c'
[43] = '\0'
[44] = 'e'
[45] = '\0'
[46] = 'a'
[47] = '\0'
[48] = 'n'
[49] = '\0'
[50] = '.'
[51] = '\0'
[52] = ' '
[53] = '\0'
[54] = 'M'
[55] = '\0'
[56] = 'a'
[57] = '\0'
[58] = 'n'
[59] = '\0'
[60] = 'a'
[61] = '\0'
[62] = 'g'
[63] = '\0'
[64] = 'e'
[65] = '\0'
[66] = 'd'
[67] = '\0'
[68] = ' '
[69] = '\0'
[70] = 'w'
[71] = '\0'
[72] = 'i'
[73] = '\0'
[74] = 't'
[75] = '\0'
[76] = 'h'
[77] = '\0'
[78] = ' '
[79] = '\0'
[80] = 'P'
[81] = '\0'
[82] = 'u'
[83] = '\0'
[84] = 'p'
[85] = '\0'
[86] = 'p'
[87] = '\0'
[88] = 'e'
[89] = '\0'
[90] = 't'
[91] = '\0'
[92] = '!'
[93] = '\0'
[94] = '\xa7'
[95] = '\0'
[96] = '0'
[97] = '\0'
[98] = '\xa7'
[99] = '\0'
[100] = '2'
[101] = '\0'
[102] = '0'
[103] = '\0'
[104] = '\xa9'
[105] = '\x14'
[106] = '\x0e'
[107] = '\x02'
[108] = '\x01'
[109] = '\0'
[110] = '\0'
[111] = '\0'
[112] = '\xe3'
[113] = ' '
[114] = '\x0e'
[115] = '\x02'
[116] = '\x01'
[117] = '\0'
[118] = '\0'
[119] = '\0'
[120] = '\xe8'
[121] = '\xc3'
[122] = '\x85'
[123] = '\x01'
[124] = '\x01'
[125] = '\0'
[126] = '\0'
[127] = '\0'
[128] = '\0'
[129] = '\xc3'
[130] = '\x85'
[131] = '\x01'
[132] = '\x01'
[133] = '\0'
[134] = '\0'
[135] = '\0'
[136] = '\xc8'
[137] = 'P'
[138] = '\0'
[139] = '\0'
[140] = '\x01'
[141] = '\0'
[142] = '\0'
[143] = '\0'
[144] = '`'
[145] = '\xc3'
[146] = '\xbf'
[147] = '_'
[148] = '\xff'
[149] = '\x7f'
[150] = '\0'
[151] = '\0'
[152] = 'a'
[153] = '"'
[154] = '\x0e'
[155] = '\x02'
[156] = '\x01'
[157] = '\0'
[158] = '\0'
[159] = '\0'
[160] = '\xf8'
[161] = '\xc3'
[162] = '\x85'
[163] = '\x01'
[164] = '\x01'
[165] = '\0'
[166] = '\0'
[167] = '\0'
[168] = '\xfc'
[169] = '\xc3'
[170] = '\x85'
[171] = '\x01'
[172] = '\x01'
[173] = '\0'
[174] = '\0'
[175] = '\0'
[176] = '\xa0'
[177] = '>'
[178] = '\x85'
[179] = '\x01'
[180] = '\0'
[181] = '\0'
[182] = '\0'
[183] = '\0'
[184] = '\xe8'
[185] = '\xc3'
[186] = '\x85'
[187] = '\x01'
[188] = '\x01'
[189] = '\0'
[190] = '\0'
[191] = '\0'
[192] = '\xe8'
[193] = '\xc3'
[194] = '\x85'
[195] = '\x01'
[196] = '\x01'
[197] = '\0'
[198] = '\0'
[199] = '\0'
[200] = '\0'
[201] = '\xc4'
[202] = '\x85'
[203] = '\x01'
[204] = '\x01'
[205] = '\0'
[206] = '\0'
[207] = '\0'
[208] = '\0'
[209] = '\0'
[210] = '\0'
[211] = '\0'
[212] = '\0'
[213] = '\0'
[214] = '\0'
[215] = '\0'
[216] = '\x80'
[217] = '6'
[218] = 'O'
[219] = '\0'
[220] = '\0'
[221] = '\0'
[222] = '\0'
[223] = '\0'
[224] = '#'
[225] = '\0'
[226] = '\0'
[227] = '\0'
[228] = '\0'
[229] = '6'
[230] = 'O'
[231] = '\0'
[232] = '\0'
[233] = '\xc3'
[234] = '\xbf'
[235] = '_'
[236] = '\xff'
[237] = '\x7f'
[238] = '\0'
[239] = '\0'
[240] = '\xfc'
[241] = '\xc3'
[242] = '\x85'
[243] = '\x01'
[244] = '\x01'
[245] = '\0'
[246] = '\0'
[247] = '\0'
[248] = '\0'
[249] = '\xc4'
[250] = '\x85'
[251] = '\x01'
[252] = '\x01'
[253] = '\0'
[254] = '\0'
[255] = '\0'
...
}
I'm using this code to convert to an NSString.
NSString *info =[[NSString alloc] initWithBytes:data length:sizeof(data) encoding:NSUnicodeStringEncoding];
But I'm just getting foreign characters and wing-dings in the output.
What am I doing wrong?
I'm only interested in the first 3 sections separated by '\xa7'.
Looks like I should've used
NSString *info =[[NSString alloc] initWithBytes:data length:sizeof(data) encoding:NSUTF16LittleEndianStringEncoding];