Skip to content
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.

RuntimeError: Error, unable to determine correct filename for 64bit linux : Docker Image #133

Open
Vikaskumargd opened this issue Jan 26, 2021 · 4 comments

Comments

@Vikaskumargd
Copy link

`Traceback (most recent call last):

Custom workspace set: "/usr/instapy/assets/InstaPy" :]

InstaPy Version: 0.6.12

File "bot.py", line 125, in

.. .. .. .. .. .. .. .. .. ..

session = InstaPy(**instapy_args)

Workspace in use: "/usr/instapy/assets/InstaPy"

File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 335, in init

geckodriver_log_level,

File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 131, in set_selenium_local_session

driver_path = geckodriver_path or get_geckodriver()

File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 38, in get_geckodriver

sym_path = gdd.download_and_install()[1]

File "/usr/local/lib/python3.7/site-packages/webdriverdownloader/webdriverdownloader.py", line 177, in download_and_install

show_progress_bar=show_progress_bar)

File "/usr/local/lib/python3.7/site-packages/webdriverdownloader/webdriverdownloader.py", line 129, in download

download_url = self.get_download_url(version, os_name=os_name, bitness=bitness)

File "/usr/local/lib/python3.7/site-packages/webdriverdownloader/webdriverdownloader.py", line 324, in get_download_url

raise RuntimeError(info_message)

RuntimeError: Error, unable to determine correct filename for 64bit linux`

@genbs
Copy link

genbs commented Jan 28, 2021

Check here https://github.com/timgrossmann/InstaPy/issues/5778
I solved with: sudo apt install firefox-geckodriver

@hbakhtiyor
Copy link

same issue

i run the docker in win10

image

@hbakhtiyor
Copy link

Check here timgrossmann/InstaPy#5778
I solved with: sudo apt install firefox-geckodriver

do you mean inside of docker container?

@edward8e
Copy link

edward8e commented Oct 5, 2021

I had the same error. The following seemed to work for me.

  1. Open terminal in docker container

  2. Go to the geckodriver releases page. Find the latest version of the driver for your platform and download it. For example:
    wget https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz

  3. Extract the file with:
    tar -xvzf geckodriver*

  4. Make it executable:
    chmod +x geckodriver

  5. Move to bin folder
    mv geckodriver /usr/instapy/bin/

I might be better to include in the docker container during build, but haven't jumped into it just yet.

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

No branches or pull requests

4 participants