kevinabrandon / AboveTustin

ADS-B Twitter Bot. Uses dump1090-mutability to track airplanes and then tweets whenever an airplane flies overhead.
MIT License
72 stars 21 forks source link

No screenshot on tweets, Selenium timeout exception #11

Closed ktul584 closed 6 years ago

ktul584 commented 7 years ago

Getting the following error when I start AboveTustin: class 'selenium.common.exceptions.TimeoutException

I appreciate the help!

kevinabrandon commented 6 years ago

@ktul584 did you ever resolve this? I've never seen the error on my system.

ktul584 commented 6 years ago

Hey brandon! Sorry this has been on the back burner for awhile. I started everything from a fresh install today using Stretch, and still getting the error:

***** Restarting AboveTustin  2017-11-18 16:56:20.064071883+00:00

will crop
getting web page...
waiting for page to load...
exception in loadmap()
<class 'selenium.common.exceptions.TimeoutException'>
unable to load browser!
kevinabrandon commented 6 years ago

A few thoughts...

First, I very recently made some stability updates so make sure you have the latest code.

Second there should be a ghostscript.log file created... take a peek in there for possible hints.

Third, I just reinstalled the project on a brand new raspberry pi 3 using jprochazka’s adsb-receiver project. However I ran into some problems which I detailed here.

Good luck!

ktul584 commented 6 years ago

Here's what's in ghostscript.log:

phantomjs://platform/console++.js:263 in error
[ERROR - 2017-11-18T19:42:24.908Z] WebElementLocator - _handleLocateCommand - Element(s) NOT Found: GAVE UP. Search Stop Time: 1511034144862
kevinabrandon commented 6 years ago

So the script is looking for the reset map link on the dump1090-mutability page. Then it looks for the zoom button. Are you using something other than dump1090 mutability?

ktul584 commented 6 years ago

I am using dump1090-FA, should I switch to mutability?

kevinabrandon commented 6 years ago

yeah, I've never used the dump1090-fa branch, so I don't know how it works. I've had a few people ask about supporting it though. Can you do at least a quick check for me? Go to the directory AboveTustin is installed and run the following command: python3 flightdata.py Does it immediately crash? Or does it show a table of current flights (make sure the terminal window is large enough to view properly)?

If that program works, supporting the dump1090-fa branch shouldn't be that hard.

ktul584 commented 6 years ago

I wound up switching to mutability and that fixed it