Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glimmer will not work with Julia-1.9.1 #12

Open
CBrauer opened this issue Jul 4, 2023 · 1 comment
Open

Glimmer will not work with Julia-1.9.1 #12

CBrauer opened this issue Jul 4, 2023 · 1 comment

Comments

@CBrauer
Copy link

CBrauer commented Jul 4, 2023

Hey,

I'm a new user of Julia and I am very interested in your work.
I'm trying to follow your instructions on how to run Glimmer.runExample("Controls").
I cannot install your package using Julia-1.9.1. Here is the last part of the installation log:

   Installed FillArrays ───────────────────── v0.13.11
   Installed Xorg_libXdmcp_jll ────────────── v1.1.4+0
   Installed Cassette ─────────────────────── v0.3.11
   Installed Observables ──────────────────── v0.4.0
   Installed ChangesOfVariables ───────────── v0.1.8
   Installed Parameters ───────────────────── v0.12.3
   Installed Clustering ───────────────────── v0.15.3
   Installed GeoInterface ─────────────────── v1.3.1
   Installed Glimmer ──────────────────────── v0.2.2
  Downloaded artifact: EarCut
  Downloaded artifact: meshcat
  Downloaded artifact: web
  Downloaded artifact: Expat
  Downloaded artifact: Xorg_xkeyboard_config
    Updating `C:\Julia-1.9.1\bin\environments\v1.9\Project.toml`
  [55254e13] + Glimmer v0.2.2
    Updating `C:\Julia-1.9.1\bin\environments\v1.9\Manifest.toml`
  [47edcb42] - ADTypes v0.1.3
  [621f4979] ↑ AbstractFFTs v1.3.1 ⇒ v1.3.2
  [80f14c24] ↑ AbstractMCMC v4.4.1 ⇒ v4.4.2
  [b5ca4192] ↑ AdvancedVI v0.2.3 ⇒ v0.2.4
  [4fba245c] ↑ ArrayInterface v7.4.8 ⇒ v7.4.11
  [30b0a656] + ArrayInterfaceCore v0.1.29
  [dd5226c6] + ArrayInterfaceStaticArraysCore v0.1.4
  [bf4720bc] + AssetRegistry v0.1.0
  [9e28174c] + BinDeps v1.0.2
  [d1d4a3ce] - BitFlags v0.1.7
⌃ [ad839575] + Blink v0.12.5
  [7057c7e9] + Cassette v0.3.11
  [082447d4] ↑ ChainRules v1.51.0 ⇒ v1.52.0
  [9e997f8a] ↑ ChangesOfVariables v0.1.7 ⇒ v0.1.8
  [aaaa29a8] ↑ Clustering v0.15.2 ⇒ v0.15.3
  [944b1d66] - CodecZlib v0.7.1
  [34da2185] ↑ Compat v4.6.1 ⇒ v4.7.0
  [f0e56b4a] - ConcurrentUtilities v2.2.0
  [150eb455] + CoordinateTransformations v0.6.3
  [864edb3b] ↑ DataStructures v0.18.13 ⇒ v0.18.14
⌅ [ffbed154] ↓ DocStringExtensions v0.9.3 ⇒ v0.8.6
  [411431e0] + Extents v0.1.1
  [7a1cc6ca] ↑ FFTW v1.7.0 ⇒ v1.7.1
  [5789e2e9] + FileIO v1.16.1
⌅ [1a297f60] ↓ FillArrays v1.2.0 ⇒ v0.13.11
  [de31a74c] + FunctionalCollections v0.5.0
  [cf35fbd7] + GeoInterface v1.3.1
  [5c1252a2] + GeometryBasics v0.4.7
  [55254e13] + Glimmer v0.2.2
⌅ [cd3eb016] ↓ HTTP v1.9.6 ⇒ v0.9.17
  [9fb69e20] + Hiccup v0.2.2
  [83e8ac13] + IniFile v0.5.1
  [3587e190] ↑ InverseFunctions v0.1.9 ⇒ v0.1.10
  [97c1335a] + JSExpr v0.5.4
  [0f8b85d8] + JSON3 v1.13.1
  [b9914132] + JSONTables v1.0.3
  [63c18a36] ↑ KernelAbstractions v0.9.4 ⇒ v0.9.6
  [929cbde3] ↑ LLVM v5.2.0 ⇒ v6.0.1
⌅ [283c5d60] + MeshCat v0.14.2
  [7269a6da] + MeshIO v0.4.10
  [99f44e22] + MsgPack v1.2.0
  [ffc61752] + Mustache v1.0.17
⌅ [a975b10e] + Mux v0.7.6
  [872c559c] ↑ NNlib v0.8.21 ⇒ v0.9.1
⌅ [510215fc] ↓ Observables v0.5.4 ⇒ v0.4.0
  [6fe1bfb0] ↑ OffsetArrays v1.12.9 ⇒ v1.12.10
  [69de0a69] ↑ Parsers v2.7.0 ⇒ v2.7.1
  [fa939f87] + Pidfile v1.3.0
  [94ee1d12] + Quaternions v0.7.4
⌃ [731186ca] ↓ RecursiveArrayTools v2.38.5 ⇒ v2.32.3
  [6038ab10] + Rotations v1.5.1
⌃ [0bca4576] ↓ SciMLBase v1.92.5 ⇒ v1.81.0
  [c0aeaf25] - SciMLOperators v0.2.12
  [777ac1f9] - SimpleBufferStream v1.1.0
  [66db9d55] + SnoopPrecompile v1.0.3
  [276daf66] ↑ SpecialFunctions v2.2.0 ⇒ v2.3.0
  [90137ffa] ↑ StaticArrays v1.5.26 ⇒ v1.6.0
  [856f2bd8] + StructTypes v1.10.0
  [2efcf032] - SymbolicIndexingInterface v0.2.2
  [9f7883ad] ↑ Tracker v0.2.25 ⇒ v0.2.26
  [3bb67fe8] - TranscodingStreams v0.9.13
  [28d57a85] ↑ Transducers v0.4.76 ⇒ v0.4.77
  [410a4b4d] - Tricks v0.1.7
  [781d530d] - TruncatedStacktraces v1.3.0
  [30578b45] + URIParser v0.4.1
  [3a884ed6] + UnPack v1.0.2
  [d80eeb9a] ↑ UnsafeAtomicsLLVM v0.1.2 ⇒ v0.1.3
⌃ [0f1e0344] + WebIO v0.8.17
⌃ [104b5d7c] + WebSockets v1.5.9
  [5ae413db] + EarCut_jll v2.2.4+0
  [2e619515] ↑ Expat_jll v2.4.8+0 ⇒ v2.5.0+0
  [856f044c] ↑ MKL_jll v2022.2.0+0 ⇒ v2023.1.0+0
  [4f6342f7] ↑ Xorg_libX11_jll v1.6.9+4 ⇒ v1.8.6+0
  [0c0b7dd1] ↑ Xorg_libXau_jll v1.0.9+4 ⇒ v1.0.11+0
  [a3789734] ↑ Xorg_libXdmcp_jll v1.1.3+4 ⇒ v1.1.4+0
  [14d82f49] ↑ Xorg_libpthread_stubs_jll v0.1.0+3 ⇒ v0.1.1+0
  [c7cfdc94] ↑ Xorg_libxcb_jll v1.13.0+3 ⇒ v1.15.0+0
  [cc61e674] ↑ Xorg_libxkbfile_jll v1.1.0+4 ⇒ v1.1.2+0
  [35661453] ↑ Xorg_xkbcomp_jll v1.4.2+4 ⇒ v1.4.6+0
  [33bec58e] ↑ Xorg_xkeyboard_config_jll v2.27.0+4 ⇒ v2.39.0+0
  [c5fb5394] ↑ Xorg_xtrans_jll v1.4.0+3 ⇒ v1.5.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
    Building WebIO → `C:\Julia-1.9.1\bin\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\c9529be473e97fa0b3b2642cdafcd0896b4c9494\build.log`
    Building Blink → `C:\Julia-1.9.1\bin\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\08d0b679fd7caa49e2bca9214b131289e19808c0\build.log`
ERROR: Error building `Blink`:
ERROR: LoadError: Unable to find 7z.exe. Try running `make win-extras` if you built Julia from source.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] (::Main.BuildBlink.var"#1#2")()
   @ Main.BuildBlink C:\Julia-1.9.1\bin\packages\Blink\mwJC9\src\AtomShell\install.jl:53
 [3] cd(f::Main.BuildBlink.var"#1#2", dir::String)
   @ Base.Filesystem .\file.jl:101
 [4] install()
   @ Main.BuildBlink C:\Julia-1.9.1\bin\packages\Blink\mwJC9\src\AtomShell\install.jl:27
 [5] top-level scope
   @ C:\Julia-1.9.1\bin\packages\Blink\mwJC9\deps\build.jl:14
 [6] include(fname::String)
   @ Base.MainInclude .\client.jl:478
 [7] top-level scope
   @ none:5
in expression starting at C:\Julia-1.9.1\bin\packages\Blink\mwJC9\deps\build.jl:1

caused by: IOError: could not spawn `'C:\Julia-1.9.1\bin\..\libexec\7z.exe' x electron-v4.0.4-win32-x64.zip -y -oatom`: no such file or directory (ENOENT)
Stacktrace:
  [1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
    @ Base .\process.jl:128
  [2] #760
    @ .\process.jl:139 [inlined]
  [3] setup_stdios(f::Base.var"#760#761"{Cmd}, stdios::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
    @ Base .\process.jl:223
  [4] _spawn
    @ .\process.jl:138 [inlined]
  [5] run(::Cmd; wait::Bool)
    @ Base .\process.jl:479
  [6] run
    @ .\process.jl:477 [inlined]
  [7] (::Main.BuildBlink.var"#1#2")()
    @ Main.BuildBlink C:\Julia-1.9.1\bin\packages\Blink\mwJC9\src\AtomShell\install.jl:50
  [8] cd(f::Main.BuildBlink.var"#1#2", dir::String)
    @ Base.Filesystem .\file.jl:101
  [9] install()
    @ Main.BuildBlink C:\Julia-1.9.1\bin\packages\Blink\mwJC9\src\AtomShell\install.jl:27
 [10] top-level scope
    @ C:\Julia-1.9.1\bin\packages\Blink\mwJC9\deps\build.jl:14
 [11] include(fname::String)
    @ Base.MainInclude .\client.jl:478
 [12] top-level scope
    @ none:5

julia> using Glimmer
[ Info: Precompiling Glimmer [55254e13-1f76-49cc-b115-017fbe569f93]
WARNING: Method definition (::Type{Glimmer.PointCloud})() in module Glimmer at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:125 overwritten at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:371.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition kwcall(Any, Type{Glimmer.PointCloud}) in module Glimmer at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:125 overwritten at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:371.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition points(Glimmer.PointCloud) in module Glimmer at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:132 overwritten at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:378.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition render!(Glimmer.PointCloud) in module Glimmer at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:134 overwritten at C:\Julia-1.9.1\bin\packages\Glimmer\4vZrO\src\SceneObject.jl:380.
  ** incremental compilation may be fatally broken for this module **

julia>

I look forward to hering from you.
Charles
[email protected]

@galran
Copy link
Owner

galran commented Jul 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants