Home | Webstore
Latest News: OOTP Update 20.6 - OOTP 20 Available - FHM 6 Available

FHM 6 Available Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 20 > OOTP Mods

OOTP Mods Logos, roster packs, historical databases, OOTP tools, FaceGen files... it's all here!

Reply
 
Thread Tools
Old 07-10-2009, 11:48 PM   #41
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Quote:
Originally Posted by endgame View Post
My probably useless update of the night. Installed fine, picked up my first baseline without error and will establish another baseline tonight or tomorrow and check out the routines. Should I wait for the new .exe?
Nope, go ahead EG. These problems seem to be Afino specific. The only thing I'll be adding for the next build is error handling on the .csv import.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 12:07 AM   #42
endgame
Hall Of Famer
 
endgame's Avatar
 
Join Date: Aug 2002
Posts: 16,473
Thanks: 4,370
Thanked 4,044x in 2,179 posts
Quote:
Originally Posted by Neags23 View Post
Nope, go ahead EG. These problems seem to be Afino specific. The only thing I'll be adding for the next build is error handling on the .csv import.
Okay, then. Expect me to be posting every little thing when it comes up - if it does - so I can help with the polishing. Not that it doesn't shine already, but we want it sparklin', don't we?
__________________
"Try again. Fail again. Fail better." -- Samuel Beckett
_____________________________________________
endgame is offline   Reply With Quote
Old 07-11-2009, 12:14 AM   #43
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Quote:
Originally Posted by endgame View Post
Okay, then. Expect me to be posting every little thing when it comes up - if it does - so I can help with the polishing. Not that it doesn't shine already, but we want it sparklin', don't we?
Absolutely. Definitely let me know of any issues, no matter how small.

Also always feel free to make suggestions. I'm all for making improvements.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 12:18 AM   #44
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Afino, I've uploaded a new set of files here. I didn't feel like figuring out which files you definitely needed new versions of and which you could leave alone. So just overwrite them all.

If all goes as I hope, you will either get a pop up error message, or you will get a file written to your C:\ called "devTrackerErrors.txt". Open that sucker up and let me know what it says.

You'll almost definitely get past the players.csv this time, as the errors are getting caught and bypassed. This doesn't mean the program will work, because by bypassing the errors, it's not writing the .csv files to the necessary tables the program uses. But at least you'll get to see the interface! (hopefully)

Good luck again!
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 09:39 AM   #45
Afino
Hall Of Famer
 
Afino's Avatar
 
Join Date: Sep 2008
Location: Buffalo, NY
Posts: 3,828
Blog Entries: 2
Thanks: 1,246
Thanked 702x in 426 posts
Quote:
Originally Posted by Neags23 View Post
Afino, I've uploaded a new set of files here. I didn't feel like figuring out which files you definitely needed new versions of and which you could leave alone. So just overwrite them all.

If all goes as I hope, you will either get a pop up error message, or you will get a file written to your C:\ called "devTrackerErrors.txt". Open that sucker up and let me know what it says.

You'll almost definitely get past the players.csv this time, as the errors are getting caught and bypassed. This doesn't mean the program will work, because by bypassing the errors, it's not writing the .csv files to the necessary tables the program uses. But at least you'll get to see the interface! (hopefully)

Good luck again!
Well, somewhat good news this time.

I've gotten all the way to the leagues.csv before it craps out on me! I don't see a text file, but here is the problem details.

This is using my own league. With your test league, it gets one step further, loading the previous baseline before it craps out.
Attached Images
Image 
__________________
GUBA: Moscow Enforcers

Afino is offline   Reply With Quote
Old 07-11-2009, 09:56 AM   #46
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
You don't have a text file written to your c drive? Should be on the root level. Not in a folder or anything. Should be this path: "c:\devTrackerErrors.txt".

If you're sure that's not there.... hm. I'm suspicious that the program isn't being given permission to write a file to your hard drive. I think after the leagues.csv, it starts to try to write the first baseline. If it crashes on that, and wasn't able to write the error file, perhaps something is blocking it from creating files.

Are you running this as administrator? You don't have any special permissions put on any of your OOTP folders, right?

If it can't write the error file, I'll have to come up with another way to spit out the error.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 09:57 AM   #47
Tony M
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,156
Blog Entries: 3
Thanks: 41
Thanked 328x in 190 posts
Quote:
Originally Posted by Neags23 View Post
You don't have a text file written to your c drive? Should be on the root level. Not in a folder or anything. Should be this path: "c:\devTrackerErrors.txt".

If you're sure that's not there.... hm. I'm suspicious that the program isn't being given permission to write a file to your hard drive. I think after the leagues.csv, it starts to try to write the first baseline. If it crashes on that, and wasn't able to write the error file, perhaps something is blocking it from creating files.

Are you running this as administrator? You don't have any special permissions put on any of your OOTP folders, right?

If it can't write the error file, I'll have to come up with another way to spit out the error.
Just looking at the error window shown up above my initial thoughts were that it was a permission issue - I had that with some of my stuff on Vista until I gave myself permission to do everything I wanted to on my drive.
__________________
This signature is intentionally blank
Tony M is offline   Reply With Quote
Old 07-11-2009, 10:09 AM   #48
Afino
Hall Of Famer
 
Afino's Avatar
 
Join Date: Sep 2008
Location: Buffalo, NY
Posts: 3,828
Blog Entries: 2
Thanks: 1,246
Thanked 702x in 426 posts
Quote:
Originally Posted by Neags23 View Post
You don't have a text file written to your c drive? Should be on the root level. Not in a folder or anything. Should be this path: "c:\devTrackerErrors.txt".

If you're sure that's not there.... hm. I'm suspicious that the program isn't being given permission to write a file to your hard drive. I think after the leagues.csv, it starts to try to write the first baseline. If it crashes on that, and wasn't able to write the error file, perhaps something is blocking it from creating files.

Are you running this as administrator? You don't have any special permissions put on any of your OOTP folders, right?

If it can't write the error file, I'll have to come up with another way to spit out the error.
Nope, I see it now.

Sorry, I thought you meant it would show up on my desktop.

"Something went wrong filling the data table in the OleDB stuff. Here's the exact error:
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."
__________________
GUBA: Moscow Enforcers

Afino is offline   Reply With Quote
Old 07-11-2009, 10:20 AM   #49
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Quote:
Originally Posted by Afino View Post
Nope, I see it now.

Sorry, I thought you meant it would show up on my desktop.

"Something went wrong filling the data table in the OleDB stuff. Here's the exact error:
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."
Excellent!

I googled the error. Are you running 64-bit Vista?

If so, I want to try something. I'll have a new zip file for you in a few minutes.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 10:21 AM   #50
Afino
Hall Of Famer
 
Afino's Avatar
 
Join Date: Sep 2008
Location: Buffalo, NY
Posts: 3,828
Blog Entries: 2
Thanks: 1,246
Thanked 702x in 426 posts
From what I'm seeing, it's because Jet 4.0 can't run on 64-bit Vista systems. Somehow I have to use the 32-bit version. I'm looking for ways to do that.

EDIT: Yes, I am running 64-bit.
__________________
GUBA: Moscow Enforcers

Afino is offline   Reply With Quote
Old 07-11-2009, 10:22 AM   #51
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Quote:
Originally Posted by Afino View Post
From what I'm seeing, it's because Jet 4.0 can't run on 64-bit Vista systems. Somehow I have to use the 32-bit version. I'm looking for ways to do that.

EDIT: Yes, I am running 64-bit.
Yep, that's what I saw as well. I think it's something I might have to do on my end. A different way to compile the file or something. I'm working on figuring that out.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 10:38 AM   #52
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Okay, I feel good about this. I changed the compiler to only compile for x86. 64 bit Vista can run x86 apps, but if the app thinks it's compatible with a 64-bit OS, it tries to run it that way, and Jet doesn't work with 64-bit cpu's. So by only compiling for x86, it forces the OS to run it as x86, which Vista 64-bit is fine with and Jet is fine with.

I think we might have a winner!

Download here.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 10:47 AM   #53
Afino
Hall Of Famer
 
Afino's Avatar
 
Join Date: Sep 2008
Location: Buffalo, NY
Posts: 3,828
Blog Entries: 2
Thanks: 1,246
Thanked 702x in 426 posts
Great news!

Your test league (the one you sent to me yesterday) WORKS! I can see the interface, play around with it, but looks like it just doesn't have data (but that's okay)


However, my current league doesn't work because it can't find a baseline to work with. "checking for baseline" gives me the crash this time.

PROGRESS!
__________________
GUBA: Moscow Enforcers

Afino is offline   Reply With Quote
Old 07-11-2009, 11:43 AM   #54
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Sweet! Okay, if checking for a baseline causes a crash... Not sure what's up there. I'll take a look at the code and maybe put some error handling around that.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 12:15 PM   #55
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Quote:
Originally Posted by Afino View Post
Great news!
However, my current league doesn't work because it can't find a baseline to work with. "checking for baseline" gives me the crash this time.
Wait, so it's actually not getting as far as it was? Before it would say "checking for baseline" then "Loading players.csv". So now it crashes immediately after "checking for baseline"?

I'll have a new download in about 10 minutes. I'll put error handling around the whole area.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 12:18 PM   #56
Afino
Hall Of Famer
 
Afino's Avatar
 
Join Date: Sep 2008
Location: Buffalo, NY
Posts: 3,828
Blog Entries: 2
Thanks: 1,246
Thanked 702x in 426 posts
Quote:
Originally Posted by Neags23 View Post
Wait, so it's actually not getting as far as it was? Before it would say "checking for baseline" then "Loading players.csv". So now it crashes immediately after "checking for baseline"?

I'll have a new download in about 10 minutes. I'll put error handling around the whole area.
Yeah, immediately after "loading league..." the next step is "checking for baseline...", then the crash. No loading players.csv.
__________________
GUBA: Moscow Enforcers

Afino is offline   Reply With Quote
Old 07-11-2009, 12:51 PM   #57
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Okay, new build here.

I'm a little befuddled on this one, because all checking for baseline does is see if a file exists. That almost never throws errors. Even if it doesn't have permission or something to see the file, it'll just say that it doesn't exist.

So I put in some error handling and a few more lines giving detail about what's going on. Maybe that'll clue us in.

Since we know it works when a baseline does exist, as a last resort, we could always put in a fake baseline. Just copy the devTracker baselines folder from the test league I gave you, delete everything in the baseline except the header line and first row and just change the date in the file (it's like in the middle of the line) to have a year of like 1800 or something.

But we shouldn't have to do that.

Again, thanks for putting up with this! I want to make this sucker as bug free as possible. Always good for honing my coding skills.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Old 07-11-2009, 12:56 PM   #58
Afino
Hall Of Famer
 
Afino's Avatar
 
Join Date: Sep 2008
Location: Buffalo, NY
Posts: 3,828
Blog Entries: 2
Thanks: 1,246
Thanked 702x in 426 posts
Okay, now it says it's found a baseline, but it checks to see if the baseline comes from OOTPX.

It bombs there.


And hey, I appreciate you doing this as much as you do. You shouldn't have to go through all this to make sure it works for one person.
__________________
GUBA: Moscow Enforcers

Afino is offline   Reply With Quote
Old 07-11-2009, 01:00 PM   #59
endgame
Hall Of Famer
 
endgame's Avatar
 
Join Date: Aug 2002
Posts: 16,473
Thanks: 4,370
Thanked 4,044x in 2,179 posts
Quote:
Originally Posted by Afino View Post
And hey, I appreciate you doing this as much as you do. You shouldn't have to go through all this to make sure it works for one person.
Neags is great. Now that he's got his teeth into it, he won't give up until the world, including all Vista users, are using the program! I just see at as one step closer to the TeamRater, so I'm hoping you both stay with it until it's been conquered. I'm sure you will.
__________________
"Try again. Fail again. Fail better." -- Samuel Beckett
_____________________________________________
endgame is offline   Reply With Quote
Old 07-11-2009, 01:03 PM   #60
Neags23
All Star Starter
 
Neags23's Avatar
 
Join Date: Apr 2006
Posts: 1,532
Thanks: 30
Thanked 35x in 21 posts
Quote:
Originally Posted by Afino View Post
Okay, now it says it's found a baseline, but it checks to see if the baseline comes from OOTPX.

It bombs there.


And hey, I appreciate you doing this as much as you do. You shouldn't have to go through all this to make sure it works for one person.
It found a baseline?

Hmm... go into your import_export folder, and delete the devTracker2_baselines folder. Re run the program. I bet that'll do it. And if for some reason it doesn't, here's a new build with error handling around that part.
__________________
Former GM Washburn Sea Wolves Dog Days Baseball
1981 & 1986 Kennel Cup Champions!
Neags23 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:48 PM.

 

Major League Baseball trademarks and copyrights are used with permission of MLB Advanced Media, L.P. Minor League Baseball trademarks and copyrights are used with the permission of Minor League Baseball. All rights reserved.

The Major League Baseball Players Association (www.MLBPLAYERS.com ) is the collective bargaining representative for all professional baseball players of the thirty Major League Baseball teams and serves as the exclusive group licensing agent for commercial and licensing activities involving active Major League baseball players. On behalf of its members, it operates the Players Choice licensing program and the Players Choice Awards, which benefit the needy through the Major League Baseball Players Trust, a charitable foundation established and run entirely by Major League baseball players. Follow: @MLB_Players; @MLBPAClubhouse; @MLBPlayersTrust

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2017 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright © 2018 Out of the Park Developments