|
||||
| ||||
|
|||||||
| Earlier versions of OOTP: Technical Support Do you have a copy of OOTP Baseball 2006? Are you in need of help and assistance in running the game or do you have errors that you need help in resolving? This is your place! |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
BZ 3128: Lack of FTP permissions causes freeze during report upload
I'm trying to set up an online league. Whenever I attempt to publish reports to the FTP OOTP locks up.
This started happening after I tried to upload an unreasonably large set of files, I'm assuming something is stuck somewhere. Any help? |
|
|
|
|
|
#2 | |
|
Hall Of Famer
Join Date: Jul 2004
Posts: 18,506
|
Quote:
If you have access to your FTP server, you could do this: 1. Start publishing reports. 2. Once it "locks up," look at your FTP server in the directory where the reports are going, and keep refreshing your view to see if new files are, in fact, still getting added. This will help us figure out what's going on. Note: You can't assume that if Task Manager says "not responding," that it's not doing something! Thanks! |
|
|
|
|
|
|
#3 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
I'll try that after it finishes copying files out (figured out that I can copy the files out and manually copy them onto the web -- same with the league file, create it and then copy by hand)
Is there any other debug info that I should try to gather? |
|
|
|
|
|
#4 | |
|
Hall Of Famer
Join Date: Jul 2004
Posts: 18,506
|
Quote:
I'm not sure that I'm at a point yet where I need more debug info... Thanks! |
|
|
|
|
|
|
#5 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
On the page it gets to "Please wait, uploading files..." and never moves to the "Uploading file xxxxxxx (xxx / xxxx)"
The files do not show up in the FTP directory. |
|
|
|
|
|
#6 |
|
Hall Of Famer
Join Date: Jul 2004
Posts: 18,506
|
Which OS are you running?
|
|
|
|
|
|
#7 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
Vista Ultimate SP1
|
|
|
|
|
|
#8 |
|
Hall Of Famer
Join Date: Jul 2004
Posts: 18,506
|
We could try this:
1. Go to Game > OOTP Preferences 2. Click Open config folder 3. Open the app file with any text editor 4. Find the line that says "trace_mode" and change the 0 to 1, and save 5. Quit OOTP and restart it, and try the FTP again. 6. OOTP will export a variety of information into two files called ootp.log and text_engine.log, stored in the \data directory of your OOTP installation. You can PM that info to me, post it here as an attachment, or just quote anything that looks particularly interesting.
|
|
|
|
|
|
#9 |
|
Hall Of Famer
Join Date: Jul 2004
Posts: 18,506
|
You may also want to try disabling your firewall temporarily and see if that helps. Since it seems to be freezing when it's trying to reach out to the FTP site, I wouldn't be surprised if your PC wasn't letting it do that for some reason.
|
|
|
|
|
|
#10 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
This FTP is being hosted locally, so hopefully that shouldn't be the issue. Also, it's working for a few other operations (downloading team exports, uploading team exports)
|
|
|
|
|
|
#11 |
|
Hall Of Famer
Join Date: Jul 2004
Posts: 18,506
|
I've learned never to assume when it comes to firewall programs, but do what you have to.
![]() OK, I'm sorry, but I'm heading to bed. Hopefully we can get this figured out. |
|
|
|
|
|
#12 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
So... looking at the ootp.log I see part of the problem.
Code:
Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR Wed 3rd Jun 22:02 FTP_UPLOAD Uploading file index.html Wed 3rd Jun 22:02 FTP_UPLOAD ERROR I don't have a text_engine.log |
|
|
|
|
|
#13 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
I also get an error when I attempt to upload the league file.
"Error: Could not upload archive file" Nothing shows up in the logs. |
|
|
|
|
|
#14 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
Also tried with the firewall turned off, no help.
|
|
|
|
|
|
#15 |
|
All Star Starter
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
|
Just out of curiosity, in your online league options where you set up the ftp username/passwords what happens when you hit the test buttons to verify that the configuration works ok? It sounds like it is failing on the actual upload part. (Even though it is "uploading" locally)
__________________
- Front Office Offseason League. (Fast Paced OOTP-X and OOTP11 leagues, sims one season every week)
|
|
|
|
|
|
#16 |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
Code:
OOTP connected successfully to xxxxx.homeip.net. Folder '/reports' exists Code:
OOTP connected successfully to xxxxx.homeip.net. Folder '/league_file' exists |
|
|
|
|
|
#17 | |
|
All Star Starter
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
|
Quote:
Thanks, so that part works fine... Does the FTP account that you are using have permission to write to the folders that you are trying to upload to? For instance, what happens if you manually ftp to your local system and try to upload that file index.html with the account that you entered into OOTP? Not copying it over using windows explorer or whatnot, but actually ftping it to yourself manually? Another option to get you working even though it won't solve your problem is to just do the OOTP file copy built into the reports. When you run the web reports, instead of uploading to the server, there is a button that says to copy the web reports to a specific directory instead. You could do that if you are having issues with the FTP. (That option may only be available for online league report uploads though I do not remember off the top of my head).
__________________
- Front Office Offseason League. (Fast Paced OOTP-X and OOTP11 leagues, sims one season every week)
|
|
|
|
|
|
|
#18 | |
|
Bat Boy
Join Date: Jun 2009
Posts: 18
|
Quote:
That said, I think there should probably be a bug filed for the loop that the report uploader goes into. |
|
|
|
|
|
|
#19 |
|
All Star Starter
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
|
I fully agree. I'll try to see if I can replicate this and if so file a bug for it. It should error just once and then pop up an error for you on your screen. Not try it repeatedly and hang forever like that.. If you can let me know what you find out about what specifically was causing this error (if it was folder permissions for that ftp account or what), that would be helpful for me to logging this.
__________________
- Front Office Offseason League. (Fast Paced OOTP-X and OOTP11 leagues, sims one season every week)
|
|
|
|
|
|
#20 |
|
All Star Starter
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
|
I was able to replicate similar behavior by having the FTP account try to upload the reports to a path that is not writable by that ftp account as I suggested could be your issue.
Even though the fix to your problem would be to make the directory writable by that FTP account, I have logged this as BZ3128 since OOTP should error out rather than continuously try to upload over and over. Another issue that might cause this for you is if you are trying to write to a drive and are not allowed by the ftp server due to Quota being over the limit or other possible scenerios where the root file system does not allow that ftp account to write to the directory seem to cause this.
__________________
- Front Office Offseason League. (Fast Paced OOTP-X and OOTP11 leagues, sims one season every week)
|
|
|
|
![]() |
| Bookmarks |
|
|