|
||||
|
07-10-2009, 11:48 PM | #41 |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
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! |
07-11-2009, 12:07 AM | #42 |
Hall Of Famer
Join Date: Aug 2002
Posts: 16,843
|
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 _____________________________________________ |
07-11-2009, 12:14 AM | #43 | |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
Quote:
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! |
|
07-11-2009, 12:18 AM | #44 |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
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! |
07-11-2009, 09:39 AM | #45 | |
Hall Of Famer
|
Quote:
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. |
|
07-11-2009, 09:56 AM | #46 |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
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! |
07-11-2009, 09:57 AM | #47 | |
Global Moderator
|
Quote:
__________________
This signature is intentionally blank |
|
07-11-2009, 10:09 AM | #48 | |
Hall Of Famer
|
Quote:
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." |
|
07-11-2009, 10:20 AM | #49 | |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
Quote:
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! |
|
07-11-2009, 10:21 AM | #50 |
Hall Of Famer
|
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. |
07-11-2009, 10:22 AM | #51 |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
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! |
07-11-2009, 10:38 AM | #52 |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
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! |
07-11-2009, 10:47 AM | #53 |
Hall Of Famer
|
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! |
07-11-2009, 11:43 AM | #54 |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
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! |
07-11-2009, 12:15 PM | #55 | |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
Quote:
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! |
|
07-11-2009, 12:18 PM | #56 | |
Hall Of Famer
|
Quote:
|
|
07-11-2009, 12:51 PM | #57 |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
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! |
07-11-2009, 12:56 PM | #58 |
Hall Of Famer
|
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. |
07-11-2009, 01:00 PM | #59 |
Hall Of Famer
Join Date: Aug 2002
Posts: 16,843
|
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 _____________________________________________ |
07-11-2009, 01:03 PM | #60 | |
All Star Starter
Join Date: Apr 2006
Posts: 1,576
|
Quote:
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! |
|
Bookmarks |
Thread Tools | |
|
|