plane-notify icon indicating copy to clipboard operation
plane-notify copied to clipboard

Not giving the expected output

Open davezaxh opened this issue 2 years ago • 15 comments

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✌️

davezaxh avatar Mar 14 '22 18:03 davezaxh

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.

rcbonz avatar Mar 14 '22 19:03 rcbonz

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 🤷

davezaxh avatar Mar 15 '22 05:03 davezaxh

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 avatar Mar 15 '22 14:03 rcbonz

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

rcbonz avatar Mar 15 '22 21:03 rcbonz

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.

davezaxh avatar Mar 16 '22 07:03 davezaxh

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?

rcbonz avatar Mar 16 '22 12:03 rcbonz

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

davezaxh avatar Mar 16 '22 13:03 davezaxh

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')?

rcbonz avatar Mar 16 '22 15:03 rcbonz

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 avatar Mar 17 '22 04:03 davezaxh

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?

davezaxh avatar Mar 17 '22 20:03 davezaxh

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

rcbonz avatar Mar 24 '22 14:03 rcbonz

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 avatar Mar 25 '22 12:03 davezaxh

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.

davezaxh avatar Mar 26 '22 05:03 davezaxh

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

tacodestroyer avatar Oct 01 '22 03:10 tacodestroyer

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

Are you able to run it with other mediums?

davezaxh avatar Oct 05 '22 09:10 davezaxh