Author Topic: Error requesting fuel **SOLVED - temporary fix**  (Read 2089 times)

bcrawley57

  • Newbie
  • *
  • Posts: 10
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #30 on: June 06, 2024, 06:55:56 pm »
Do you need the # prior to that line.  I have inserted the line, but still have the problem.

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#   127.0.0.1       localhost
#   ::1             localhost
#    127.0.0.1 api.eia.gov

Art69

  • Newbie
  • *
  • Posts: 17
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #31 on: June 06, 2024, 07:51:13 pm »
Do you need the # prior to that line.  I have inserted the line, but still have the problem.

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#   127.0.0.1       localhost
#   ::1             localhost
#    127.0.0.1 api.eia.gov

You don't have to put the symbol # in front of line. It say very clearly :  Additionally, comments (such as these) may be inserted on individual
 lines or following the machine name denoted by a '#' symbol.
So if you use # everything becomes a comment, which has no effect. Just put it without any symbol in front of it.
« Last Edit: June 06, 2024, 07:54:14 pm by Art69 »

MadManSK

  • Newbie
  • *
  • Posts: 3
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #32 on: June 06, 2024, 07:53:08 pm »
Hello Virtualis.
Thank you for the correction. But it still gives me an error when I refuel a larger amount into the 747... When the fuel comes in the second time, it gives an error and the coutal has to be restarted again.

Here is part of the panic.log dump"

problem raised by addon <unknown>
Traceback (most recent call last):
  File ".\common\fsm.py", line 73, in executeDoFuncToCompletion
  File ".\GSX\assistanceServices\__init__.py", line 3216, in do
UnboundLocalError: local variable 'simBriefFuelUnits' referenced before assignment


Can you fix it?

Well thank you.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #33 on: June 06, 2024, 10:17:55 pm »
But it still gives me an error when I refuel a larger amount into the 747... When the fuel comes in the second time, it gives an error and the coutal has to be restarted again.

That's a completely different issue that is not relevant to this thread and it's not fixed by this fix, which ONLY required to deal with some kind of change in behavior in the EIA website. But even if your error is different, it should also be fixed in the next update (being uploaded right now), since I surely checked the updated code and it has been fixed.

MadManSK

  • Newbie
  • *
  • Posts: 3
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #34 on: June 06, 2024, 10:44:06 pm »
Fine. Well thank you. I'm not a programmer, and until the fuel data from the eia website fell out, multiple fueling also worked for me.

That's why I put it together somehow...
May I know when I will be able to run the update? It's not working right now.

Thanks.

srlira

  • Newbie
  • *
  • Posts: 1
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #35 on: June 06, 2024, 11:50:20 pm »
Hello everyone! I'm having this problem when I request refueling at any airport : the addon <unknown> is causing the couatl scripting.

How do I solve this problem?

rhystj90

  • Newbie
  • *
  • Posts: 1
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #36 on: June 07, 2024, 12:01:35 am »
I am also having exactly the same issue as everyone else so me thinks this might not just be an "anti virus" issue.

As soon as you click request refuelling couatl crashes.

Same log, same error.......

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #37 on: June 07, 2024, 01:03:17 am »
Please DO NOT open new threads about a problem, when an identical thread is already opened, answered and fixed. I'm merging all the duplicate threads here, and I'll repeat the solution, so it stays on the last posts and it's easier to read:

There is error handling, but it only takes into account the fact the EIA website is down, not the API today started to returns weird values not according to their docs ( tested even in a simple browser).

We'll obviously fix this in the next update but, in the meantime, you can fix it by blocking the EIA.GOV website in your PC this way:

- Edit this file:

\Windows\System32\drivers\etc\hosts

and add this line as the last line of text:

127.0.0.1 api.eia.gov

IMPORTANT
If you use Notepad or any other editor, you MUST run the editor "As Administrator", otherwise you won't be allowed to edit the file.


This of course will be fixed without requiring this workaround, in the upcoming 3.0 update which is being deployed right now.

tstemmer

  • Newbie
  • *
  • Posts: 5
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #38 on: June 07, 2024, 01:57:52 pm »
Hi,

because v3 is released, we can delete the entry in the hosts file?

Best regards
Thomas

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Error requesting fuel **SOLVED - temporary fix**
« Reply #39 on: June 07, 2024, 03:12:54 pm »
Yes, is not required anymore.