Hi all,

I'm using Julia v0.4.2 on Ubuntu and I'm having issues creating a module 
that is "using IJulia" and calling it inside a notebook; I'm not sure 
what's going on...

I created a module as follows:

__precompile__(true)
module EmptyTestModule
    using IJulia
end

Now I'd like to import that (useful) module into a notebook, so I simply 
call

using EmptyTestModule

And the output is as follows:
 

> INFO: Precompiling module EmptyTestModule...
> INFO: Recompiling stale cache file 
> /home/ubuntu/.julia/lib/v0.4/EmptyTestModule.ji for module EmptyTestModule.
> WARNING: Module IJulia uuid did not match cache file
> LoadError: __precompile__(true) but require failed to create a precompiled 
> cache file
> while loading In[2], in expression starting on line 1 in require at 
> ./loading.jl:252


 
I'm guessing things are somehow messed up because IJulia is already loaded 
when the Notebook's kernel starts, but I don't know how to work around that.

Any idea of what I'm doing wrong? 

Cheers,
Louis

Reply via email to