Comments (7)
Sorry, I think I did it wrong, will let you know in a couple days if it works. Thanks so much!
from craigslist-renew.
It works perfectly after pulling and running latest. Thanks so much!
from craigslist-renew.
Hard to say. I am unable to reproduce. These errors are coming from the web driver and seem to occur when the script is exiting and cleaning up the session.
Is there any other errors prior to these? Can you confirm you are using the local supported web driver Docker image? Can you also provide your config.xml
removing any personal information?
from craigslist-renew.
I don't know about the web driver, my config file is super basic, let me know if I'm missing something. I checked the logfile, here is the error that keeps coming after renewing two posts:
ERROR Something went wrong: Message: unknown error: session deleted because of page crash from tab crashed (Session info: headless chrome=115.0.5790.170)
Here are the contents of my config.yml file:
---
#
# Required parameters
#
email: REDACTED
password: REDACTED
logfile: /data/logs
renew_all: 1
from craigslist-renew.
It looks like this issue is related to the web driver running out of shared memory. By default, it uses such memory which is limited inside a Docker container. I just pushed a change to prevent the web driver from using shared memory. Let me know if this fixes your issue.
from craigslist-renew.
So I pulled the new image, and tried again. Now it does the same thing after 4 posts instead of 2.
ERROR Something went wrong: Message: unknown error: session deleted because of page crash from tab crashed (Session info: headless chrome=115.0.5790.170)
from craigslist-renew.
Are you sure you are running the latest image? The chromedriver version reported in the error you provided seems to be the one from the previous release.
$ docker pull jsetton/craigslist-renew:latest
latest: Pulling from jsetton/craigslist-renew
Digest: sha256:f439d71f2389929aea6bad930736ce0656091f30664f42d7ac8a9cbbaf47bda1
Status: Image is up to date for jsetton/craigslist-renew:latest
docker.io/jsetton/craigslist-renew:latest
$ docker run --rm --entrypoint "" jsetton/craigslist-renew:latest chromedriver --version
ChromeDriver 117.0.5938.62 (25a7172909a4cba7355365cf424d7d7eb35231f4-refs/branch-heads/5938@{#1146})
from craigslist-renew.
Related Issues (3)
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 craigslist-renew.