Giter Club home page Giter Club logo

Comments (8)

richard-hajek avatar richard-hajek commented on July 22, 2024 2

I second this. Reproduction is very easy. This docker-compose.yml:

version: '2.0'
services:
  jupyter:
    image: gcr.io/kaggle-images/python
    command: jupyter lab --allow-root
    volumes:
    - .:/working
    working_dir: /working
    network_mode: "host"
    stdin_open: true
    tty: true
    environment:
        HOME: '/working'

Browser: Firefox 80.0.1 (same result on Google Chrome 85.0.4183.102 (Official Build) (64-bit) )

Result:

image

And this just hangs like that seemingly forever

from kaggle-environments.

harrisse avatar harrisse commented on July 22, 2024 1

Thanks for the report, we'll take a look!

from kaggle-environments.

SiggyF avatar SiggyF commented on July 22, 2024 1

I have the same issue. I see the following error in the console log:

Error: IPython Unavailable: TypeError: Cannot read property 'notebook' of undefined
    at about:srcdoc:1171
    at new Promise (<anonymous>)
    at App.contextRef.current.execute (about:srcdoc:1158)
    at App.contextRef.current.act (about:srcdoc:1179)
    at HTMLCanvasElement.<anonymous> (about:srcdoc:332)
(anonymous) @ about:srcdoc:1199
Promise.catch (async)
App.contextRef.current.act @ about:srcdoc:1199
(anonymous) @ about:srcdoc:332

from kaggle-environments.

bovard avatar bovard commented on July 22, 2024

I've gone a number of reports on this on the kaggle forums as well. I will try to prioritize to take a look at this.

from kaggle-environments.

SiggyF avatar SiggyF commented on July 22, 2024

The current player code seems to depend on the ipython javascript API. I inspected the kaggle javascript environment using a javascript cell:

%%javascript
// Show python related variables
console.log('vars', Object.keys(window).filter(x => x.toLowerCase().match(/py/)))

This shows that the current kaggle version is using the JupyterLab environment. I couldn't find an easy way (other then by writing a jupyter lab extension to recreate the similar functionality. See also the open issue here .

from kaggle-environments.

FelipeMaldonado avatar FelipeMaldonado commented on July 22, 2024

I've gone a number of reports on this on the kaggle forums as well. I will try to prioritize to take a look at this.

Is there any progress on this? at least in my case the manual play works if I run locally a Jupyter notebook, but gets stuck in the 'processing' if I run it for example on Google Colab.

from kaggle-environments.

jonahw23 avatar jonahw23 commented on July 22, 2024

I'm having this issue as well, I've tried running a Jupyter notebook locally as well as using Google Colab and the Kaggle Notebooks, but I get the same "Processing" message no matter the enviroment. Any workarounds?

from kaggle-environments.

kafkasl avatar kafkasl commented on July 22, 2024

I'm having this issue as well, I've tried running a Jupyter notebook locally as well as using Google Colab and the Kaggle Notebooks, but I get the same "Processing" message no matter the enviroment. Any workarounds?

hey it didn't work for me using Jupyter Lab but it did work using normal notebooks.
In the terminal, instead of runningjupyter lab, run jupyter notebook

from kaggle-environments.

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.