Code Monkey home page Code Monkey logo

Comments (5)

Herrox avatar Herrox commented on May 31, 2024

I just tried with the latest docker image (0.6.5) and it's working properly. Which version of InstaPy and docker image are you using?

At the top of your config file, does this two lines are present

from instapy import InstaPy
from instapy import smart_run

from instapy-docker.

matej2 avatar matej2 commented on May 31, 2024

I am also using 0.6.5 and InstaPy version 0.6.5. My quickstart file also has those two lines present. The only change that i made to it was the username and pass values.

EDIT: I will try to deploy this dockerfile and see if the problem persists

from instapy-docker.

matej2 avatar matej2 commented on May 31, 2024

Ok looks like i was using wrong dockerfile... It is still not working but at least i got rid of this error.

from instapy-docker.

greyslater avatar greyslater commented on May 31, 2024

Hello,
for me I can't get it working with docker image instapy/instapy:latest (0.6.8)

At the top of my config file also this two lines are present

from instapy import InstaPy
from instapy import smart_run

I'm sorry but I tried to insert my code in a nice form but I can't do it :(

InstaPy Version: 0.6.8
.. .. .. .. .. .. ._.
Workspace in use: "/root/InstaPy"
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/easyprocess/init.py", line 226, in start
env=self.env,
File "/usr/local/lib/python3.7/subprocess.py", line 800, in init
restore_signals, start_new_session)
File "/usr/local/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'Xvfb': 'Xvfb'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "docker_quickstart.py", line 140, in
headless_browser=True)
File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 140, in init
self.display = Display(visible=0, size=(800, 600))
File "/usr/local/lib/python3.7/site-packages/pyvirtualdisplay/display.py", line 34, in init
self._obj = self.display_class(
File "/usr/local/lib/python3.7/site-packages/pyvirtualdisplay/display.py", line 53, in display_class
cls.check_installed()
File "/usr/local/lib/python3.7/site-packages/pyvirtualdisplay/xvfb.py", line 40, in check_installed
p.call()
File "/usr/local/lib/python3.7/site-packages/easyprocess/init.py", line 195, in call
self.start().wait(timeout=timeout)
File "/usr/local/lib/python3.7/site-packages/easyprocess/init.py", line 231, in start
raise EasyProcessError(self, 'start error')
easyprocess.EasyProcessError: start error <EasyProcess cmd_param=['Xvfb', '-help'] cmd=['Xvfb', '-help'] oserror=[Errno 2] No such file or directory: 'Xvfb': 'Xvfb' return_code=None stdout="None" stderr="None" timeout_happened=False>

from instapy-docker.

greyslater avatar greyslater commented on May 31, 2024

is
nogui=True,
headless_browser=True

still working after the switch from chrome to firefox?

from instapy-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.