Quote:
Originally posted by Ankit
I am getting a "subscript out of range" error when trying to import the All-Stars. The stats imported fine, as did the team info. When I go into Enter/Edit All-Stars and click on Import All-Stars. I get the error. Same scenario when I go into Enter/Edit Awards.
The error is "new" because after searching this message board for solution, I found no one had this problem where I am having it. Also, team names and abbreviations are accurate. I am using this on Carlton's 1901 league file.
|
Were the number or names of teams reduced/changed during this season? The out of range error means that the DB is expecting an array of more than what you currently have, and if the team info on the all star html does not match the team info you imported on the CSV files that would result in this kind of error. I guess it is possible that if a player was deleted something similar could occur but I suspect this is related to the number of teams or team names changing. Note that if the team ID changed during the year (even at the very beginning of the year) that could also result in this kind of error. One work around is to input the all stars manually as the error in this case (if the above was true) would be in the OOTP html you import the all stars from.
The second issue (awards import) might be related to the same issue, or it might be related to the DB array error that was caused by trying to import the allstars. If I were you I would manually add the allstars and awards this year. If the team name/id or number of teams was the problem then this won't be a problem after this season.