Coder Social home page Coder Social logo

Comments (4)

ramedina86 avatar ramedina86 commented on August 19, 2024 1

Apologies for the delay on this, in v0.2.7 it's now possible to see the error directly without having to access Builder, as logs are streamed to the terminal.

from streamsync.

ramedina86 avatar ramedina86 commented on August 19, 2024

Hi, thanks for reporting this.

Please change the pip line in the Dockerfile to

RUN pip3 install 'streamsync[ds]' && pip3 install -r requirements.txt

in order to install streamsync[ds] with the data science dependencies for hello. That should fix it, please let me know if it doesn't.

Alternatively you can edit requirements.txt to add the optional dependencies manually. I'll classify this as a bug given that since the Dockerfile is in the hello app, it really makes you think that it should work as-is for the hello app.

from streamsync.

gaviriar avatar gaviriar commented on August 19, 2024

@ramedina86 thanks for the quick response. That seems to be resolving the issue for the hello app. It does not seem to work for my local app, and likely due to missing dependencies.

The challenge is that when I run the container, there is not output on stdout or stderror so I cannot figure out what is wrong, do you have any tips for debugging? Is there a debug flag I could use to print the output?

from streamsync.

gaviriar avatar gaviriar commented on August 19, 2024

@ramedina86 thanks for the quick response. That seems to be resolving the issue for the hello app. It does not seem to work for my local app, and likely due to missing dependencies.

The challenge is that when I run the container, there is not output on stdout or stderror so I cannot figure out what is wrong, do you have any tips for debugging? Is there a debug flag I could use to print the output?

Ok, another update. The main.py failed to run due to a missing file that is not in the Docker image. But to find that out I had to docker run -it sh and then run the python main.py to actually see the error and stack trace which I don't see when I run the container.

from streamsync.

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.