[GH-ISSUE #50] Geckodriver can not run on my raspiberry-pi 4B #39

Closed
opened 2026-03-02 04:06:23 +03:00 by kerem · 1 comment
Owner

Originally created by @yh110224 on GitHub (Feb 29, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/50

I use a raspberry-pi 4B device to run the project.Device info is:
Linux raspi 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux

When I start YT shorts Automater, error like this:

File "/home/username/moneyprint2/MoneyPrinterV2-main/src/main.py", line 364, in
main()
File "/home/username/moneyprint2/MoneyPrinterV2-main/src/main.py", line 79, in main
youtube = YouTube(
^^^^^^^^
File "/home/username/moneyprint2/MoneyPrinterV2-main/src/classes/YouTube.py", line 83, in init
self.browser: webdriver.Firefox = webdriver.Firefox(service=self.service, options=self.options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/username/moneyprint2/MoneyPrinterV2-main/mp2env/lib/python3.11/site-packages/selenium/webdriver/firefox/webdriver.py", line 60, in init
self.service.start()
File "/home/username/moneyprint2/MoneyPrinterV2-main/mp2env/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 98, in start
self._start_process(self._path)
File "/home/username/moneyprint2/MoneyPrinterV2-main/mp2env/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 208, in _start_process
self.process = subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/username/.wdm/drivers/geckodriver/linux64/v0.34.0/geckodriver'

Then use the 'file' command to view the file properties,like this:
geckodriver: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, BuildID[sha1]=ec0ce05f420115d33032b612f37d88c565b5468a, with debug_info, not stripped

Does this mean that my device cannot run the file?

Originally created by @yh110224 on GitHub (Feb 29, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/50 I use a raspberry-pi 4B device to run the project.Device info is: Linux raspi 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux When I start YT shorts Automater, error like this: File "/home/username/moneyprint2/MoneyPrinterV2-main/src/main.py", line 364, in <module> main() File "/home/username/moneyprint2/MoneyPrinterV2-main/src/main.py", line 79, in main youtube = YouTube( ^^^^^^^^ File "/home/username/moneyprint2/MoneyPrinterV2-main/src/classes/YouTube.py", line 83, in __init__ self.browser: webdriver.Firefox = webdriver.Firefox(service=self.service, options=self.options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/username/moneyprint2/MoneyPrinterV2-main/mp2env/lib/python3.11/site-packages/selenium/webdriver/firefox/webdriver.py", line 60, in __init__ self.service.start() File "/home/username/moneyprint2/MoneyPrinterV2-main/mp2env/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 98, in start self._start_process(self._path) File "/home/username/moneyprint2/MoneyPrinterV2-main/mp2env/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 208, in _start_process self.process = subprocess.Popen( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: '/home/username/.wdm/drivers/geckodriver/linux64/v0.34.0/geckodriver' Then use the 'file' command to view the file properties,like this: geckodriver: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, BuildID[sha1]=ec0ce05f420115d33032b612f37d88c565b5468a, with debug_info, not stripped Does this mean that my device cannot run the file?
kerem closed this issue 2026-03-02 04:06:23 +03:00
Author
Owner

@yh110224 commented on GitHub (Feb 29, 2024):

I solved this problem by downloading the correct version of geckodriver on Gitgub.
https://github.com/mozilla/geckodriver/releases

<!-- gh-comment-id:1970447310 --> @yh110224 commented on GitHub (Feb 29, 2024): I solved this problem by downloading the correct version of geckodriver on Gitgub. https://github.com/mozilla/geckodriver/releases
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MoneyPrinterV2#39
No description provided.