JuliaGL / GLVisualize.jl

Visualization library written in Julia and OpenGL
Other
247 stars 34 forks source link

test fails on osx #51

Closed Ken-B closed 8 years ago

Ken-B commented 8 years ago

Running the test gives:

julia> Pkg.test("GLVisualize")
INFO: Computing test dependencies for GLVisualize...
INFO: No packages to install, update or remove
INFO: Testing GLVisualize
Barplot
3d dot particles
ERROR: LoadError: LoadError: TypeError: typeassert: expected Tuple{FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32}}, got Tuple{FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32},FixedSizeArrays.Vec{4,Float32}}
 in * at /Users/ken/.julia/v0.4/GeometryTypes/src/hyperrectangles.jl:75
 in default_boundingbox at /Users/ken/.julia/v0.4/GLVisualize/src/utils.jl:62
 in visualize at /Users/ken/.julia/v0.4/GLVisualize/src/utils.jl:18
 in dots_data at /Users/ken/.julia/v0.4/GLVisualize/test/all_tests.jl:22
 in include at /Applications/Julia-0.4.2.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Applications/Julia-0.4.2.app/Contents/Resources/julia/lib/julia/sys.dylib
 in test at /Users/ken/.julia/v0.4/GLVisualize/test/runtests.jl:18
 in include at /Applications/Julia-0.4.2.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Applications/Julia-0.4.2.app/Contents/Resources/julia/lib/julia/sys.dylib
 in process_options at /Applications/Julia-0.4.2.app/Contents/Resources/julia/lib/julia/sys.dylib
 in _start at /Applications/Julia-0.4.2.app/Contents/Resources/julia/lib/julia/sys.dylib
while loading /Users/ken/.julia/v0.4/GLVisualize/test/all_tests.jl, in expression starting on line 24
while loading /Users/ken/.julia/v0.4/GLVisualize/test/runtests.jl, in expression starting on line 31
=============================[ ERROR: GLVisualize ]=============================

failed process: Process(`/Applications/Julia-0.4.2.app/Contents/Resources/julia/bin/julia --check-bounds=yes --code-coverage=none --color=yes /Users/ken/.julia/v0.4/GLVisualize/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: GLVisualize had test errors
 in error at /Applications/Julia-0.4.2.app/Contents/Resources/julia/lib/julia/sys.dylib
 in test at pkg/entry.jl:803
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in test at pkg.jl:71

The test for package GeometryTypes pass.

Here's my versioninfo and Pkg.status:

julia> versioninfo()
PkgJulia Version 0.4.2
Commit bb73f34 (2015-12-06 21:47 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

julia> Pkg.status()
26 required packages:
 - Atom                          0.2.0+             master
 - Blink                         0.2.1
 - Cairo                         0.2.31
 - Compose                       0.4.0+             master
 - Escher                        0.2.1
 - ForwardDiff                   0.1.3+             master
 - GLVisualize                   0.0.2+             master
 - Gadfly                        0.4.0+             master
 - IJulia                        1.1.8
 - Images                        0.5.1
 - Interact                      0.2.1
 - Jewel                         1.0.8              master
 - Lora                          0.4.4
 - Mocha                         0.1.0
 - NullableArrays                0.0.2
 - Plots                         0.5.0
 - ProfileView                   0.1.1
 - PyPlot                        2.1.1
 - QuantEcon                     0.4.1
 - QuartzImageIO                 0.1.0
 - Reactive                      0.2.4+             master
 - SimJulia                      0.3.9
 - Sobol                         0.1.2-             SobolJulia
 - SymPy                         0.2.34
 - TestImages                    0.1.0
 - Winston                       0.11.13
113 additional packages:
 - ArgParse                      0.3.0
 - ArrayViews                    0.6.4
 - AutoHashEquals                0.0.8
 - Benchmark                     0.1.0
 - Benchmarks                    0.0.0-             master (unregistered)
 - BinDeps                       0.3.20
 - Blosc                         0.1.4
 - Calculus                      0.1.14
 - Clustering                    0.5.0
 - CodeTools                     0.2.0
 - Codecs                        0.1.5
 - ColorTypes                    0.2.0
 - ColorVectorSpace              0.1.1
 - Colors                        0.6.1
 - Combinatorics                 0.2.0
 - Compat                        0.7.8
 - Conda                         0.1.8
 - Contour                       0.0.8
 - DSP                           0.0.11
 - DataArrays                    0.2.20
 - DataFrames                    0.6.10
 - DataStructures                0.3.13
 - Dates                         0.4.4
 - Debug                         0.1.6
 - DevTools                      0.0.0-             master (unregistered)
 - Distances                     0.2.1
 - Distributions                 0.8.7
 - Docile                        0.5.20
 - DualNumbers                   0.1.5
 - Electron                      0.0.0-             master (unregistered)
 - FactCheck                     0.4.2
 - FastAnonymous                 0.3.2
 - FileIO                        0.0.3+             master
 - FixedPointNumbers             0.1.1
 - FixedSizeArrays               0.0.7
 - FreeType                      1.0.1+             master
 - FunctionalCollections         0.1.3
 - GLAbstraction                 0.0.6+             master
 - GLFW                          1.0.0-alpha.7
 - GLWindow                      0.0.6+             master
 - GZip                          0.2.18
 - GeometryTypes                 0.1.0+             master
 - Graphics                      0.1.3
 - Grid                          0.4.0
 - Gtk                           0.9.3
 - GtkUtilities                  0.0.7
 - HDF5                          0.5.7
 - Hexagons                      0.0.4
 - Hiccup                        0.0.2
 - Homebrew                      0.2.0
 - HttpCommon                    0.2.4
 - HttpParser                    0.1.1
 - HttpServer                    0.1.5
 - ImageIO                       0.0.0-             master (unregistered)
 - ImageMagick                   0.1.1+             master
 - ImmutableArrays               0.0.11
 - IniFile                       0.2.4
 - Iterators                     0.1.9
 - JLD                           0.5.6
 - JSON                          0.5.0
 - JuliaParser                   0.6.4              master
 - KernelDensity                 0.1.2
 - LNR                           0.0.2
 - LaTeXStrings                  0.1.6
 - Lazy                          0.10.1
 - LeafAreaIndex                 0.0.0-             master (unregistered)
 - LightGraphs                   0.5.0
 - LightXML                      0.2.1
 - Loess                         0.0.6
 - Logging                       0.2.0
 - LsqFit                        0.0.2
 - MacroTools                    0.2.0
 - Markdown                      0.3.0
 - MbedTLS                       0.2.0
 - Measures                      0.0.1
 - Media                         0.1.1
 - Memoize                       0.0.1
 - MeshIO                        0.0.2
 - MinFinder                     0.0.0-             master (unregistered)
 - ModernGL                      0.0.6
 - Mustache                      0.0.14
 - Mux                           0.2.0
 - NaNMath                       0.1.1
 - Netpbm                        0.1.0
 - Nettle                        0.2.1              master
 - Optim                         0.4.4
 - PDMats                        0.3.6
 - Packing                       0.0.3              master
 - ParserCombinator              1.7.3
 - Patchwork                     0.1.9
 - Polynomials                   0.0.4
 - PyCall                        1.2.0
 - Quaternions                   0.1.0
 - Reexport                      0.0.3
 - Requires                      0.2.1
 - ReverseDiffSource             0.0.6
 - Rutherford                    0.0.0-             master (unregistered)
 - SHA                           0.1.2
 - SIUnits                       0.0.6
 - Showoff                       0.0.6+             29ccdb87
 - SignedDistanceFields          0.0.1
 - SortingAlgorithms             0.0.6
 - StatsBase                     0.7.4
 - StatsFuns                     0.2.0
 - TexExtensions                 0.0.3
 - TextWrap                      0.1.5
 - Tk                            0.3.7
 - URIParser                     0.1.1
 - WebSockets                    0.1.2
 - WoodburyMatrices              0.1.3
 - ZMQ                           0.3.1
 - ZipFile                       0.2.5
 - Zlib                          0.1.12

Let me know what I can do to debug! Thanks!

SimonDanisch commented 8 years ago

yeah things got out of sync :(

Try:

cd GeometryTypes
git checkout 74dca2630be2e3972ddc007674cf88081535cd3d

Thanks!

Ken-B commented 8 years ago

Oh, beautiful! The tests pass.

It's like a lava lamp, I can just keep on staring O_o