Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate errors from gif-generation.ipynb #121

Open
abarciauskas-bgse opened this issue Feb 15, 2024 · 2 comments
Open

Investigate errors from gif-generation.ipynb #121

abarciauskas-bgse opened this issue Feb 15, 2024 · 2 comments

Comments

@abarciauskas-bgse
Copy link
Contributor

There are at least 2 issues in https://github.com/NASA-IMPACT/veda-docs/blob/ab/gif-gen-errors/notebooks/tutorials/gif-generation.ipynb to address.

  1. Similar to Ab/fix no2 rescale #118, the no2-monthly dataset is missing cog_default from summaries so in that PR and in this version of the gif-generation notebook I use the item's assets
  2. With ⬆️ we can proceed but there is an issue emanating from the webdriver_manager package when it drives to look up a browser version.

I also found that this instruction from the pypi homepage

# selenium 4
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))

throws the same error (I was hoping it might fix it)

@smohiudd
Copy link
Collaborator

I unblocked the cog_default error and made the ChromeDriverManager().install() changes but now getting this error when running cell 14:

WebDriverException: Message: Service [/home/jovyan/.wdm/drivers/chromedriver/linux64/114.0.5735.90/chromedriver](https://hub.openveda.cloud/user/smohiudd/lab/tree/veda-docs/notebooks/tutorials/.wdm/drivers/chromedriver/linux64/114.0.5735.90/chromedriver) unexpectedly exited. Status code was: 127

@wildintellect
Copy link
Contributor

I recommend switching to Matplotlib static image generation with Contextly package for a basemap instead of folium/selenium to greatly reduced the complexity of generating the images for the gif frames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants