codeimag.es
codeimag.es copied to clipboard
chromedriver issue
posting a new tip, heroku logs:
2024-09-05T07:36:37.616842+00:00 app[web.1]: 89.40.87.171:0 - "POST /create HTTP/1.1" 500
2024-09-05T07:36:37.617713+00:00 heroku[router]: at=info method=POST path="/create" host=pybites-codeimages.herokuapp.com request_id=5008cb19-acf5-448e-b44d-1af27d52bf0f fwd="89.40.87.171" dyno=web.1 connect=0ms service=873ms status=500 bytes=193 protocol=https
2024-09-05T07:36:37.619799+00:00 app[web.1]: [2024-09-05 07:36:37 +0000] [9] [ERROR] Exception in ASGI application
2024-09-05T07:36:37.619800+00:00 app[web.1]: Traceback (most recent call last):
...
...
2024-09-05T07:36:37.619813+00:00 app[web.1]: File "/app/tips/main.py", line 153, in create_tip
2024-09-05T07:36:37.619814+00:00 app[web.1]: create_code_image(tip.code, **options)
2024-09-05T07:36:37.619814+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/carbon/carbon.py", line 50, in create_code_image
2024-09-05T07:36:37.619814+00:00 app[web.1]: with webdriver.Chrome(kwargs["driver_path"], options=options) as driver:
2024-09-05T07:36:37.619814+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-...
...
2024-09-05T07:36:37.619821+00:00 app[web.1]: selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 107
2024-09-05T07:36:37.619822+00:00 app[web.1]: Current browser version is 112.0.5615.165 with binary path /app/.apt/usr/bin/google-chrome
...