# Julia 1.0 add JLD Error

**URL:** <https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632>\
**Category:** General Usage\
**Created:** [August 17, 2018, 5:50pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632 "2018-08-17T17:50:00Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [August 17, 2018, 5:50pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/1 "2018-08-17T17:50:00Z")

</div>

```
           _

```

\_ \_ _(_)\_ | Documentation: [https://docs.julialang.org](https://docs.julialang.org)  
(_) | (_) (_) |  
\_ \_ | | \_\_ \_ | Type “?” for help, “]?” for Pkg help.  
| | | | | | |/ ` | |  
| | || | | | (_| | | Version 1.0.0 (2018-08-08)  
_/ |\ __‘_|_|_|\__ ’\_| | Official [https://julialang.org/](https://julialang.org/) release  
|\_\_/ |

(v1.0) pkg\> add JLD  
Resolving package versions…  
Installed WinRPM ────────── v0.4.0  
Installed CMakeWrapper ──── v0.2.2  
Installed HTTPClient ────── v0.2.1  
Installed LegacyStrings ─── v0.3.0  
Installed Libz ──────────── v1.0.0  
Installed Homebrew ──────── v0.7.0  
Installed LibExpat ──────── v0.4.2  
Installed JLD ───────────── v0.8.3  
Installed CMake ─────────── v1.0.1  
Installed Blosc ─────────── v0.5.1  
Installed BufferedStreams ─ v1.0.0  
Installed LibCURL ───────── v0.3.1  
Installed HDF5 ──────────── v0.9.4  
Installed FileIO ────────── v1.0.1  
Updating `C:\Users\PC\.julia\environments\v1.0\Project.toml`  
[4138dd39] + JLD v0.8.3  
Updating `C:\Users\PC\.julia\environments\v1.0\Manifest.toml`  
[9e28174c] + BinDeps v0.8.10  
[b99e7846] + BinaryProvider v0.4.1  
[a74b3585] + Blosc v0.5.1  
[e1450e63] + BufferedStreams v1.0.0  
[631607c0] + CMake v1.0.1  
[d5fb7624] + CMakeWrapper v0.2.2  
[5789e2e9] + FileIO v1.0.1  
[f67ccb44] + HDF5 v0.9.4  
[0862f596] + HTTPClient v0.2.1  
[d9be37ee] + Homebrew v0.7.0  
[4138dd39] + JLD v0.8.3  
[1b4a561d] + LegacyStrings v0.3.0  
[b27032c2] + LibCURL v0.3.1  
[522f3ed2] + LibExpat v0.4.2  
[2ec943e9] + Libz v1.0.0  
[d96e819e] + Parameters v0.9.2  
[30578b45] + URIParser v0.4.0  
[c17dfb99] + WinRPM v0.4.0  
Building LibCURL ─→ `C:\Users\PC\.julia\packages\LibCURL\Qs5og\deps\build.log`  
Building WinRPM ──→ `C:\Users\PC\.julia\packages\WinRPM\rDDZz\deps\build.log`  
┌ Error: Error building `WinRPM`:  
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined  
│ Stacktrace:  
│ [1] top-level scope at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:10  
│ [2] include at .\boot.jl:317 [inlined]  
│ [3] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [4] include at .\sysimg.jl:29 [inlined]  
│ [5] include(::String) at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:3  
│ [6] top-level scope at none:0  
│ [7] include at .\boot.jl:317 [inlined]  
│ [8] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [9] include(::Module, ::String) at .\sysimg.jl:29  
│ [10] top-level scope at none:2  
│ [11] eval at .\boot.jl:319 [inlined]  
│ [12] eval(::Expr) at .\client.jl:389  
│ [13] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:18  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:16  
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\PC.julia\c  
ompiled\v1.0\LibExpat\MYp8o.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] include at .\boot.jl:317 [inlined]  
│ [9] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [10] include(::Module, ::String) at .\sysimg.jl:29  
│ [11] top-level scope at none:2  
│ [12] eval at .\boot.jl:319 [inlined]  
│ [13] eval(::Expr) at .\client.jl:389  
│ [14] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\WinRPM\rDDZz\src\WinRPM.jl:12  
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\PC.julia\com  
piled\v1.0\WinRPM\ko3j0.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] top-level scope at C:\Users\PC.julia\packages\WinRPM\rDDZz\deps\build.jl:2  
│ [9] include at .\boot.jl:317 [inlined]  
│ [10] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [11] include(::Module, ::String) at .\sysimg.jl:29  
│ [12] include(::String) at .\client.jl:388  
│ [13] top-level scope at none:0  
│ in expression starting at C:\Users\PC.julia\packages\WinRPM\rDDZz\deps\build.jl:1  
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.0  
Pkg\src\Operations.jl:1068  
Building Homebrew → `C:\Users\PC\.julia\packages\Homebrew\l8kUw\deps\build.log`  
Building CMake ───→ `C:\Users\PC\.julia\packages\CMake\GhlEs\deps\build.log`  
Building Blosc ───→ `C:\Users\PC\.julia\packages\Blosc\lzFr0\deps\build.log`  
Building HDF5 ────→ `C:\Users\PC\.julia\packages\HDF5\jDzcD\deps\build.log`  
┌ Error: Error building `HDF5`:  
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined  
│ Stacktrace:  
│ [1] top-level scope at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:10  
│ [2] include at .\boot.jl:317 [inlined]  
│ [3] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [4] include at .\sysimg.jl:29 [inlined]  
│ [5] include(::String) at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:3  
│ [6] top-level scope at none:0  
│ [7] include at .\boot.jl:317 [inlined]  
│ [8] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [9] include(::Module, ::String) at .\sysimg.jl:29  
│ [10] top-level scope at none:2  
│ [11] eval at .\boot.jl:319 [inlined]  
│ [12] eval(::Expr) at .\client.jl:389  
│ [13] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:18  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:16  
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\PC.julia\c  
ompiled\v1.0\LibExpat\MYp8o.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] include at .\boot.jl:317 [inlined]  
│ [9] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [10] include(::Module, ::String) at .\sysimg.jl:29  
│ [11] top-level scope at none:2  
│ [12] eval at .\boot.jl:319 [inlined]  
│ [13] eval(::Expr) at .\client.jl:389  
│ [14] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\WinRPM\rDDZz\src\WinRPM.jl:12  
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\PC.julia\com  
piled\v1.0\WinRPM\ko3j0.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] top-level scope at C:\Users\PC.julia\packages\HDF5\jDzcD\deps\build.jl:29  
│ [9] include at .\boot.jl:317 [inlined]  
│ [10] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [11] include(::Module, ::String) at .\sysimg.jl:29  
│ [12] include(::String) at .\client.jl:388  
│ [13] top-level scope at none:0  
│ in expression starting at C:\Users\PC.julia\packages\HDF5\jDzcD\deps\build.jl:28  
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.0  
Pkg\src\Operations.jl:1068

(v1.0) pkg\> build WinRPM  
Building LibCURL → `C:\Users\PC\.julia\packages\LibCURL\Qs5og\deps\build.log`  
Building WinRPM ─→ `C:\Users\PC\.julia\packages\WinRPM\rDDZz\deps\build.log`  
┌ Error: Error building `WinRPM`:  
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined  
│ Stacktrace:  
│ [1] top-level scope at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:10  
│ [2] include at .\boot.jl:317 [inlined]  
│ [3] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [4] include at .\sysimg.jl:29 [inlined]  
│ [5] include(::String) at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:3  
│ [6] top-level scope at none:0  
│ [7] include at .\boot.jl:317 [inlined]  
│ [8] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [9] include(::Module, ::String) at .\sysimg.jl:29  
│ [10] top-level scope at none:2  
│ [11] eval at .\boot.jl:319 [inlined]  
│ [12] eval(::Expr) at .\client.jl:389  
│ [13] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:18  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:16  
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\PC.julia\c  
ompiled\v1.0\LibExpat\MYp8o.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] include at .\boot.jl:317 [inlined]  
│ [9] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [10] include(::Module, ::String) at .\sysimg.jl:29  
│ [11] top-level scope at none:2  
│ [12] eval at .\boot.jl:319 [inlined]  
│ [13] eval(::Expr) at .\client.jl:389  
│ [14] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\WinRPM\rDDZz\src\WinRPM.jl:12  
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\PC.julia\com  
piled\v1.0\WinRPM\ko3j0.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] top-level scope at C:\Users\PC.julia\packages\WinRPM\rDDZz\deps\build.jl:2  
│ [9] include at .\boot.jl:317 [inlined]  
│ [10] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [11] include(::Module, ::String) at .\sysimg.jl:29  
│ [12] include(::String) at .\client.jl:388  
│ [13] top-level scope at none:0  
│ in expression starting at C:\Users\PC.julia\packages\WinRPM\rDDZz\deps\build.jl:1  
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.0  
Pkg\src\Operations.jl:1068

(v1.0) pkg\> build HDF5  
Building LibCURL ─→ `C:\Users\PC\.julia\packages\LibCURL\Qs5og\deps\build.log`  
Building WinRPM ──→ `C:\Users\PC\.julia\packages\WinRPM\rDDZz\deps\build.log`  
┌ Error: Error building `WinRPM`:  
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined  
│ Stacktrace:  
│ [1] top-level scope at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:10  
│ [2] include at .\boot.jl:317 [inlined]  
│ [3] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [4] include at .\sysimg.jl:29 [inlined]  
│ [5] include(::String) at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:3  
│ [6] top-level scope at none:0  
│ [7] include at .\boot.jl:317 [inlined]  
│ [8] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [9] include(::Module, ::String) at .\sysimg.jl:29  
│ [10] top-level scope at none:2  
│ [11] eval at .\boot.jl:319 [inlined]  
│ [12] eval(::Expr) at .\client.jl:389  
│ [13] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:18  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:16  
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\PC.julia\c  
ompiled\v1.0\LibExpat\MYp8o.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] include at .\boot.jl:317 [inlined]  
│ [9] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [10] include(::Module, ::String) at .\sysimg.jl:29  
│ [11] top-level scope at none:2  
│ [12] eval at .\boot.jl:319 [inlined]  
│ [13] eval(::Expr) at .\client.jl:389  
│ [14] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\WinRPM\rDDZz\src\WinRPM.jl:12  
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\PC.julia\com  
piled\v1.0\WinRPM\ko3j0.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] top-level scope at C:\Users\PC.julia\packages\WinRPM\rDDZz\deps\build.jl:2  
│ [9] include at .\boot.jl:317 [inlined]  
│ [10] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [11] include(::Module, ::String) at .\sysimg.jl:29  
│ [12] include(::String) at .\client.jl:388  
│ [13] top-level scope at none:0  
│ in expression starting at C:\Users\PC.julia\packages\WinRPM\rDDZz\deps\build.jl:1  
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.0  
Pkg\src\Operations.jl:1068  
Building Homebrew → `C:\Users\PC\.julia\packages\Homebrew\l8kUw\deps\build.log`  
Building CMake ───→ `C:\Users\PC\.julia\packages\CMake\GhlEs\deps\build.log`  
Building Blosc ───→ `C:\Users\PC\.julia\packages\Blosc\lzFr0\deps\build.log`  
Building HDF5 ────→ `C:\Users\PC\.julia\packages\HDF5\jDzcD\deps\build.log`  
┌ Error: Error building `HDF5`:  
│ ERROR: LoadError: LoadError: UndefVarError: Void not defined  
│ Stacktrace:  
│ [1] top-level scope at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:10  
│ [2] include at .\boot.jl:317 [inlined]  
│ [3] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [4] include at .\sysimg.jl:29 [inlined]  
│ [5] include(::String) at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:3  
│ [6] top-level scope at none:0  
│ [7] include at .\boot.jl:317 [inlined]  
│ [8] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [9] include(::Module, ::String) at .\sysimg.jl:29  
│ [10] top-level scope at none:2  
│ [11] eval at .\boot.jl:319 [inlined]  
│ [12] eval(::Expr) at .\client.jl:389  
│ [13] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\lX\_common\_h.jl:18  
│ in expression starting at C:\Users\PC.julia\packages\LibExpat\FAade\src\LibExpat.jl:16  
│ ERROR: LoadError: Failed to precompile LibExpat [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] to C:\Users\PC.julia\c  
ompiled\v1.0\LibExpat\MYp8o.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] include at .\boot.jl:317 [inlined]  
│ [9] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [10] include(::Module, ::String) at .\sysimg.jl:29  
│ [11] top-level scope at none:2  
│ [12] eval at .\boot.jl:319 [inlined]  
│ [13] eval(::Expr) at .\client.jl:389  
│ [14] top-level scope at .\none:3  
│ in expression starting at C:\Users\PC.julia\packages\WinRPM\rDDZz\src\WinRPM.jl:12  
│ ERROR: LoadError: Failed to precompile WinRPM [c17dfb99-b4f7-5aad-8812-456da1ad7187] to C:\Users\PC.julia\com  
piled\v1.0\WinRPM\ko3j0.ji.  
│ Stacktrace:  
│ [1] error(::String) at .\error.jl:33  
│ [2] macro expansion at .\logging.jl:313 [inlined]  
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184  
│ [4] \_require(::Base.PkgId) at .\logging.jl:311  
│ [5] require(::Base.PkgId) at .\loading.jl:852  
│ [6] macro expansion at .\logging.jl:311 [inlined]  
│ [7] require(::Module, ::Symbol) at .\loading.jl:834  
│ [8] top-level scope at C:\Users\PC.julia\packages\HDF5\jDzcD\deps\build.jl:29  
│ [9] include at .\boot.jl:317 [inlined]  
│ [10] include\_relative(::Module, ::String) at .\loading.jl:1038  
│ [11] include(::Module, ::String) at .\sysimg.jl:29  
│ [12] include(::String) at .\client.jl:388  
│ [13] top-level scope at none:0  
│ in expression starting at C:\Users\PC.julia\packages\HDF5\jDzcD\deps\build.jl:28  
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.0  
Pkg\src\Operations.jl:1068

(v1.0) pkg\>

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [August 17, 2018, 6:03pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/2 "2018-08-17T18:03:57Z")

</div>

> [@PSA: use Julia 0.7 if you are upgrading](https://discourse.julialang.org/t/psa-use-julia-0-7-if-you-are-upgrading/13321):
>
> A lot of people are posting issues where their old code doesn’t work anymore on 1.0 because some function has been renamed or removed. The 0.7 release exists exactly for this reason: your old code will work on 0.7 and give you a specific warning about how to fix your code. If you have any old code, you should use 0.7 to get these warnings before switching to 1.0; even if you just have work habits that may need changing, you should probably use 0.7 for a while. If someone posts an issue like thi…

JLD is not yet upgraded to 1.0.

---

<div class="post-metadata">

**Author:** ![garrison](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/garrison/32/209519_2.png) [@garrison](https://discourse.julialang.org/u/garrison)\
**Post date:** [August 17, 2018, 6:59pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/3 "2018-08-17T18:59:24Z")

</div>

I believe JLD does not work on 0.7 yet either.

JLD looks far more difficult to fix than most other packages (since backwards compatibility is so important), and I too am eagerly awaiting it to work with julia 0.7 and 1.0. There is a heroic pull request in progress at [https://github.com/JuliaIO/JLD.jl/pull/215](https://github.com/JuliaIO/JLD.jl/pull/215) – and I am hoping that some additional progress is made soon…

---

<div class="post-metadata">

**Author:** ![garrison](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/garrison/32/209519_2.png) [@garrison](https://discourse.julialang.org/u/garrison)\
**Post date:** [August 17, 2018, 10:10pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/4 "2018-08-17T22:10:33Z")

</div>

BTW, there is [JLD2](https://github.com/simonster/JLD2.jl) if backwards compatibility does not matter to you.

---

<div class="post-metadata">

**Author:** ![ExpandingMan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/expandingman/32/866_2.png) [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Post date:** [August 17, 2018, 10:22pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/5 "2018-08-17T22:22:21Z")

</div>

It hasn’t been announced but I get the impression the long term plan is to deprecate JLD.jl in favor of JLD2.jl. Unless you have serialized a huge amount of data it might be worth converting your data to the JLD2 format through 0.6 (on which both packages work). If you need to serialize a large quantity of absolutely crucial data, I’d personally recommend using a conventional [HDF5](https://github.com/JuliaIO/HDF5.jl) format until the situation stabilizes somewhat.

---

<div class="post-metadata">

**Author:** ![wowotuo](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wowotuo](https://discourse.julialang.org/u/wowotuo)\
**Post date:** [August 18, 2018, 4:02am UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/6 "2018-08-18T04:02:43Z")

</div>

> [@programista](#):
>
> building `WinRPM` :

Pkg.build(“WinRPM”) has also a lot of errors, it is so sad .

---

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [August 18, 2018, 9:39am UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/7 "2018-08-18T09:39:23Z")

</div>

Nice!  
Paul  
W dniu 2018-08-18 o 00:15, Jim Garrison pisze:

---

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [August 18, 2018, 9:44am UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/8 "2018-08-18T09:44:51Z")

</div>

W dniu 2018-08-18 o 06:07, wowotuo pisze:

> Pkg.build(“WinRPM”) has also a lot of errors, it is so sad

Is very bad that Julia 0.7 ask :

Do 'Pkg.build(“WinRPM”) ’ in real must be: ‘build WinRPM’

Sombody can change it ?

Paul

---

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [August 18, 2018, 9:58am UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/9 "2018-08-18T09:58:17Z")

</div>

Is nice buti I cant to save simple array ‘a’ :/, can You help me ?

> using JLD2

> a=rand(5);

> @save(“file.jl2”,“A”,a)

> @load(“file.jl2”,“A”)  
> ┌ Warning: `convert(::Type{Symbol}, s::AbstractString)` is deprecated,  
> use `Symbol(s)` instead.  
> │ caller = setindex!(::Array{Symbol,1}, ::String, ::Int64) at array.jl:769  
> └ @ Base .\array.jl:769  
> ERROR: syntax: invalid assignment location ““A””

> @load(“file.jl2”,Symbol(A))  
> ERROR: LoadError: MethodError: Cannot `convert` an object of type Expr  
> to an object of type Symbol  
> Closest candidates are:  
> convert(::Type{Symbol}, ::AbstractString) at deprecated.jl:53  
> convert(::Type{T}, ::T) where T at essentials.jl:154  
> Symbol(::Any…) at sysimg.jl:132  
> Stacktrace:  
> [1] setindex!(::Array{Symbol,1}, ::Expr, ::Int64) at .\array.jl:769  
> [2] @load(::LineNumberNode, ::Module, ::Any, ::Vararg{Any,N} where N)  
> at C:\Users\PC.julia\packages\JLD2\I  
> \src\loadsave.jl:75  
> in expression starting at REPL[5]:1

W dniu 2018-08-18 o 00:15, Jim Garrison pisze:

---

<div class="post-metadata">

**Author:** ![garrison](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/garrison/32/209519_2.png) [@garrison](https://discourse.julialang.org/u/garrison)\
**Post date:** [August 18, 2018, 12:25pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/10 "2018-08-18T12:25:13Z")

</div>

You are confusing the macros `@load` and `@save` with the functions `load` and `save`. If you do the same thing using the functions, it will work. Or if you use `@save("filename.jld2", a)` and `@load("filename.jld2", a)`, it will work as well (but the variable in the file will be called `a` instead of `A`).

Also, your quotes do not appear to be standard double quotes (i.e. if I copy and paste your examples, they do not work). I am not sure how this is happening…

---

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [August 18, 2018, 12:42pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/11 "2018-08-18T12:42:55Z")

</div>

Big thanks, @ is important ! @@@ 😉 thanaks

Hot to change :x to var x  
I must us “list” as list of vars

> > julia\> using JLD2
> > 
> > julia\> @load “example.jld2”  
> > 2-element Array{Symbol,1}:  
> > :x  
> > :y
> > 
> > julia\> list=@load “example.jld2”  
> > 2-element Array{Symbol,1}:  
> > :x  
> > :y  
> > julia\> list  
> > 2-element Array{Symbol,1}:  
> > :x  
> > :y  
> > julia\> :x  
> > :x  
> > julia\> x  
> > 5-element Array{Float64,1}:  
> > 0.17925187269796017  
> > 0.6323361622958081  
> > 0.9316250017319527  
> > 0.18755269206420455  
> > 0.7327996343920105

---

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [August 18, 2018, 3:11pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/12 "2018-08-18T15:11:42Z")

</div>

In JLD2 is something like names(f) in old JLD ? Where f=jldopen(“file.jld”)  
Paul

W dniu 2018-08-18 o 14:30, Jim Garrison pisze:

---

<div class="post-metadata">

**Author:** ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)\
**Post date:** [September 15, 2018, 2:42pm UTC](https://discourse.julialang.org/t/julia-1-0-add-jld-error/13632/13 "2018-09-15T14:42:15Z")

</div>

> [@StefanKarpinski](#):
>
> A lot of people are posting issues where their old code doesn’t work anymore on 1.0 because some function has been renamed or removed. The 0.7 release exists exactly for this reason: your old code will work on 0.7 and give you a specific warning about how to fix your code. If you have any old code, you should use 0.7 to get these warnings before switching to 1.0; even if you just have work habits that may need changing, you should probably use 0.7 for a while. If someone posts an issue like thi…

This problem is on 0.7 too. Package JLD nor works, it is very hot point for old projkect based on JLD.
