Closed VarLad closed 1 year ago
Can I get your browser, as well (to attempt to replicate this, I typically develop in chrome.) Have you tried turning it off and back on again lol
caused by #57 ... going to go ahead and leave this open for anyone that might face the same issue. Some special symbols in your directory are causing the document to sort of fall apart and become no longer parsable. The solution is to find a different place to put your home directory until #57 is closed. First, remove your current Olive version:
pkg> rm Olive
Next, add Olive Unstable -- which has an added key-word argument to the function start
that will allow you to set the starting home directory to another directory. For example, (this is post registration, otherwise replace Olive
with this repository's URL.
pkg> add Olive#Unstable
julia> using Olive
julia> using Olive; Olive.start(home = pwd())
I hope to get the actual IO issue that is the source of this fixed very soon... Hoping to make it the focus for tommorrow!
Another solution (for those who want to use the published version or the stable version), might be to launch Julia with
HOME="/path/to/an/empty/folder" JULIA_DEPOT_PATH="/path/to/.julia/folder julia
Hey @emmettgb, I am also running into this issue that @VarLad described. Just tried starting a notebook and it doesn't work. Not only do I have the issue that Var described, but I also get an error in precompiling the olive
module being activated. It gave me a dependency error (I am on the latest #Unstable branch right now) about Olive not being a dependency. To get around this, what I did was:
olive
directory and manually added Olive.jl
Also I can't seem to create files at the moment. I get an error such as open("/home/jacob@me.computer/OliveTest/olive", 65, 438): illegal operation on a directory
. To get around that I dropped out of Julia for a moment, touched a file called test.jl
, restarted Olive, and then I could pull up the editor.
Cool stuff!
Hey @emmettgb, I am also running into this issue that @VarLad described. Just tried starting a notebook and it doesn't work. Not only do I have the issue that Var described, but I also get an error in precompiling the
olive
module being activated. It gave me a dependency error (I am on the latest #Unstable branch right now) about Olive not being a dependency. To get around this, what I did was:
- Navigate into the
olive
directory and manually addedOlive.jl
- Restarted my Julia session
- Restarted olive environment
- Success
Also I can't seem to create files at the moment. I get an error such as
open("/home/jacob@me.computer/OliveTest/olive", 65, 438): illegal operation on a directory
. To get around that I dropped out of Julia for a moment, touched a file calledtest.jl
, restarted Olive, and then I could pull up the editor.Cool stuff!
Definitely a permissions issue with the directory you chose, as far as I can tell. Seems Julia cannot create or save files.
Hmmm that's interesting, I didn't think we would need to add Olive in order to have it work as a dependency for those sub-files, given that they are sourced below Olive from Olive. Odd that this remains a little inconsistent, but also understandable.
I suppose the solution to that would just be adding Olive
in setup
So this issue is effectively resolved, as it was an issue with dependencies -- this issue should not exist going forward so long as one is using ToolipsSession
0.3.3+
.... This was caused by #57
Thank you to @VarLad for helping me diagnose the issue by introspecting a few things on their machine. Closing now.
Clicking on "confirm" in the folders does nothing Prints the following into the terminal:
This is on Linux, on Olive 0.0.8 (main) on julia 1.9rc-1