GCP 2.2 Startup Issue

Here is where the coffee machine and Coke machine are kept. Please clean up after yourself and do not remove the magazines from this area. A good place to exchange thoughts with Operations personel and other pilots.

Moderators: Staff, HR, Flight Ops

Post Reply
User avatar
1691
Member with over 30 posts
Posts: 1059
www.meble-kuchenne.warszawa.pl
Joined: Mon Aug 20, 2007 8:36 am
Location: Long Island, NY
Contact:

GCP 2.2 Startup Issue

Post by 1691 »

Hi Justin,

I started a new topic so there was some separation between the different issues. My problem is as soon as I start GCP, I get an error and a dialog box stating:

ERROR IN FORM1_LOAD

ATTEMPTED TO DIVIDE BY ZERO.

And then an OK to select.

After selecting OK, GCP runs, but does not download any airline, A/C type or registration number info, whether automatically like it is supposed to or when forcing it manually. It does however dowload flight info. Also, whether automatically or manually entering destination info, it still will not allow GCP to connect, stating it needs all the info in the desination fields filled out, even when they are. All user data is set up correctly. This issue was as a result of both the 2.2 upgrade and the 2.2 full install.
Allan Burek-1691
Coordinator, Aircraft Maintenance Operations
mx@globecargova.org

Image
Live Flight Deck Camera
Greg Goodavish

Post by Greg Goodavish »

I am getting this as well.
Greg Goodavish

Post by Greg Goodavish »

OK, I deleted the GCP.ini file, per instructions in my other post. That took care of this problem as well, and now I can download flights, AC, etc. Try it, you'll like it! :D
User avatar
nwadc10
Site Admin
Posts: 3948
Joined: Wed Jun 09, 2004 10:17 pm
Location: Ramsey, MN, USA

Post by nwadc10 »

This is an interesting problem considering there's no division taking place in FORM1_LOAD...but that's how programming goes. Because it's not giving you airline and AC Type information the problem must be somewhere in there. As for the registration numbers I suspect they are being downloaded but in order for the dropdown box to be populated with the reg numbers an AC Type must be selected. The AC Type, among other things, is a filter so that only reg numbers of that type will appear in the registration dropdown box.

Go to your GCP folder and make sure airlines.dat and aircrafttypes.dat files are there. If they aren't GCP would normally give you a normal popup box and allow you to continue w/ no problems (other than no airline or aircraft types) so I'm not sure yet why this error is occuring. I added some code to this update I'll release today to help pinpoint the problem area.

Justin
Justin Erickson, Captain #1040
Chief Executive Officer
Globe Cargo PIREP (GCP) Developer
ceo-at-globecargova.org
Vatsim ID: 871725

Image
User avatar
1691
Member with over 30 posts
Posts: 1059
Joined: Mon Aug 20, 2007 8:36 am
Location: Long Island, NY
Contact:

Post by 1691 »

Tried delete of gcp.ini and other than having to redo the initial setup again, all I get is the same error. Interestingly, when I try to force the download of flights/aircraft, it says it had an error with the webhost. Other than that, nothing changes. Still no drop down selections for aircraft registration, or airline.
Allan Burek-1691
Coordinator, Aircraft Maintenance Operations
mx@globecargova.org

Image
Live Flight Deck Camera
User avatar
nwadc10
Site Admin
Posts: 3948
Joined: Wed Jun 09, 2004 10:17 pm
Location: Ramsey, MN, USA

Post by nwadc10 »

We got this problem fixed. It was a combination of only 1 flight being in the logbook and the TD rate being 0. To get the average TD rate it had to use the 0 to divide which is why the error was coming up. The code has been adjusted to prevent this error and will be included in the update today.
Justin Erickson, Captain #1040
Chief Executive Officer
Globe Cargo PIREP (GCP) Developer
ceo-at-globecargova.org
Vatsim ID: 871725

Image
Post Reply