|
||||
|
|
OOTP 25 - General Discussions Everything about the brand new 25th Anniversary Edition of Out of the Park Baseball - officially licensed by MLB, the MLBPA, KBO and the Baseball Hall of Fame. |
![]() |
|
Thread Tools |
![]() |
#1 |
Minors (Rookie Ball)
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
|
Importing Schedule
Ok so I've created my own schedule for a 32 team 156 game schedule and have followed this thread from 9 years ago. I have everything exactly like I want it, but when I go to import it I get a parse error and it will not load. Is there anyone that can help me out. Either by walking me through it step by step or that I could share the file with and do it themself?
|
![]() |
![]() |
![]() |
#2 |
Hall Of Famer
Join Date: Jun 2008
Location: Belchertown, MA, USA
Posts: 4,504
|
Upload the file as an attachment, and I'll take a look through it to see what went wrong.
|
![]() |
![]() |
![]() |
#3 |
Minors (Rookie Ball)
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
|
I can't even open it in Open Office now, so I'm not sure what happened between last night and this morning.
|
![]() |
![]() |
![]() |
#4 |
Minors (Rookie Ball)
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
|
Here is my google sheet file that I'm making everything on, but I can't get Open Office to open the files that are already in the game.
|
![]() |
![]() |
![]() |
#5 |
Minors (Double A)
Join Date: Aug 2019
Location: New Jersey
Posts: 129
|
When I get a parse error on a schedule file, I like to import small sections of the file at a time to localize the error. Of course you first back up the original file, then take the original file and import, say, just the first 40 days of the schedule. If you don’t get an error, then you know the problem isn’t in the first forty days. Then I’ll import days 41-80, and if I get an error, I know the problem is in days 41-80. So then I’ll try to pinpoint further. I’ll import days 41-50, and if I get an error there, I know the problem will be in those ten days. Usually by the time I pinpoint the error to ten days, that’s simple enough where I can spot the missing /> or the extra quotation mark. Once I find the error in day 44, for example, I go back to my full backup schedule, correct day 44, then the schedule should import correctly.
|
![]() |
![]() |
![]() |
#6 | |
Minors (Rookie Ball)
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
|
Quote:
I'll try this out. It said it was in line 2, but not sure if that actually correlates to the problem. |
|
![]() |
![]() |
![]() |
#7 |
All Star Starter
Join Date: Jan 2008
Posts: 1,459
|
In the schedule line there's no space before the games_per_team. Is that a problem? I'm not sure how picky the import is on things like that.
|
![]() |
![]() |
![]() |
#8 |
Minors (Double A)
Join Date: Aug 2019
Location: New Jersey
Posts: 129
|
This is the format for how the entries in an .lsdl file should look:
<?xml version="1.0" encoding="ISO-8859-1"?> <SCHEDULE type="ILY_BGN_G120_SL1D2T5T5SL2D2T5T5" inter_league="1" balanced_games="0" games_per_team="120" preferred_start_day="2"> <GAMES> <GAME day="1" time="1405" away="17" home="16" /> <GAME day="1" time="1605" away="11" home="13" /> <GAME day="1" time="1705" away="9" home="10" /> <GAME day="1" time="1805" away="18" home="19" /> The syntax in your file is wrong for each line. Too many blank spaces, and at the end of every line you should have an endquote, space, />. You have space, endquote, />. Also, at the end of your file you have about 700 entries of <GAME day=" " time=" " away=" " home=" "/>. Get rid of those. A blank day, time, home team and away team serves no purpose. |
![]() |
![]() |
![]() |
#9 |
Hall Of Famer
Join Date: Jun 2008
Location: Belchertown, MA, USA
Posts: 4,504
|
Fixed. Line 2 wasn't the only issue; there was extra spacing on most lines (as seen in the post above) and games with no teams at the bottom, which I did my best to correct.
Keep in mind that all the other issues on the schedule (such as oddly placed off days) still exist, as I didn't touch the games themselves except to correct obvious errors. |
![]() |
![]() |
![]() |
#10 |
Minors (Rookie Ball)
Join Date: Sep 2020
Location: Arkansas, USA
Posts: 45
|
Not sure what happened to the schedule days. Was supposed to be Tues-Sun with every Mon off.
I'll have to go back and fix that in my spreadsheet. Thanks for the info and the work that y'all put in to help me. |
![]() |
![]() |
![]() |
#11 | |
Hall Of Famer
Join Date: Feb 2002
Location: Up There
Posts: 15,644
|
Quote:
|
|
![]() |
![]() |
![]() |
Bookmarks |
Tags |
schedule |
|
|