Giter Site home page Giter Site logo

Comments (5)

ojarjur avatar ojarjur commented on September 24, 2024 1

@jannkrynauw I think you are hitting a transient (but increasingly reproducible) issue with the Docker volume we use for /tmp.

One workaround that seems (so far) to work is to run:

datalab stop ${INSTANCE_NAME}
datalab connect ${INSTANCE_NAME}

That forces the VM to be stopped and then restarted.

I'm still trying to figure out the root cause, but until we have that (and a fix), try this work-around and see if it helps.

from notebooks.

ojarjur avatar ojarjur commented on September 24, 2024 1

We have a separate tracking issue for this in the datalab repository.

That's the right home for it, since it is an issue with the tool rather than one of the notebooks.

As such, I'm going to close this issue and continue the work with updates in that other issue.

from notebooks.

brandondutra avatar brandondutra commented on September 24, 2024

@jannkrynauw
Does this script work for you
import tempfile
_, path = tempfile.mkstemp()
print(path)
with open(path, 'w') as f:
f.write('hello')

new cell: !cat {path}

Do you get the same problem if you close datalab, restart the container, and run the notebook again?

from notebooks.

jankrynauw avatar jankrynauw commented on September 24, 2024

Hi @brandondutra

The script worked:

screen shot 2017-03-30 at 6 57 59 pm

I restarted datalab, as well as installed a fresh new version using the datalab create ... command and still get the following error:

Running numerical analysis...Analyze: failed with error: The internal temporary file is not writable.

from notebooks.

brandondutra avatar brandondutra commented on September 24, 2024

I was able to reproduce the error. I'm sorry you had to experience this.

Just to make sure your error is the same one I am seeing, can you confirm this is failing for you

with open('/tmp/hello.txt', 'w') as f:
  f.write('hello')
IOErrorTraceback (most recent call last)
<ipython-input-49-bdbaa2b614a1> in <module>()
----> 1 with open('/tmp/hello.txt', 'w') as f:
      2   f.write('hello')

IOError: [Errno 2] No such file or directory: '/tmp/hello.txt'

from notebooks.

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.