SimonDanisch/GLPlot.jl

Precompilation on `using GLPlot`

mkborregaard opened this issue · 0 comments

I get

julia> using Plots

julia> using GLPlot
INFO: Precompiling module GLPlot.
WARNING: Module Plots with uuid 195894601543019 is missing from the cache.
This may mean module Plots does not support precompilation but is imported by a module that does.
ERROR: LoadError: Declaring __precompile__(false) is not allowed in files that are being precompiled.
 in require(::Symbol) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in require(::Symbol) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in eval(::Module, ::Any) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in process_options(::Base.JLOptions) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Users/michael/.julia/v0.5/GLPlot/src/GLPlot.jl, in expression starting on line 9
ERROR: Failed to precompile GLPlot to /Users/michael/.julia/lib/v0.5/GLPlot.ji.
 in compilecache(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in require(::Symbol) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
 in require(::Symbol) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?

julia> versioninfo()
PkJulia Version 0.5.0
Commit 3c9d753 (2016-09-19 18:14 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)

julia> Pkg.status()
45 required packages:
 - ArrayViews                    0.6.4
 - Atom                          0.5.7+             master
 - BenchmarkTools                0.0.6
 - Bio                           0.4.3
 - CSV                           0.1.2
 - ColorBrewer                   0.3.0
 - Contour                       0.2.0
 - CrossfilterCharts             0.1.1
 - DataFrames                    0.8.5
 - DataFramesMeta                0.1.3
 - Distributions                 0.11.1
 - FactCheck                     0.4.3
 - FileIO                        0.2.1
 - FreqTables                    0.0.2
 - GLM                           0.6.1+             confidence-intervals-on-predictions
 - GLPlot                        0.0.5+             master
 - GLVisualize                   0.1.2+             master
 - GR                            0.18.0+            master
 - Gadfly                        0.5.2
 - Grid                          0.4.2
 - IJulia                        1.3.3
 - ImageMagick                   0.1.8
 - JLD                           0.6.8
 - LaTeXStrings                  0.2.0
 - MAT                           0.3.1
 - MixedModels                   0.7.4
 - NamedArrays                   0.5.3
 - PhyloNetworks                 0.5.0+             master
 - PlotRecipes                   0.2.0+             master
 - PlotThemes                    0.1.0              master
 - PlotlyJS                      0.5.2+             master
 - ProfileView                   0.1.5
 - PyPlot                        2.2.4
 - QuartzImageIO                 0.1.4
 - Query                         0.3.0
 - RCall                         0.6.4
 - RDatasets                     0.2.0
 - RecipesBase                   0.1.0
 - Reexport                      0.0.3
 - Requests                      0.3.12
 - Rsvg                          0.0.2
 - Shapefile                     0.0.3
 - SimpleTraits                  0.2.0
 - StaticArrays                  0.1.3
 - Stats                         0.1.0
133 additional packages:
 - ASTInterpreter                0.0.4
 - AbstractTrees                 0.0.4
 - ArgParse                      0.4.0
 - AutoHashEquals                0.0.10
 - AxisAlgorithms                0.1.5
 - BGZFStreams                   0.1.2
 - BaseTestNext                  0.2.2
 - BinDeps                       0.4.5
 - Blink                         0.5.0              master
 - Blosc                         0.1.7
 - BufferedStreams               0.2.0
 - COFF                          0.0.2
 - CRC                           1.2.0
 - Cairo                         0.2.35
 - Calculus                      0.1.15
 - CategoricalArrays             0.1.0
 - CodeTools                     0.4.3+             master
 - Codecs                        0.2.0
 - ColorTypes                    0.2.12
 - ColorVectorSpace              0.1.12
 - Colors                        0.6.9
 - Combinatorics                 0.3.2
 - Compat                        0.10.0
 - Compose                       0.4.4
 - Conda                         0.4.0
 - DWARF                         0.1.0
 - DataArrays                    0.3.10
 - DataStreams                   0.1.2
 - DataStructures                0.4.6
 - DiffBase                      0.0.2
 - Distances                     0.3.2
 - DocStringExtensions           0.3.1
 - Docile                        0.5.23
 - Documenter                    0.8.10
 - DualNumbers                   0.2.3
 - ELF                           0.1.0
 - FixedPointNumbers             0.2.1
 - FixedSizeArrays               0.2.5              master
 - ForwardDiff                   0.3.3
 - FreeType                      1.1.0              master
 - FunctionWrappers              0.0.1
 - GLAbstraction                 0.2.1+             master
 - GLFW                          1.2.0
 - GLWindow                      0.2.1+             master
 - GZip                          0.2.20
 - Gallium                       0.0.4+             master
 - GeometryTypes                 0.2.1+             master
 - Graphics                      0.1.3
 - Gtk                           0.10.4
 - GtkUtilities                  0.1.0
 - HDF5                          0.7.2
 - Hexagons                      0.0.4
 - Hiccup                        0.1.1
 - Homebrew                      0.4.2
 - HttpCommon                    0.2.6
 - HttpParser                    0.2.0
 - HttpServer                    0.1.7
 - Images                        0.5.14
 - IndexableBitVectors           0.1.1
 - Interpolations                0.3.6
 - IntervalTrees                 0.1.0
 - Iterators                     0.2.0
 - JSON                          0.8.0
 - JuliaParser                   0.7.4
 - Juno                          0.2.5+             master
 - KernelDensity                 0.3.0
 - LNR                           0.0.2
 - Lazy                          0.11.4+            master
 - LegacyStrings                 0.2.0
 - Libz                          0.2.1
 - LightGraphs                   0.7.2
 - LightXML                      0.4.0
 - LineSearches                  0.1.3
 - Loess                         0.1.0
 - MachO                         0.0.4
 - MacroTools                    0.3.4
 - MathProgBase                  0.5.8
 - MbedTLS                       0.4.2
 - Measures                      0.0.3
 - Media                         0.2.4              master
 - MeshIO                        0.0.6
 - MetaPkg                       0.0.0-             master (unregistered)
 - ModernGL                      0.1.1
 - Mustache                      0.1.2
 - Mux                           0.2.2
 - NIfTI                         0.1.1
 - NLopt                         0.3.3
 - NaNMath                       0.2.2
 - NamedTuples                   1.0.0
 - Nettle                        0.2.4
 - NetworkLayout                 0.0.1
 - NullableArrays                0.0.10
 - ObjFileBase                   0.0.4
 - Optim                         0.7.3
 - PDMats                        0.5.2
 - Packing                       0.0.4
 - ParserCombinator              1.7.11
 - PlotUtils                     0.1.1+             color_libraries (dirty)
 - Plots                         0.10.2+            master
 - Polynomials                   0.1.2
 - PositiveFactorizations        0.0.3
 - Primes                        0.1.2
 - PyCall                        1.7.2
 - Quaternions                   0.1.1
 - RData                         0.0.4
 - Ratios                        0.0.4
 - Reactive                      0.3.6+             master
 - Requires                      0.3.0
 - Rmath                         0.1.6
 - Roots                         0.2.1
 - SHA                           0.3.0
 - SIUnits                       0.1.0
 - Showoff                       0.0.7
 - SignedDistanceFields          0.1.0
 - SortingAlgorithms             0.1.0
 - SpatialEcology                0.0.0-             use-views-for-subsetting (unregistered)
 - StatPlots                     0.2.1+             master
 - StatPlots.jl                  0.0.0-             series-as-symbols (unregistered)
 - StatsBase                     0.12.0+            docstring-for-predict
 - StatsFuns                     0.3.1
 - StructIO                      0.0.2
 - TerminalUI                    0.0.2
 - TexExtensions                 0.0.3
 - TextWrap                      0.1.6
 - Tokenize                      0.1.2              master
 - URIParser                     0.1.6
 - UnicodeFun                    0.0.2
 - VT100                         0.0.2
 - WeakRefStrings                0.2.0
 - WebSockets                    0.2.1
 - WoodburyMatrices              0.2.1
 - ZMQ                           0.4.0
 - Zlib                          0.1.12

No other errors with Plots (it works in other contexts). Plots is my fork, but it is identical to tbreloffs master.