News How to Build an Airplane Tracker with Raspberry Pi

Mar 13, 2021
3
0
10
0
Amazing!

I live very close to a fairly large airport and was able to see several planes landing and taking off in addition to the ones just going overhead.

It was even more fun to enter the flight number into a flight tracker program and see the origin and destination info.

Even my wife thought it was interesting.
 
Last edited:
Mar 13, 2021
3
0
10
0
Hello guys,
if I type in bash entrypoint.sh, a window starts to open for a second. Then I get a message like "FileNotFoundError: [Errno 2] No such file or directory : '/home/pi/raspberry_pi_flight_tracker/src/../data'
The same thing happened to me the first time I tried it so I just manually created the missing 'data' directory and now everything works.
 
Mar 13, 2021
3
0
10
0
Where did you place the folder and with what permissions?
The error message I received had the path '/home/pi/raspberry_pi_flight_tracker/src/../data' . The data directory should be in the main project directory '/home/pi/raspberry_pi_flight_tracker'

Since this is apparently for simple data files I didn't worry about permissions and just took the defaults. Once the directory is created, the programs will be able to create all the data files they need to run.
 
Mar 20, 2021
2
0
10
0
Trying to build, but in can't locate the packages for limesuite, liblimesuite-dev, .....

Can you point me in the correct location(s)?
 
Mar 22, 2021
1
0
10
0
The error message I received had the path '/home/pi/raspberry_pi_flight_tracker/src/../data' . The data directory should be in the main project directory '/home/pi/raspberry_pi_flight_tracker'

Since this is apparently for simple data files I didn't worry about permissions and just took the defaults. Once the directory is created, the programs will be able to create all the data files they need to run.
Im also getting a similar message when I try to run the program. Here is the dump from it. Any help is appreciated. Im a total newb to anything non widows based


pi@raspberrypi:~/raspberry_pi_flight_tracker $ bash entrypoint.sh
Starting Server...
Starting Map...
pygame 2.0.1 (SDL 2.0.9, Python 3.7.3)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "src/app.py", line 10, in <module>
main()
File "src/app.py", line 6, in main
renderer.run_screen()
File "/home/pi/raspberry_pi_flight_tracker/src/renderer.py", line 43, in run_screen
for aircraft_json in decoder.get_aircraft():
File "/home/pi/raspberry_pi_flight_tracker/src/decoder.py", line 23, in get_aircraft
clean_up_directory()
File "/home/pi/raspberry_pi_flight_tracker/src/decoder.py", line 16, in clean_up_directory
for file_name in os.listdir(get_data_directory_path()):
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/raspberry_pi_flight_tracker/src/../data'
 
Mar 20, 2021
2
0
10
0
Trying to build, but in can't locate the packages for limesuite, liblimesuite-dev, .....

Can you point me in the correct location(s)?
Had to update to Buster and the located all the files. However also needed to update PyGames manually to get the graphics to work properly.
 
Apr 22, 2021
1
0
10
0
Even after creating the data directory, the file aircraft.json cannot be found. Cool project, but this tutorial is not working after following the directions.
 

ASK THE COMMUNITY

TRENDING THREADS