Comments (4)
I was able to get chromedriver installed and validated it is working. I have chromedriver in /usr/local/bin with the updated config.json
config.json
{
"notification_urls": "",
"notification_level": 1,
"retrieval_interval": 24,
"accounts": [
{
"username": "todd",
"password": "password"
}
],
"chrome_version": 112,
"chromedriver_path": "/usr/local/bin/chromedriver",
"flights": []
}
Output
tsimmon8@UTO-D6JWVF12VJ auto-southwest-check-in % python3 southwest.py --verbose
2023-04-14 22:21:01 DEBUG MainProcess[log]: Initialized the application
2023-04-14 22:21:01 DEBUG MainProcess[main]: Called with 0 arguments
2023-04-14 22:21:01 DEBUG MainProcess[config]: Reading the configuration file
2023-04-14 22:21:01 DEBUG MainProcess[config]: Adding 1 accounts from configuration file
2023-04-14 22:21:01 DEBUG MainProcess[config]: Setting chrome version to 112
2023-04-14 22:21:01 DEBUG MainProcess[config]: Setting custom Chromedriver path
2023-04-14 22:21:01 DEBUG MainProcess[config]: Adding 0 flights from configuration file
2023-04-14 22:21:01 DEBUG MainProcess[config]: Setting notification level to 1
2023-04-14 22:21:01 DEBUG MainProcess[config]: Using 1 notification services
2023-04-14 22:21:01 DEBUG MainProcess[config]: Setting retrieval interval to 24 hours
2023-04-14 22:21:01 DEBUG MainProcess[main]: Monitoring 1 accounts and 0 flights
2023-04-14 22:21:02 DEBUG Process-1[flight_retriever]: Retrieving flights for account
2023-04-14 22:21:02 DEBUG Process-1[webdriver]: Starting webdriver for current session
Process Process-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/tsimmon8/Automation Projects/Southwest Checkin/auto-southwest-check-in/lib/flight_retriever.py", line 64, in monitor_account
flights = self._get_flights()
^^^^^^^^^^^^^^^^^^^
File "/Users/tsimmon8/Automation Projects/Southwest Checkin/auto-southwest-check-in/lib/flight_retriever.py", line 85, in _get_flights
flights = webdriver.get_flights(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/tsimmon8/Automation Projects/Southwest Checkin/auto-southwest-check-in/lib/webdriver.py", line 90, in get_flights
driver = self._get_driver()
^^^^^^^^^^^^^^^^^^
File "/Users/tsimmon8/Automation Projects/Southwest Checkin/auto-southwest-check-in/lib/webdriver.py", line 140, in _get_driver
driver = Chrome(
^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/seleniumwire/undetected_chromedriver/webdriver.py", line 61, in init
super().init(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/init.py", line 429, in init
super(Chrome, self).init(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 80, in init
super().init(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 101, in init
self.service.start()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 104, in start
self.assert_process_still_running()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 117, in assert_process_still_running
raise WebDriverException(f"Service {self.path} unexpectedly exited. Status code was: {return_code}")
selenium.common.exceptions.WebDriverException: Message: Service /usr/local/bin/chromedriver unexpectedly exited. Status code was: -9
from auto-southwest-check-in.
Hi. What version of certifi
do you have? You can find that out by running pip show certifi
. You can try upgrading that to the latest version to see if that fixes the certificate issue (pip install --upgrade certifi
).
Iām not sure why the second error is happening, but it might be because of the SSL error too.
from auto-southwest-check-in.
Hey @toddhsimmons. Have you been able to try my suggestions above yet?
from auto-southwest-check-in.
Closing this due to inactivity. Please reopen this issue again if the problem still occurs after trying my suggestions.
from auto-southwest-check-in.
Related Issues (20)
- Add account / reservation level notification settings HOT 2
- Introduce a custom POST endpoint for "other" notifications HOT 1
- Headers not present on some requests HOT 12
- Reservation monitor hung with lock HOT 6
- Check-in attempt occurred 3 minutes late (didn't sleep computer) HOT 8
- Occasionally getting NTPExceptions - uncaught HOT 7
- "ERROR__AIR_TRAVEL__BEFORE_CHECKIN_WINDOW" on returning flight in a round trip reservation HOT 7
- Python 3.8 unable to install requirements on rocky linux HOT 3
- ModuleNotFoundError HOT 3
- Auto-southwest-check-in attempts to checkin for already traveled leg HOT 3
- 2nd flight on same day didn't checkin successfully HOT 10
- log to stdout HOT 11
- Failed to check in to flight [CONF#] for [NAME]. Reason: Bad Request 400. HOT 3
- 403 and 429 Errors Thread HOT 188
- This should not be GET request as this url is only for POST HOT 14
- Develop branch: No element present exception during login HOT 31
- Notification Level for Check In only HOT 5
- Syntax Error HOT 2
- Webdriver times out HOT 18
- VALIDATION__NO_BOUNDS_TO_CHANGE 400 Error HOT 12
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 auto-southwest-check-in.