|
|
#1 (permalink) |
|
Minors (Rookie Ball)
Join Date: Jul 2003
Location: Ohio
Posts: 35
Thanks: 0
Thanked 0x in 0 posts
|
Catobase error
I'm having a problem with catobase. While importing stats I get an error saying "There is a problem importing line 2 in the file \league.cvs. Open this file in Notepad, uncheck Word Wrap. Examine the above line for odd characters, fix, and try again".
Well here is my league.cvs: Code:
Name(0),CurDay,GamesPS,D,M,Y,WD,BOX Nr,SD,# of Teams,# of Leagues(10),Roster Limit,LY WS Winner,Post Season?,Over?,Rookie Draft?,S Draft?,Financial?,FA Period?,PS Round 1 Name,PS Round 2 Name(20),PS Round 3 Name,PS Round 4 Name,POY Award Name,BOY Award Name,Rookie Award Name,Award 4 Name,Makelog?,L1 Name,L1 Abbrev,L1 Div1 Name(30),L1 Div2 Name,L1 Div3 Name,L1 Div4 Name,L1 DH?,L1 Injury?,L1 # of Divisions,L1 NR,L1 EndNr,L1 Snr,L2 Name(40),L2 Abbrev,L2 Div1 Name,L2 Div2 Name,L2 Div3 Name,L2 Div4 Name,L2 DH?,L2 Injury?,L2 # of Divisions,L2 NR,L2 EndNr(50),L2 SNr,Era Avg,Era AB,Era PA,Era H,Era D,Era T,Era HR,Era BB,Era K(60),Era HBP,Avg2,ERA2,Max Cash,SimMinor?,Coaches?,HumanTeam,TradeFreq,CurEra,PbPSpeed(70),InjFreq,ST?,Draft?,Salary Cap,Ratings,PosFatigue?,PS #1 Length,PS #2 Length,PS #3 Length,PS #4 Length(80),PS #5 Length,PS Round,PS MaxRound,PS Teams Left,HOF h1,HOF hr1,HOF h2,HOF w1,HOF s1,HOF w2(90),All Star,FA Round,Arbitration?,June Draft,Coach FA Period?,Coach FA Offered?,Coach FA Round,Ammy Draft Rounds,Min Salary,Playoff Mode(100),Waiver Period, Show Stars?,New Engine?,Scale Ability,Scale Talent,Scale Other,Min Days on Roster,Reg Roster Size,Sept Roster Size,40 Man Roster?(110),Rule 5 Draft?,FA Compensation?,Waivers?,Minor League FAs?,Minor Options?(115) "CAREER 2004",304,162,31,10,2004,7,2472,89,30,2,25,19,1,1,0,0,1,0,"Divisional Series","League Series","World Series","","Cy Young Award","Most Valuable Player Award","Rookie of the Year Award","Gold Glove Award",0,"American League","AL","East","Central","West","Division 4",1,1,3,0,14,1,"National League","NL","East","Central","West","Division 4",0,1,3,0,30,15,0.261,165582,183574,43272,9000,1650,5059,16246,31394,1746,0.300,3.50,20000000,1,0,0,2,5,3,3,0,0,0,0,1,5,7,7,0,0,3,3,2,3000,500,2500,300,600,250,194,1,0,1,0,0,1,32778,210000,0,3,1,1,3,3,3,172,25,0,1,1,0,1,0,1 Last edited by sparky; 07-10-2004 at 12:58 AM. |
|
|
|
|
#2 (permalink) |
|
Hall Of Famer
Join Date: May 2002
Location: Grand Forks, ND
Posts: 2,788
Thanks: 0
Thanked 83x in 46 posts
|
After looking at one of my league.csv files, the only thing I could suggest is removing the blank spaces. I don't know if that could be it, but I noticed my file did not have those.
|
|
|
|
|
#4 (permalink) |
|
Minors (Double A)
Join Date: Jan 2004
Posts: 194
Thanks: 0
Thanked 0x in 0 posts
|
Someone else sent me data files with this same problem and had the same number (32778). The database cannot handle a value over 32767 for draft rounds. I'm not sure how values like that get in there. I don't think anyone would do that on purpose. I'll add a check in the code to fix this.
__________________
CatoBase Home |
|
|
|
|
#5 (permalink) |
|
Minors (Rookie Ball)
Join Date: Jul 2003
Location: Ohio
Posts: 35
Thanks: 0
Thanked 0x in 0 posts
|
Actually, after i fixed this and ran catobase, I checked in OOTP to see how many rounds there were and it was 32767. So it may not be a problem with catobase, but a bug in OOTP.
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|