Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airports file not found #9

Closed
micahclaussen opened this issue Jul 4, 2020 · 2 comments
Closed

Airports file not found #9

micahclaussen opened this issue Jul 4, 2020 · 2 comments

Comments

@micahclaussen
Copy link

When running “sudo python3 metar.py” from the METARMap directory, it says ‘/home/pi/airports’ can’t be found...

The airports file is listed when you input “ls” into the METARMap directory along with the other files, “crontab, license, lightsoff.sh” etc...

Is this where the airport list should be? Thanks again for your help.

@prueker
Copy link
Owner

prueker commented Jul 4, 2020

So it sounds like you have everthing in a subfolder "METARMap" right now.
The script is set up to run directly in the root user folder (/home/pi).

The easiest thing will be to move all the files into the root:
Go into the METARMap folder you have, then type
mv * ../
This will move all the files in the current folder into the parent folder.

then change into the /home/pi folder using cd command.

@micahclaussen
Copy link
Author

Thanks so much for your help. After 2 weeks of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants