{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaIO/JLD.jl/issues/236","repository_url":"https://api.github.com/repos/JuliaIO/JLD.jl","labels_url":"https://api.github.com/repos/JuliaIO/JLD.jl/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/JuliaIO/JLD.jl/issues/236/comments","events_url":"https://api.github.com/repos/JuliaIO/JLD.jl/issues/236/events","html_url":"https://github.com/JuliaIO/JLD.jl/issues/236","id":380285769,"node_id":"MDU6SXNzdWUzODAyODU3Njk=","number":236,"title":"Trouble writing multiple files in a row in the same environnement","user":{"login":"gdestouet","id":44495118,"node_id":"MDQ6VXNlcjQ0NDk1MTE4","avatar_url":"https://avatars0.githubusercontent.com/u/44495118?v=4","gravatar_id":"","url":"https://api.github.com/users/gdestouet","html_url":"https://github.com/gdestouet","followers_url":"https://api.github.com/users/gdestouet/followers","following_url":"https://api.github.com/users/gdestouet/following{/other_user}","gists_url":"https://api.github.com/users/gdestouet/gists{/gist_id}","starred_url":"https://api.github.com/users/gdestouet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdestouet/subscriptions","organizations_url":"https://api.github.com/users/gdestouet/orgs","repos_url":"https://api.github.com/users/gdestouet/repos","events_url":"https://api.github.com/users/gdestouet/events{/privacy}","received_events_url":"https://api.github.com/users/gdestouet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-13T15:35:55Z","updated_at":"2018-11-13T15:35:55Z","closed_at":null,"author_association":"NONE","body":"I am having a weird error when i am running exactly the same function that write processed data in a .jld file. I am doing something like this :\r\n\r\n```\r\nfunc( param ) # No error, readable and correct written file\r\nfunc( param ) # Error ! ( see below )\r\n```\r\nwhere `func` will call `save( filename, varname, data)`\r\nDespite the fact that my function `func`  is fully deterministic, I can't call it multiple times in a row in the same environnement. I can only call it once in a session ( which always succeed with any parameters ).  The written data structure is composed of a dictionnary of 2D arrays of histograms and arrays of 2D arrays of histograms ( Histogram type from StatsBase ).\r\n\r\nI am using Julia 1.0.1 on Windows 10.\r\n\r\nThank you in advance for any \r\n\r\n```\r\nHDF5-DIAG: Error detected in HDF5 (1.8.13) thread 0:\r\n  #000: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dio.c line 225 in H5Dwrite(): can't prepare for writing data\r\n    major: Dataset\r\n    minor: Write failed\r\n  #001: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dio.c line 347 in H5D__pre_write(): can't write data\r\n    major: Dataset\r\n    minor: Write failed\r\n  #002: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dio.c line 783 in H5D__write(): can't write data\r\n    major: Dataset\r\n    minor: Write failed\r\n  #003: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dcontig.c line 580 in H5D__contig_write(): contiguous write failed\r\n    major: Dataset\r\n    minor: Write failed\r\n  #004: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dscatgath.c line 678 in H5D__scatgath_write(): datatype conversion failed\r\n    major: Dataset\r\n    minor: Can't convert datatypes\r\n  #005: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5T.c line 4819 in H5T_convert(): data type conversion failed\r\n    major: Attribute\r\n    minor: Unable to encode value\r\n  #006: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Tconv.c line 2571 in H5T__conv_struct_opt(): unable to convert compound datatype member\r\n    major: Datatype\r\n    minor: Unable to initialize object\r\n  #007: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5T.c line 4819 in H5T_convert(): data type conversion failed\r\n    major: Attribute\r\n    minor: Unable to encode value\r\n  #008: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Tconv.c line 2172 in H5T__conv_struct(): not a datatype\r\n    major: Datatype\r\n    minor: Inappropriate type\r\nHDF5-DIAG: Error detected in HDF5 (1.8.13) thread 0:\r\n  #000: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dio.c line 225 in H5Dwrite(): can't prepare for writing data\r\n    major: Dataset\r\n    minor: Write failed\r\n  #001: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dio.c line 347 in H5D__pre_write(): can't write data\r\n    major: Dataset\r\n    minor: Write failed\r\n  #002: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dio.c line 783 in H5D__write(): can't write data\r\n    major: Dataset\r\n    minor: Write failed\r\n  #003: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dcontig.c line 580 in H5D__contig_write(): contiguous write failed\r\n    major: Dataset\r\n    minor: Write failed\r\n  #004: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Dscatgath.c line 678 in H5D__scatgath_write(): datatype conversion failed\r\n    major: Dataset\r\n    minor: Can't convert datatypes\r\n  #005: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5T.c line 4819 in H5T_convert(): data type conversion failed\r\n    major: Attribute\r\n    minor: Unable to encode value\r\n  #006: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Tconv.c line 2571 in H5T__conv_struct_opt(): unable to convert compound datatype member\r\n    major: Datatype\r\n    minor: Unable to initialize object\r\n  #007: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5T.c line 4819 in H5T_convert(): data type conversion failed\r\n    major: Attribute\r\n    minor: Unable to encode value\r\n  #008: /home/abuild/rpmbuild/BUILD/hdf5-1.8.13/src/H5Tconv.c line 2172 in H5T__conv_struct(): not a datatype\r\n    major: Datatype\r\n    minor: Inappropriate type\r\nERROR: LoadError: Error writing dataset\r\nStacktrace:\r\n [1] error(::String) at .\\error.jl:33\r\n [2] h5d_write at C:\\Users\\GD257674\\.julia\\packages\\HDF5\\b6QoH\\src\\HDF5.jl:2133 [inlined]\r\n [3] h5d_write at C:\\Users\\GD257674\\.julia\\packages\\HDF5\\b6QoH\\src\\HDF5.jl:1985 [inlined]\r\n [4] writearray at C:\\Users\\GD257674\\.julia\\packages\\HDF5\\b6QoH\\src\\HDF5.jl:1872 [inlined]\r\n [5] #write_compound#24(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::JLD.JldGroup, ::String, ::StatsBase.Histogram{Int64,1,Tuple{StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}}}}, ::JLD.JldWriteSession) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:707\r\n [6] write_compound at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:694 [inlined]\r\n [7] #_write#23 at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:690 [inlined]\r\n [8] _write at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:690 [inlined]\r\n [9] macro expansion at .\\printf.jl:159 [inlined]\r\n [10] write_ref(::JLD.JldFile, ::StatsBase.Histogram{Int64,1,Tuple{StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}}}}, ::JLD.JldWriteSession) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:657\r\n [11] h5convert_array(::JLD.JldFile, ::Array{StatsBase.Histogram,2}, ::JLD.JldDatatype, ::JLD.JldWriteSession) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:602\r\n [12] #_write#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::JLD.JldGroup, ::String, ::Array{StatsBase.Histogram,2}, ::JLD.JldWriteSession) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:563\r\n [13] _write at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:561 [inlined]\r\n ... (the last 5 lines are repeated 1 more time)\r\n [19] macro expansion at .\\printf.jl:159 [inlined]\r\n [20] write_ref(::JLD.JldFile, ::Array{Array,1}, ::JLD.JldWriteSession) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:657\r\n [21] macro expansion at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\jld_types.jl:648 [inlined]\r\n [22] h5convert!(::Ptr{UInt8}, ::JLD.JldFile, ::JLD.AssociativeWrapper{String,Array,Dict{String,Array}}, ::JLD.JldWriteSession) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\jld_types.jl:664\r\n [23] #write_compound#24(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::JLD.JldGroup, ::String, ::JLD.AssociativeWrapper{String,Array,Dict{String,Array}}, ::JLD.JldWriteSession) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:700\r\n [24] write_compound at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:694 [inlined]\r\n [25] #_write#23 at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:690 [inlined]\r\n [26] _write at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:690 [inlined]\r\n ... (the last 8 lines are repeated 1 more time)\r\n [35] #write#17 at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:514 [inlined]\r\n [36] write at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:514 [inlined]\r\n [37] (::getfield(JLD, Symbol(\"##35#36\")){String,Results,Tuple{}})(::JLD.JldFile) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:1223\r\n [38] #jldopen#14(::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol,Symbol},NamedTuple{(:compatible, :compress),Tuple{Bool,Bool}}}, ::Function, ::getfield(JLD, Symbol(\"##35#36\")){String,Results,Tuple{}}, ::String, ::Vararg{String,N} where N) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:246\r\n [39] #jldopen at .\\none:0 [inlined]\r\n [40] #save#34(::Bool, ::Bool, ::Function, ::FileIO.File{FileIO.DataFormat{:JLD}}, ::String, ::Results) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:1221\r\n [41] save(::FileIO.File{FileIO.DataFormat{:JLD}}, ::String, ::Results) at C:\\Users\\GD257674\\.julia\\packages\\JLD\\1BoSz\\src\\JLD.jl:1218\r\n [42] #save#15(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String, ::String, ::Vararg{Any,N} where N) at C:\\Users\\GD257674\\.julia\\packages\\FileIO\\lt9I0\\src\\loadsave.jl:118\r\n [43] save at C:\\Users\\GD257674\\.julia\\packages\\FileIO\\lt9I0\\src\\loadsave.jl:118 [inlined]\r\n [44] save_to_file_jld(::Results, ::String, ::String) at c:\\Users\\GD257674\\Documents\\code\\analysis\\processor.jl:52\r\n [45] statistic_analysis(::Int64, ::Float64) at c:\\Users\\GD257674\\Documents\\code\\analysis\\analysis.jl:203\r\n [46] top-level scope at none:0\r\n [47] include at .\\boot.jl:317 [inlined]\r\n [48] include_relative(::Module, ::String) at .\\loading.jl:1041\r\n [49] include(::Module, ::String) at .\\sysimg.jl:29\r\n [50] exec_options(::Base.JLOptions) at .\\client.jl:229\r\nin expression starting at c:\\Users\\GD257674\\Documents\\code\\analysis\\data_processing.jl:29\r\n```"}}
{"actor":{"display_login":"gdestouet"}}