JuliaAnimators / Javis.jl

Julia Animations and Visualizations
https://juliaanimators.github.io/Javis.jl/stable/
MIT License
829 stars 51 forks source link

Couldn't run test #13

Closed ma7dev closed 4 years ago

ma7dev commented 4 years ago

I have tried to run the test but it failed. Here is what I have done:

  1. Cloned the repo: git clone https://github.com/Wikunia/Javis.jl
  2. Changed directory to the cloned repo: cd Julia.jl
  3. Accessed Julia REPL: julia
  4. Accessed package: ]
  5. Ran this command, which caused the fail: dev .
[alotaima@sudomaze ~/Projects/tmp]$ git clone https://github.com/Wikunia/Javis.jl 
Cloning into 'Javis.jl'...
remote: Enumerating objects: 154, done.
remote: Counting objects: 100% (154/154), done.
remote: Compressing objects: 100% (102/102), done.
remote: Total 154 (delta 60), reused 115 (delta 36), pack-reused 0
Receiving objects: 100% (154/154), 138.89 KiB | 1.76 MiB/s, done.
Resolving deltas: 100% (60/60), done.
[alotaima@sudomaze ~/Projects/tmp]$ cd Javis.jl/
(On branch master) [alotaima@sudomaze ~/Projects/tmp/Javis.jl]$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.4.2 (2020-05-23)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.4) pkg> dev .
[ Info: Resolving package identifier `.` as a directory at `~/Projects/tmp/Javis.jl`.
Path `.` exists and looks like the correct package. Using existing path.
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Luxor [ae8d54c2]:
 Luxor [ae8d54c2] log:
 ├─possible versions are: [0.11.0-0.11.2, 0.12.0, 1.0.0, 1.1.0-1.1.5, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.0, 2.0.0, 2.1.0] or uninstalled
 └─restricted to versions 2.2.0-2 by Javis [78b212ba] — no versions left
   └─Javis [78b212ba] log:
     ├─possible versions are: 0.1.0 or uninstalled
     └─Javis [78b212ba] is fixed to version 0.1.0

Julia version:

(On branch master) [alotaima@sudomaze ~/Projects/tmp/Javis.jl]$ julia --version
julia version 1.4.2
Wikunia commented 4 years ago

It's quite weird to be honest. As Luxor has a version 2.2.1 since a few days. Do you mind to run ] add Luxor inside your REPL?

ma7dev commented 4 years ago

I have tried to run the command inside my REPL:

julia> ] add Luxor

ERROR: syntax: unexpected "]"
Stacktrace:
 [1] top-level scope at none:0

(@v1.4) pkg> ] add Luxor

ERROR: Could not determine command
ma7dev commented 4 years ago

It seems that I have run the wrong command. Now everything is working and the test ran successfully.

(@v1.4) pkg> add Luxor
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
  Installed FreeType2_jll ──────────────── v2.10.1+2
  Installed Pixman_jll ─────────────────── v0.38.4+2
  Installed XML2_jll ───────────────────── v2.9.10+1
  Installed DataAPI ────────────────────── v1.3.0
  Installed Zstd_jll ───────────────────── v1.4.5+0
  Installed ColorVectorSpace ───────────── v0.8.5
  Installed libpng_jll ─────────────────── v1.6.37+3
  Installed OpenSpecFun_jll ────────────── v0.5.3+3
  Installed Xorg_libxcb_jll ────────────── v1.13.0+2
  Installed Xorg_libXext_jll ───────────── v1.3.4+2
  Installed Cairo_jll ──────────────────── v1.16.0+4
  Installed Glib_jll ───────────────────── v2.59.0+2
  Installed Gettext_jll ────────────────── v0.20.1+4
  Installed Pango_jll ──────────────────── v1.42.4+8
  Installed StatsBase ──────────────────── v0.33.0
  Installed Xorg_libXau_jll ────────────── v1.0.9+2
  Installed Juno ───────────────────────── v0.8.2
  Installed Graphite2_jll ──────────────── v1.3.13+1
  Installed Luxor ──────────────────────── v2.2.1
  Installed Xorg_libXrender_jll ────────── v0.9.10+2
  Installed MosaicViews ────────────────── v0.2.2
  Installed Cairo ──────────────────────── v1.0.4
  Installed DataStructures ─────────────── v0.17.19
  Installed PaddedViews ────────────────── v0.5.5
  Installed Bzip2_jll ──────────────────── v1.0.6+2
  Installed Colors ─────────────────────── v0.12.3
  Installed Libmount_jll ───────────────── v2.34.0+1
  Installed FriBidi_jll ────────────────── v1.0.5+3
  Installed Xorg_libX11_jll ────────────── v1.6.9+2
  Installed ImageCore ──────────────────── v0.8.14
  Installed SortingAlgorithms ──────────── v0.3.1
  Installed QuartzImageIO ──────────────── v0.6.0
  Installed Libgpg_error_jll ───────────── v1.36.0+1
  Installed MacroTools ─────────────────── v0.5.5
  Installed Fontconfig_jll ─────────────── v2.13.1+12
  Installed Xorg_libXdmcp_jll ──────────── v1.1.3+2
  Installed Libffi_jll ─────────────────── v3.2.1+1
  Installed Libiconv_jll ───────────────── v1.16.0+5
  Installed Reexport ───────────────────── v0.2.0
  Installed OrderedCollections ─────────── v1.3.0
  Installed Graphics ───────────────────── v1.0.2
  Installed FixedPointNumbers ──────────── v0.8.4
  Installed HarfBuzz_jll ───────────────── v2.6.1+5
  Installed XSLT_jll ───────────────────── v1.1.33+2
  Installed Xorg_xtrans_jll ────────────── v1.4.0+1
  Installed Xorg_libpthread_stubs_jll ──── v0.1.0+1
  Installed OffsetArrays ───────────────── v1.1.1
  Installed CompilerSupportLibraries_jll ─ v0.3.3+0
  Installed NaNMath ────────────────────── v0.3.4
  Installed Missings ───────────────────── v0.4.3
  Installed ImageMagick ────────────────── v1.1.5
  Installed Zlib_jll ───────────────────── v1.2.11+14
  Installed Libuuid_jll ────────────────── v2.34.0+4
  Installed LZO_jll ────────────────────── v2.10.0+1
  Installed Libtiff_jll ────────────────── v4.1.0+0
  Installed SpecialFunctions ───────────── v0.10.3
  Installed ImageMagick_jll ────────────── v6.9.10-12+3
  Installed Media ──────────────────────── v0.5.0
  Installed FileIO ─────────────────────── v1.4.0
  Installed JpegTurbo_jll ──────────────── v2.0.1+1
  Installed PCRE_jll ───────────────────── v8.42.0+2
  Installed Requires ───────────────────── v1.0.1
  Installed Expat_jll ──────────────────── v2.2.7+3
  Installed Libgcrypt_jll ──────────────── v1.8.5+1
  Installed MappedArrays ───────────────── v0.2.2
  Installed ColorTypes ─────────────────── v0.10.6
Downloading artifact: libpng
######################################################################## 100.0%#=#=-#  #    Downloading artifact: Zstd
######################################################################## 100.0%##O=#  #     Downloading artifact: FreeType2
######################################################################## 100.0%#=#=-#  #    Downloading artifact: Pixman
######################################################################## 100.0%##O=#  #     Downloading artifact: XML2
######################################################################## 100.0%#=#=-#  #    Downloading artifact: OpenSpecFun
######################################################################## 100.0%##O=#  #     Downloading artifact: Gettext
######################################################################## 100.0%##O=#  #     Downloading artifact: Xorg_libxcb
######################################################################## 100.0%##O=#  #     Downloading artifact: Xorg_libXext
######################################################################## 100.0%#=#=-#  #    Downloading artifact: Pango
######################################################################## 100.0%#=#=-#  #    Downloading artifact: Cairo
######################################################################## 100.0%##O=#  #     Downloading artifact: Glib
######################################################################## 100.0%##O=#  #     Downloading artifact: Xorg_libXau
######################################################################## 100.0%##O=#  #     Downloading artifact: Graphite2
######################################################################## 100.0%##O=#  #     Downloading artifact: Xorg_libXrender
######################################################################## 100.0%##O=#  #     Downloading artifact: Bzip2
######################################################################## 100.0%##O=#  #     Downloading artifact: FriBidi
######################################################################## 100.0%##O=#  #     Downloading artifact: Libmount
######################################################################## 100.0%##O=#  #     Downloading artifact: Xorg_libX11
######################################################################## 100.0%##O=#  #     Downloading artifact: Libgpg_error
######################################################################## 100.0%##O=#  #     Downloading artifact: Fontconfig
######################################################################## 100.0%##O=#  #     Downloading artifact: Xorg_libXdmcp
######################################################################## 100.0%##O=#  #     Downloading artifact: Libffi
######################################################################## 100.0%##O=#  #     Downloading artifact: Libiconv
######################################################################## 100.0%##O=#  #     Downloading artifact: HarfBuzz
######################################################################## 100.0%##O=#  #     Downloading artifact: XSLT
######################################################################## 100.0%##O=#  #     Downloading artifact: Xorg_xtrans
######################################################################## 100.0%##O=#  #     Downloading artifact: Xorg_libpthread_stubs
######################################################################## 100.0%##O=#  #     Downloading artifact: CompilerSupportLibraries
######################################################################## 100.0%#=#=-#  #    Downloading artifact: Libtiff
######################################################################## 100.0%#=#=-#  #    Downloading artifact: Zlib
######################################################################## 100.0%#=#=-#  #    Downloading artifact: LZO
######################################################################## 100.0%##O=#  #     Downloading artifact: Libuuid
######################################################################## 100.0%#=#=-#  #    Downloading artifact: ImageMagick
######################################################################## 100.0%##O=#  #     Downloading artifact: Expat
######################################################################## 100.0%##O=#  #     Downloading artifact: JpegTurbo
######################################################################## 100.0%##O=#  #     Downloading artifact: PCRE
######################################################################## 100.0%##O=#  #     Downloading artifact: Libgcrypt
######################################################################## 100.0%##O=#  #        Updating `~/.julia/environments/v1.4/Project.toml`
  [ae8d54c2] + Luxor v2.2.1
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [6e34b625] + Bzip2_jll v1.0.6+2
  [159f3aea] + Cairo v1.0.4
  [83423d85] + Cairo_jll v1.16.0+4
  [3da002f7] + ColorTypes v0.10.6
  [c3611d14] + ColorVectorSpace v0.8.5
  [5ae59095] + Colors v0.12.3
  [e66e0078] + CompilerSupportLibraries_jll v0.3.3+0
  [9a962f9c] + DataAPI v1.3.0
  [864edb3b] + DataStructures v0.17.19
  [2e619515] + Expat_jll v2.2.7+3
  [5789e2e9] + FileIO v1.4.0
  [53c48c17] + FixedPointNumbers v0.8.4
  [a3f928ae] + Fontconfig_jll v2.13.1+12
  [d7e528f0] + FreeType2_jll v2.10.1+2
  [559328eb] + FriBidi_jll v1.0.5+3
  [78b55507] + Gettext_jll v0.20.1+4
  [7746bdde] + Glib_jll v2.59.0+2
  [a2bd30eb] + Graphics v1.0.2
  [3b182d85] + Graphite2_jll v1.3.13+1
  [2e76f6c2] + HarfBuzz_jll v2.6.1+5
  [a09fc81d] + ImageCore v0.8.14
  [6218d12a] + ImageMagick v1.1.5
  [c73af94c] + ImageMagick_jll v6.9.10-12+3
  [aacddb02] + JpegTurbo_jll v2.0.1+1
  [e5e0dc1b] + Juno v0.8.2
  [dd4b983a] + LZO_jll v2.10.0+1
  [e9f186c6] + Libffi_jll v3.2.1+1
  [d4300ac3] + Libgcrypt_jll v1.8.5+1
  [7add5ba3] + Libgpg_error_jll v1.36.0+1
  [94ce4f54] + Libiconv_jll v1.16.0+5
  [4b2f31a3] + Libmount_jll v2.34.0+1
  [89763e89] + Libtiff_jll v4.1.0+0
  [38a345b3] + Libuuid_jll v2.34.0+4
  [ae8d54c2] + Luxor v2.2.1
  [1914dd2f] + MacroTools v0.5.5
  [dbb5928d] + MappedArrays v0.2.2
  [e89f7d12] + Media v0.5.0
  [e1d29d7a] + Missings v0.4.3
  [e94cdb99] + MosaicViews v0.2.2
  [77ba4419] + NaNMath v0.3.4
  [6fe1bfb0] + OffsetArrays v1.1.1
  [efe28fd5] + OpenSpecFun_jll v0.5.3+3
  [bac558e1] + OrderedCollections v1.3.0
  [2f80f16e] + PCRE_jll v8.42.0+2
  [5432bcbf] + PaddedViews v0.5.5
  [36c8627f] + Pango_jll v1.42.4+8
  [30392449] + Pixman_jll v0.38.4+2
  [dca85d43] + QuartzImageIO v0.6.0
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.0.1
  [a2af1166] + SortingAlgorithms v0.3.1
  [276daf66] + SpecialFunctions v0.10.3
  [2913bbd2] + StatsBase v0.33.0
  [02c8fc9c] + XML2_jll v2.9.10+1
  [aed1982a] + XSLT_jll v1.1.33+2
  [4f6342f7] + Xorg_libX11_jll v1.6.9+2
  [0c0b7dd1] + Xorg_libXau_jll v1.0.9+2
  [a3789734] + Xorg_libXdmcp_jll v1.1.3+2
  [1082639a] + Xorg_libXext_jll v1.3.4+2
  [ea2f1a96] + Xorg_libXrender_jll v0.9.10+2
  [14d82f49] + Xorg_libpthread_stubs_jll v0.1.0+1
  [c7cfdc94] + Xorg_libxcb_jll v1.13.0+2
  [c5fb5394] + Xorg_xtrans_jll v1.4.0+1
  [83775a58] + Zlib_jll v1.2.11+14
  [3161d3a3] + Zstd_jll v1.4.5+0
  [b53b4c65] + libpng_jll v1.6.37+3
  [37e2e46d] + LinearAlgebra 
  [9abbd945] + Profile 
  [2f01184e] + SparseArrays 
  [10745b16] + Statistics 

(@v1.4) pkg> dev .
[ Info: Resolving package identifier `.` as a directory at `~/Projects/tmp/Javis.jl`.
Path `.` exists and looks like the correct package. Using existing path.
  Resolving package versions...
  Installed LightXML ───── v0.9.0
  Installed LaTeXStrings ─ v1.1.0
   Updating `~/.julia/environments/v1.4/Project.toml`
  [78b212ba] + Javis v0.1.0 [`../../../Projects/tmp/Javis.jl`]
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [78b212ba] + Javis v0.1.0 [`../../../Projects/tmp/Javis.jl`]
  [b964fa9f] + LaTeXStrings v1.1.0
  [9c8b4983] + LightXML v0.9.0

(@v1.4) pkg> test Javis
    Testing Javis
Downloading artifact: IntelOpenMP
######################################################################## 100.0%##O=#  #     Downloading artifact: FFTW
######################################################################## 100.0%##O=#  #     Status `/tmp/jl_kRor5e/Manifest.toml`
  [621f4979] AbstractFFTs v0.5.0
  [13072b0f] AxisAlgorithms v1.0.0
  [39de3d68] AxisArrays v0.4.3
  [6e34b625] Bzip2_jll v1.0.6+2
  [fa961155] CEnum v0.4.1
  [159f3aea] Cairo v1.0.4
  [83423d85] Cairo_jll v1.16.0+4
  [aafaddc9] CatIndices v0.2.1
  [3da002f7] ColorTypes v0.10.6
  [c3611d14] ColorVectorSpace v0.8.5
  [5ae59095] Colors v0.12.3
  [e66e0078] CompilerSupportLibraries_jll v0.3.3+0
  [ed09eef8] ComputationalResources v0.3.2
  [150eb455] CoordinateTransformations v0.6.0
  [a8cc5b0e] Crayons v4.0.3
  [dc8bdbbb] CustomUnitRanges v1.0.0
  [9a962f9c] DataAPI v1.3.0
  [864edb3b] DataStructures v0.17.19
  [ab62b9b5] DeepDiffs v1.2.0
  [b4f34e82] Distances v0.8.2
  [da5c29d0] EllipsisNotation v0.4.0
  [2e619515] Expat_jll v2.2.7+3
  [4f61f5a4] FFTViews v0.3.1
  [7a1cc6ca] FFTW v1.2.2
  [f5851436] FFTW_jll v3.3.9+5
  [5789e2e9] FileIO v1.4.0
  [53c48c17] FixedPointNumbers v0.8.4
  [a3f928ae] Fontconfig_jll v2.13.1+12
  [d7e528f0] FreeType2_jll v2.10.1+2
  [559328eb] FriBidi_jll v1.0.5+3
  [78b55507] Gettext_jll v0.20.1+4
  [7746bdde] Glib_jll v2.59.0+2
  [a2bd30eb] Graphics v1.0.2
  [3b182d85] Graphite2_jll v1.3.13+1
  [2e76f6c2] HarfBuzz_jll v2.6.1+5
  [bbac6d45] IdentityRanges v0.3.1
  [2803e5a7] ImageAxes v0.6.4
  [f332f351] ImageContrastAdjustment v0.3.5
  [a09fc81d] ImageCore v0.8.14
  [51556ac3] ImageDistances v0.2.7
  [6a3955dd] ImageFiltering v0.6.14
  [82e4d734] ImageIO v0.3.0
  [d8c32880] ImageInTerminal v0.4.4
  [6218d12a] ImageMagick v1.1.5
  [c73af94c] ImageMagick_jll v6.9.10-12+3
  [bc367c6b] ImageMetadata v0.9.1
  [787d08f9] ImageMorphology v0.2.8
  [2996bd0c] ImageQualityIndexes v0.1.4
  [4e3cecfd] ImageShow v0.2.3
  [02fcd773] ImageTransformations v0.8.5
  [916415d5] Images v0.22.4
  [9b13fd28] IndirectArrays v0.5.1
  [1d5cc7b8] IntelOpenMP_jll v2018.0.3+0
  [a98d9a8b] Interpolations v0.12.10
  [8197267c] IntervalSets v0.5.1
  [c8e1da08] IterTools v1.3.0
  [78b212ba] Javis v0.1.0 [`~/Projects/tmp/Javis.jl`]
  [aacddb02] JpegTurbo_jll v2.0.1+1
  [e5e0dc1b] Juno v0.8.2
  [dd4b983a] LZO_jll v2.10.0+1
  [b964fa9f] LaTeXStrings v1.1.0
  [e9f186c6] Libffi_jll v3.2.1+1
  [d4300ac3] Libgcrypt_jll v1.8.5+1
  [7add5ba3] Libgpg_error_jll v1.36.0+1
  [94ce4f54] Libiconv_jll v1.16.0+5
  [4b2f31a3] Libmount_jll v2.34.0+1
  [89763e89] Libtiff_jll v4.1.0+0
  [38a345b3] Libuuid_jll v2.34.0+4
  [9c8b4983] LightXML v0.9.0
  [ae8d54c2] Luxor v2.2.1
  [856f044c] MKL_jll v2020.1.216+0
  [1914dd2f] MacroTools v0.5.5
  [dbb5928d] MappedArrays v0.2.2
  [e89f7d12] Media v0.5.0
  [e1d29d7a] Missings v0.4.3
  [e94cdb99] MosaicViews v0.2.2
  [77ba4419] NaNMath v0.3.4
  [6fe1bfb0] OffsetArrays v1.1.1
  [efe28fd5] OpenSpecFun_jll v0.5.3+3
  [bac558e1] OrderedCollections v1.3.0
  [2f80f16e] PCRE_jll v8.42.0+2
  [f57f5aa1] PNGFiles v0.3.0
  [5432bcbf] PaddedViews v0.5.5
  [36c8627f] Pango_jll v1.42.4+8
  [d96e819e] Parameters v0.12.1
  [30392449] Pixman_jll v0.38.4+2
  [dca85d43] QuartzImageIO v0.6.0
  [b3c3ace0] RangeArrays v0.3.2
  [c84ed2f1] Ratios v0.4.0
  [189a3867] Reexport v0.2.0
  [324d217c] ReferenceTests v0.9.1
  [ae029012] Requires v1.0.1
  [6038ab10] Rotations v1.0.1
  [699a6c99] SimpleTraits v0.9.2
  [a2af1166] SortingAlgorithms v0.3.1
  [276daf66] SpecialFunctions v0.10.3
  [90137ffa] StaticArrays v0.12.4
  [2913bbd2] StatsBase v0.33.0
  [06e1c1a7] TiledIteration v0.2.4
  [3a884ed6] UnPack v1.0.1
  [efce3f68] WoodburyMatrices v0.5.2
  [02c8fc9c] XML2_jll v2.9.10+1
  [aed1982a] XSLT_jll v1.1.33+2
  [4f6342f7] Xorg_libX11_jll v1.6.9+2
  [0c0b7dd1] Xorg_libXau_jll v1.0.9+2
  [a3789734] Xorg_libXdmcp_jll v1.1.3+2
  [1082639a] Xorg_libXext_jll v1.3.4+2
  [ea2f1a96] Xorg_libXrender_jll v0.9.10+2
  [14d82f49] Xorg_libpthread_stubs_jll v0.1.0+1
  [c7cfdc94] Xorg_libxcb_jll v1.13.0+2
  [c5fb5394] Xorg_xtrans_jll v1.4.0+1
  [83775a58] Zlib_jll v1.2.11+14
  [3161d3a3] Zstd_jll v1.4.5+0
  [b53b4c65] libpng_jll v1.6.37+3
  [2a0f44e3] Base64 
  [ade2ca70] Dates 
  [8ba89e20] Distributed 
  [b77e0a4c] InteractiveUtils 
  [76f85450] LibGit2 
  [8f399da3] Libdl 
  [37e2e46d] LinearAlgebra 
  [56ddb016] Logging 
  [d6f4376e] Markdown 
  [a63ad114] Mmap 
  [44cfe95a] Pkg 
  [de0858da] Printf 
  [9abbd945] Profile 
  [3fa0cd96] REPL 
  [9a3f8284] Random 
  [ea8e919c] SHA 
  [9e88b42a] Serialization 
  [1a1011a3] SharedArrays 
  [6462fe0b] Sockets 
  [2f01184e] SparseArrays 
  [10745b16] Statistics 
  [8dfed614] Test 
  [cf7118a7] UUIDs 
  [4ec0a83e] Unicode
Test Summary: | Pass  Total
O(logn)       |    1      1
    Testing Javis tests passed 
Wikunia commented 4 years ago

In general ] moves you into the package mode. There you can add a package using add PackageName. FYI there are other modes like ? for help mode and ; for shell mode. Thanks for having a test. Glad that everything works now.

ma7dev commented 4 years ago

I would suggest including Luxor dependency installation as part of the Javis.jl setup in the README file. @TheCedarPrince