Steve Jackson Games - Site Navigation
Home General Info Follow Us Search Illuminator Store Forums What's New Other Games Ogre GURPS Munchkin Our Games: Home

Go Back   Steve Jackson Games Forums > Roleplaying > GURPS > GURPS Character Assistant

Reply
 
Thread Tools Display Modes
Old 04-26-2020, 05:11 PM   #1
benz72
 
benz72's Avatar
 
Join Date: Oct 2006
Location: Chagrin Falls
Default list of error codes and troubleshooting

GCASystem:AddItemFromDataFile: Error 5: Invalid procedure call or argument

I'm trying my hand at tailoring .gdfs for the first time and I get the above error. Google isn't pointing me anywhere to help troubleshoot. Is there an error code document somewhere that gives troubleshooting guidance?

Thank You
__________________
Benundefined
Life has a funny way of making sure you decide to leave the party just a few minutes too late to avoid trouble.
benz72 is offline   Reply With Quote
Old 04-27-2020, 04:44 PM   #2
Armin
GCA Prime
 
Armin's Avatar
 
Join Date: Aug 2004
Location: Portland, OR
Default Re: list of error codes and troubleshooting

I'm afraid there really isn't. Error trapping in the old dev system sucked, so catching and reporting sucked too. Often, it's difficult to even determine where the error actually happened if you are deep into a call stack.

That's something I'm really trying to improve *a lot* for the future, with the much better trapping available in .Net.

For now, it's just painful. Try to work in small blocks as best you can. Keep your eye on the Logging window, as sometimes GCA does manage to see something and put a note there before the crash happens, and that might help. This is especially likely if it's mismatched parens, for example.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23.
Armin is offline   Reply With Quote
Old 04-27-2020, 05:13 PM   #3
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: list of error codes and troubleshooting

Quote:
Originally Posted by benz72 View Post
GCASystem:AddItemFromDataFile: Error 5: Invalid procedure call or argument

I'm trying my hand at tailoring .gdfs for the first time and I get the above error. Google isn't pointing me anywhere to help troubleshoot. Is there an error code document somewhere that gives troubleshooting guidance?
In my experience the main reason for crash errors in data files is usually a math or @function() error in a trait you are adding to a character. If it's happening during initial character load it's probably in an attribute, since the math in attributes gets parsed when the character is created.

Syntax errors (mismatched parens or missing line continuation comma or underscore) are usually caught by the data file loading parser and filtered out.

If you're unsure of where an error is coming from then break the file into multiple files with one or a few traits in each file to rule out each in turn.
__________________
Eric B. Smith GURPS Data File Coordinator
GURPSLand
I shall pull the pin from this healing grenade and...
Kaboom-baya.
ericbsmith is offline   Reply With Quote
Old 05-01-2020, 02:51 PM   #4
benz72
 
benz72's Avatar
 
Join Date: Oct 2006
Location: Chagrin Falls
Default Re: list of error codes and troubleshooting

Quote:
Originally Posted by ericbsmith View Post
In my experience the main reason for crash errors in data files is usually a math or @function() error in a trait you are adding to a character. If it's happening during initial character load it's probably in an attribute, since the math in attributes gets parsed when the character is created.

Syntax errors (mismatched parens or missing line continuation comma or underscore) are usually caught by the data file loading parser and filtered out.

If you're unsure of where an error is coming from then break the file into multiple files with one or a few traits in each file to rule out each in turn.
Thank You,
It's a data file for a shadowrun conversion and I crash the program just trying to load it with the other book gdfs, so I don't think it's a character issue. I'll try bits and pieces. Have a great day.
__________________
Benundefined
Life has a funny way of making sure you decide to leave the party just a few minutes too late to avoid trouble.
benz72 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Fnords are Off
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:11 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.