kgregor98 / grass

A Docker Image for getgrass.io
GNU General Public License v3.0
77 stars 58 forks source link

Failed install into Raspberry Pi3b with Raspbian lite 32bit version. #9

Open Rejang-IT-King opened 9 months ago

Rejang-IT-King commented 9 months ago

Thanks for your hardwork, I have run successfully on my RPI4b with Raspbian OS 64bit version, but... I have another Rpi3b, after follow all step as your mention on README.

run command with checking container logs

docker logs grass

and wait few more minutes then output as below:-

Downloading extension... Downloaded! Installing extension and driver manager... Installed! Starting... Could not start with Manager! Trying to default to manual path... Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/common/driver_finder.py", line 38, in get_path path = SeleniumManager().driver_location(options) if path is None else path ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/common/selenium_manager.py", line 89, in driver_location args = [str(self.get_binary()), "--browser", browser] ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/common/selenium_manager.py", line 63, in get_binary raise WebDriverException(f"Unsupported platform/architecture combination: {sys.platform}/{arch}") selenium.common.exceptions.WebDriverException: Message: Unsupported platform/architecture combination: linux/armv7l

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/app/./main.py", line 88, in driver = webdriver.Chrome(options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init super().init( File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/chromium/webdriver.py", line 49, in init self.service.path = DriverFinder.get_path(self.service, options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/selenium/webdriver/common/driver_finder.py", line 41, in get_path raise NoSuchDriverException(msg) from err selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome using Selenium Manager.; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/src/app/./main.py", line 92, in driver_path = ChromeDriverManager(chrome_type=ChromeType.CHROMIUM).install() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/webdriver_manager/chrome.py", line 40, in install driver_path = self._get_driver_binary_path(self.driver) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/webdriver_manager/core/manager.py", line 40, in _get_driver_binary_path file = self._download_manager.download_file(driver.get_driver_download_url(os_type)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/webdriver_manager/drivers/chrome.py", line 45, in get_driver_download_url modern_version_url = self.get_url_for_version_and_platform(driver_version_to_download, os_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/webdriver_manager/drivers/chrome.py", line 97, in get_url_for_version_and_platform raise Exception(f"No such driver version {browser_version} for {platform}") Exception: No such driver version 120.0.6099.109 for linux32

uname

Linux raspberrypi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux