Git Product home page Git Product logo

Comments (5)

luisgc93 avatar luisgc93 commented on May 25, 2024 1

Is alpine chrome what you ended up using to make this work? Facing a similar issue right now with dataframe_image package, and wondering how to solve it.

Really cool project btw!

Hi! Glad you like the project!

I was able to save the image locally but setting up the chrome driver on heroku was an absolute nightmare. I ended up ditching Pillow and using this library instead:
https://pypi.org/project/dataframe-image/

This is the commit where I managed to make it work:
ede9362

If I remember correctly, what made this approach work was using table_conversion=None which bypasses the default table_conversion='chrome' and therefore doesn't need a chrome driver. Hope this helps!

from stock_reminder_bot.

dheerkt avatar dheerkt commented on May 25, 2024 1

Appreciate the prompt reply! Got it working with table_conversion=None. Of course it was that simple lol. Thank you for saving me from hours of googling how to deploy headless chrome on Lambda.

from stock_reminder_bot.

luisgc93 avatar luisgc93 commented on May 25, 2024

In order to make this work in heroku, try adding chrome through docker with a tool like:
https://github.com/Zenika/alpine-chrome

from stock_reminder_bot.

luisgc93 avatar luisgc93 commented on May 25, 2024

Fixed:
https://twitter.com/stock_reminder/status/1365036494856073219?s=20

from stock_reminder_bot.

dheerkt avatar dheerkt commented on May 25, 2024

Is alpine chrome what you ended up using to make this work? Facing a similar issue right now with dataframe_image package, and wondering how to solve it.

Really cool project btw!

from stock_reminder_bot.

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.