Comments (5)
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.
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.
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.
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.
is
nogui=True,
headless_browser=True
still working after the switch from chrome to firefox?
from instapy-docker.
Related Issues (20)
- Message: binary is not a Firefox executable
- Can't access documentation
- [Errno 2] No such file or directory HOT 1
- Ive try run it on a stack but "__main__" module can´t be found HOT 1
- Connection Problem HOT 1
- Sorry, this page isn't available. HOT 1
- Running instapy/instapy in docker with "nogui" and "headless_browser" gives "No such file or directory: 'Xvfb': 'Xvfb'" HOT 1
- [enhancement] log folder HOT 1
- Upgrade to a version 0.6.9 HOT 1
- unable to determine correct filename for 64bit linux HOT 21
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Timed out with failure while explicitly waiting until title contains 'Login' string! HOT 1
- RuntimeError: generator didn't yield HOT 22
- KeyError: 'dissmiss_save_information' HOT 2
- Good job
- cannot run on raspberry pi 4 HOT 5
- [Errno 38] Function not implemented: '/code' HOT 1
- Message: Process unexpectedly closed with status 11 HOT 1
- Cannot detect post media type HOT 2
- Running in Unraid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instapy-docker.