View Single Post
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