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

Not giving the expected output #34

Open
davezaxh opened this issue Mar 14, 2022 · 15 comments
Open

Not giving the expected output #34

davezaxh opened this issue Mar 14, 2022 · 15 comments

Comments

@davezaxh
Copy link

davezaxh commented Mar 14, 2022

I recently tried using this program to post status of a particular plane on one of my Discord channels, but the issue is, it isn't giving any output.
On cross-verifying with adsb-exchange, although the plane being is in thr air it doesn't display any output, neither on the virtual machine nor
on the channel. If you could please look into this matter and let me if there's any wrong being done on my part, it would be
really helpful.

On running the program, the webhook set for bot alerts gives me a notification of it starting and therafter shows nothing on
the channel but this is the view from the instance

image

It isn't showing any flight-data even though the plane in question is still in the air.
image

Discord Channel Output
image

Thanks in advance✌️

@rcbonz
Copy link
Contributor

rcbonz commented Mar 14, 2022

Was the program running when the plane took off or landed? As far as I could understand, you won't get a notification if the plane is flying on on the ground when the program starts. You'll only get a notification when the plane take off or land while the program is running.

@davezaxh
Copy link
Author

Was the program running when the plane took off or landed? As far as I could understand, you won't get a notification if the plane is flying on on the ground when the program starts. You'll only get a notification when the plane take off or land while the program is running?

Yes, the plane did land and takeoff while the program was running. I thought it would display information such as flight atitude, autopilot enabled and so on but it isn't display anything useful at all 🤷

@rcbonz
Copy link
Contributor

rcbonz commented Mar 15, 2022

Was the program running when the plane took off or landed? As far as I could understand, you won't get a notification if the plane is flying on on the ground when the program starts. You'll only get a notification when the plane take off or land while the program is running?

Yes, the plane did land and takeoff while the program was running. I thought it would display information such as flight atitude, autopilot enabled and so on but it isn't display anything useful at all 🤷

OK, I'm running the program with that ICAO you are using (A16579) and as soon as it takes off I'll let you know here what the outputs are for me. So then we might figure if there's something wrong in your side or elsewhere. Could be ASDBX information that are not reliable.

Meanwhile, if you want to try this ICAO on your program: AE6A36, it's an USAF helicopter that have being very active, so it won't take long for you to find out what the outputs are for you.

B0nz

@rcbonz
Copy link
Contributor

rcbonz commented Mar 15, 2022

Was the program running when the plane took off or landed? As far as I could understand, you won't get a notification if the plane is flying on on the ground when the program starts. You'll only get a notification when the plane take off or land while the program is running?

Yes, the plane did land and takeoff while the program was running. I thought it would display information such as flight atitude, autopilot enabled and so on but it isn't display anything useful at all 🤷

OK, I'm running the program with that ICAO you are using (A16579) and as soon as it takes off I'll let you know here what the outputs are for me. So then we might figure if there's something wrong in your side or elsewhere. Could be ASDBX information that are not reliable.

Meanwhile, if you want to try this ICAO on your program: AE6A36, it's an USAF helicopter that have being very active, so it won't take long for you to find out what the outputs are for you.

B0nz

Well, plane took off and worked here. Probably something wrong there. Can you send ss or content of planet.ini?
IMG_20220315_175302_389

@davezaxh
Copy link
Author

Was the program running when the plane took off or landed? As far as I could understand, you won't get a notification if the plane is flying on on the ground when the program starts. You'll only get a notification when the plane take off or land while the program is running?

Yes, the plane did land and takeoff while the program was running. I thought it would display information such as flight atitude, autopilot enabled and so on but it isn't display anything useful at all 🤷

OK, I'm running the program with that ICAO you are using (A16579) and as soon as it takes off I'll let you know here what the outputs are for me. So then we might figure if there's something wrong in your side or elsewhere. Could be ASDBX information that are not reliable.

Meanwhile, if you want to try this ICAO on your program: AE6A36, it's an USAF helicopter that have being very active, so it won't take long for you to find out what the outputs are for you.

B0nz

Well, plane took off and worked here. Probably something wrong there. Can you send ss or content of planet.ini?
IMG_20220315_175302_389

For some reason it didn't work for me? What application are you using this with? Discord, Twitter or Pushbullet.

@rcbonz
Copy link
Contributor

rcbonz commented Mar 16, 2022

Was the program running when the plane took off or landed? As far as I could understand, you won't get a notification if the plane is flying on on the ground when the program starts. You'll only get a notification when the plane take off or land while the program is running?

Yes, the plane did land and takeoff while the program was running. I thought it would display information such as flight atitude, autopilot enabled and so on but it isn't display anything useful at all 🤷

OK, I'm running the program with that ICAO you are using (A16579) and as soon as it takes off I'll let you know here what the outputs are for me. So then we might figure if there's something wrong in your side or elsewhere. Could be ASDBX information that are not reliable.
Meanwhile, if you want to try this ICAO on your program: AE6A36, it's an USAF helicopter that have being very active, so it won't take long for you to find out what the outputs are for you.
B0nz

Well, plane took off and worked here. Probably something wrong there. Can you send ss or content of planet.ini?
IMG_20220315_175302_389

For some reason it didn't work for me? What application are you using this with? Discord, Twitter or Pushbullet.

I'm using Twitter and Telegram (Telegram I coded myself, it's not available in this repository, at least yet), but I get output information in terminal and that image is the one is sent to Twitter and Telegram, not the Tweet. Can you share the content of you Planet.ini without sensitive informations, such as API and so on?

@davezaxh
Copy link
Author

Was the program running when the plane took off or landed? As far as I could understand, you won't get a notification if the plane is flying on on the ground when the program starts. You'll only get a notification when the plane take off or land while the program is running?

Yes, the plane did land and takeoff while the program was running. I thought it would display information such as flight atitude, autopilot enabled and so on but it isn't display anything useful at all 🤷

OK, I'm running the program with that ICAO you are using (A16579) and as soon as it takes off I'll let you know here what the outputs are for me. So then we might figure if there's something wrong in your side or elsewhere. Could be ASDBX information that are not reliable.
Meanwhile, if you want to try this ICAO on your program: AE6A36, it's an USAF helicopter that have being very active, so it won't take long for you to find out what the outputs are for you.
B0nz

Well, plane took off and worked here. Probably something wrong there. Can you send ss or content of planet.ini?
IMG_20220315_175302_389

For some reason it didn't work for me? What application are you using this with? Discord, Twitter or Pushbullet.

I'm using Twitter and Telegram (Telegram I coded myself, it's not available in this repository, at least yet), but I get output information in terminal and that image is the one is sent to Twitter and Telegram, not the Tweet. Can you share the content of you Planet.ini without sensitive informations, such as API and so on?

IMG_20220316_130520~2.jpg

@rcbonz
Copy link
Contributor

rcbonz commented Mar 16, 2022

Everything looks correct. I'd suggest you to start over, git clone again and so on to see if it works. Did you use the "pipenv run python main" (what actually works for me is 'pipenv run python3 main.py')?

@davezaxh
Copy link
Author

davezaxh commented Mar 17, 2022

Everything looks correct. I'd suggest you to start over, git clone again and so on to see if it works. Did you use the "pipenv run python main" (what actually works for me is 'pipenv run python3 main.py')?

I ran the following commands:

  1. pipenv run python3 main.py
  2. pipenv run python main.py
  3. python3 main.py
  4. python main.py

All of the above gave me the same results

It doesn't work!

@davezaxh
Copy link
Author

If you don't mind could you put up a screenshot of your mainconf.ini and planeconf.ini while censoring the private information so that I could compare and see what's wrong?

@rcbonz
Copy link
Contributor

rcbonz commented Mar 24, 2022

Sorry taking so long to answer, busy days irl.
Captura de Tela 2022-03-24 às 11 30 36
Captura de Tela 2022-03-24 às 11 28 50

@davezaxh
Copy link
Author

davezaxh commented Mar 25, 2022

You might have revealed your ADSB-Exchange API Key, you might want to change it

Sorry taking so long to answer, busy days irl. Captura de Tela 2022-03-24 às 11 30 36 Captura de Tela 2022-03-24 às 11 28 50

@davezaxh
Copy link
Author

davezaxh commented Mar 26, 2022

Was the program running when the plane took off or landed? As far as I could understand, you won't get a notification if the plane is flying on on the ground when the program starts. You'll only get a notification when the plane take off or land while the program is running?

Yes, the plane did land and takeoff while the program was running. I thought it would display information such as flight atitude, autopilot enabled and so on but it isn't display anything useful at all 🤷

OK, I'm running the program with that ICAO you are using (A16579) and as soon as it takes off I'll let you know here what the outputs are for me. So then we might figure if there's something wrong in your side or elsewhere. Could be ASDBX information that are not reliable.
Meanwhile, if you want to try this ICAO on your program: AE6A36, it's an USAF helicopter that have being very active, so it won't take long for you to find out what the outputs are for you.
B0nz

Well, plane took off and worked here. Probably something wrong there. Can you send ss or content of planet.ini?
IMG_20220315_175302_389

For some reason it didn't work for me? What application are you using this with? Discord, Twitter or Pushbullet.

I'm using Twitter and Telegram (Telegram I coded myself, it's not available in this repository, at least yet), but I get output information in terminal and that image is the one is sent to Twitter and Telegram, not the Tweet. Can you share the content of you Planet.ini without sensitive informations, such as API and so on?

Could you upload your code onto a private repo and then add me a collaborator?
I just wanted to understand what exactly is going wrong.

@tacodestroyer
Copy link
Contributor

Anyone still running into this issue? Im having a similar issue but with Discord. Thanks!

@davezaxh
Copy link
Author

davezaxh commented Oct 5, 2022

Anyone still running into this issue? Im having a similar issue but with Discord. Thanks!

Are you able to run it with other mediums?

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

3 participants