Giter Club home page Giter Club logo

Comments (6)

emmaccode avatar emmaccode commented on August 26, 2024

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

from olive.jl.

emmaccode avatar emmaccode commented on August 26, 2024

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!

from olive.jl.

VarLad avatar VarLad commented on August 26, 2024

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

from olive.jl.

TheCedarPrince avatar TheCedarPrince commented on August 26, 2024

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:

  1. Navigate into the olive directory and manually added Olive.jl
  2. Restarted my Julia session
  3. Restarted olive environment
  4. Success

Also I can't seem to create files at the moment. I get an error such as open("/home/[email protected]/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!

from olive.jl.

emmaccode avatar emmaccode commented on August 26, 2024

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:

  1. Navigate into the olive directory and manually added Olive.jl
  2. Restarted my Julia session
  3. Restarted olive environment
  4. Success

Also I can't seem to create files at the moment. I get an error such as open("/home/[email protected]/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!

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

from olive.jl.

emmaccode avatar emmaccode commented on August 26, 2024

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.

from olive.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.