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

Attempted to use inside JuliaNB, got errors #54

Closed
EMCP opened this issue Jan 20, 2018 · 2 comments
Closed

Attempted to use inside JuliaNB, got errors #54

EMCP opened this issue Jan 20, 2018 · 2 comments

Comments

@EMCP
Copy link

EMCP commented Jan 20, 2018

On my first attempt to start using WAV, getting an series of errors when utilized within JuliaNB

Code in notebook

# Add package to read audio files
Pkg.add("WAV")
using WAV

Output

INFO: Package WAV is already installed
INFO: Precompiling module WAV.
WARNING: Module Compat with uuid 22742543754153 is missing from the cache.
This may mean module Compat 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.
Stacktrace:
 [1] _require(::Symbol) at ./loading.jl:455
 [2] require(::Symbol) at ./loading.jl:405
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /Users/emcp/.julia/v0.6/FileIO/src/FileIO.jl, in expression starting on line 5
ERROR: LoadError: Failed to precompile FileIO to /Users/emcp/.julia/lib/v0.6/FileIO.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:463
 [3] require(::Symbol) at ./loading.jl:405
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] anonymous at ./<missing>:2
while loading /Users/emcp/.julia/v0.6/WAV/src/WAV.jl, in expression starting on line 8
Failed to precompile WAV to /Users/emcp/.julia/lib/v0.6/WAV.ji.

Stacktrace:
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:497
 [3] require(::Symbol) at ./loading.jl:405
 [4] include_string(::String, ::String) at ./loading.jl:522```
@dancasimiro
Copy link
Owner

What is JuliaNB?

@EMCP
Copy link
Author

EMCP commented Jan 21, 2018

iJulia notebook kernel inside Jupyter Notebook, it turns out you cannot update the packages while leaving a notebook open.. and you need to close down the notebook and reopen.

@EMCP EMCP closed this as completed Jan 21, 2018
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