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.
GCP 2.2 Startup Issue
Moderators: Staff, HR, Flight Ops
- 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
Allan Burek-1691
Coordinator, Aircraft Maintenance Operations
mx@globecargova.org
Live Flight Deck Camera
Coordinator, Aircraft Maintenance Operations
mx@globecargova.org
Live Flight Deck Camera
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
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
Chief Executive Officer
Globe Cargo PIREP (GCP) Developer
ceo-at-globecargova.org
Vatsim ID: 871725
- 1691
- Member with over 30 posts
- Posts: 1059
- Joined: Mon Aug 20, 2007 8:36 am
- Location: Long Island, NY
- Contact:
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
Live Flight Deck Camera
Coordinator, Aircraft Maintenance Operations
mx@globecargova.org
Live Flight Deck Camera
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
Chief Executive Officer
Globe Cargo PIREP (GCP) Developer
ceo-at-globecargova.org
Vatsim ID: 871725