Code Monkey home page Code Monkey logo

Comments (4)

cstjean avatar cstjean commented on August 25, 2024

Does it not work with Julia 1.x? Could you give it a try with ]add PyCallJLD#master, test PyCallJLD, and report what happens?

from pycalljld.jl.

kavir1698 avatar kavir1698 commented on August 25, 2024

It wouldn't add without the #master tag.
With that tag, tests return the following error.

(v1.1) pkg> add PyCallJLD#master
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Cloning git-repo `https://github.com/JuliaPy/PyCallJLD.jl.git`
  Updating git-repo `https://github.com/JuliaPy/PyCallJLD.jl.git`
 Resolving package versions...
 Installed ImageMetadata ─────── v0.6.0
 Installed StatsFuns ─────────── v0.7.1
 Installed Images ────────────── v0.17.1
 Installed DoubleFloats ──────── v0.5.3
 Installed TextParse ─────────── v0.7.2
 Installed FreeTypeAbstraction ─ v0.4.2
 Installed Interpolations ────── v0.11.2
  Updating `~/.julia/environments/v1.1/Project.toml`
  [de320387] + PyCallJLD v0.0.2+ #master (https://github.com/JuliaPy/PyCallJLD.jl.git)
  Updating `~/.julia/environments/v1.1/Manifest.toml`
  [34da2185]  Compat v1.4.0  v1.5.1
  [8f4d0f93]  Conda v1.1.1  v1.2.0
  [497a8b3b]  DoubleFloats v0.5.2  v0.5.3
  [663a7486]  FreeTypeAbstraction v0.4.1  v0.4.2
  [bc367c6b]  ImageMetadata v0.5.2  v0.6.0
  [916415d5]  Images v0.17.0  v0.17.1
  [a98d9a8b]  Interpolations v0.11.1  v0.11.2
  [de320387] + PyCallJLD v0.0.2+ #master (https://github.com/JuliaPy/PyCallJLD.jl.git)
  [4c63d2b9]  StatsFuns v0.7.0  v0.7.1
  [e0df1984]  TextParse v0.7.1  v0.7.2

(v1.1) pkg> test PyCallJLD
   Testing PyCallJLD
    Status `/tmp/tmpDlpl56/Manifest.toml`
  [9e28174c] BinDeps v0.8.10
  [b99e7846] BinaryProvider v0.5.3
  [a74b3585] Blosc v0.5.1
  [e1450e63] BufferedStreams v1.0.0
  [631607c0] CMake v1.1.1
  [d5fb7624] CMakeWrapper v0.2.2
  [34da2185] Compat v1.5.1
  [8f4d0f93] Conda v1.2.0
  [5789e2e9] FileIO v1.0.5
  [f67ccb44] HDF5 v0.11.0
  [0862f596] HTTPClient v0.2.1
  [d9be37ee] Homebrew v0.7.1
  [4138dd39] JLD v0.9.1
  [682c06a0] JSON v0.20.0
  [1b4a561d] LegacyStrings v0.4.1
  [b27032c2] LibCURL v0.4.1
  [522f3ed2] LibExpat v0.5.0
  [2ec943e9] Libz v1.0.0
  [1914dd2f] MacroTools v0.4.4
  [bac558e1] OrderedCollections v1.0.2
  [d96e819e] Parameters v0.10.3
  [438e738f] PyCall v1.18.5
  [de320387] PyCallJLD v0.0.2+ #master (https://github.com/JuliaPy/PyCallJLD.jl.git)
  [30578b45] URIParser v0.4.0
  [81def892] VersionParsing v1.1.3
  [c17dfb99] WinRPM v0.4.2
  [2a0f44e3] Base64  [`@stdlib/Base64`]
  [8bf52ea8] CRC32c  [`@stdlib/CRC32c`]
  [ade2ca70] Dates  [`@stdlib/Dates`]
  [8bb1440f] DelimitedFiles  [`@stdlib/DelimitedFiles`]
  [8ba89e20] Distributed  [`@stdlib/Distributed`]
  [b77e0a4c] InteractiveUtils  [`@stdlib/InteractiveUtils`]
  [76f85450] LibGit2  [`@stdlib/LibGit2`]
  [8f399da3] Libdl  [`@stdlib/Libdl`]
  [37e2e46d] LinearAlgebra  [`@stdlib/LinearAlgebra`]
  [56ddb016] Logging  [`@stdlib/Logging`]
  [d6f4376e] Markdown  [`@stdlib/Markdown`]
  [a63ad114] Mmap  [`@stdlib/Mmap`]
  [44cfe95a] Pkg  [`@stdlib/Pkg`]
  [de0858da] Printf  [`@stdlib/Printf`]
  [9abbd945] Profile  [`@stdlib/Profile`]
  [3fa0cd96] REPL  [`@stdlib/REPL`]
  [9a3f8284] Random  [`@stdlib/Random`]
  [ea8e919c] SHA  [`@stdlib/SHA`]
  [9e88b42a] Serialization  [`@stdlib/Serialization`]
  [1a1011a3] SharedArrays  [`@stdlib/SharedArrays`]
  [6462fe0b] Sockets  [`@stdlib/Sockets`]
  [2f01184e] SparseArrays  [`@stdlib/SparseArrays`]
  [10745b16] Statistics  [`@stdlib/Statistics`]
  [8dfed614] Test  [`@stdlib/Test`]
  [cf7118a7] UUIDs  [`@stdlib/UUIDs`]
  [4ec0a83e] Unicode  [`@stdlib/Unicode`]
ERROR: LoadError: syntax: extra token "PyObjectSerialization" after end of expression
Stacktrace:
 [1] include at ./boot.jl:326 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include(::Module, ::String) at ./sysimg.jl:29
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:328 [inlined]
 [6] eval(::Expr) at ./client.jl:404
 [7] top-level scope at ./none:3
in expression starting at /home/alirv/.julia/packages/PyCallJLD/K5s6m/src/PyCallJLD.jl:16
ERROR: LoadError: Failed to precompile PyCallJLD [de320387-30cd-5f83-91a8-a6e0ae8b8444] to /home/alirv/.julia/compiled/v1.1/PyCallJLD/46cYR.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853
 [6] include at ./boot.jl:326 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] include(::String) at ./client.jl:403
 [10] top-level scope at none:0
in expression starting at /home/alirv/.julia/packages/PyCallJLD/K5s6m/test/runtests.jl:1
ERROR: Package PyCallJLD errored during testing

from pycalljld.jl.

cstjean avatar cstjean commented on August 25, 2024

Thank you. That looks like a simple immutable -> struct change. Would you like to make a PR? The code for this is quite straight-forward.

from pycalljld.jl.

kavir1698 avatar kavir1698 commented on August 25, 2024

I just made the PR. Would you make a new release for Julia1.x?

from pycalljld.jl.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.