Latest News: OOTP 13 Announced with Screenshots & Feature List! Pre-Order Now! - OOTP Baseball 12 Available! - iOOTP Baseball 2011 Available! - Title Bout Championship Boxing 2.5 released! - Inside the Park Baseball Patch 1.03 released, DEMO now available

Pre-Order OOTP 13, Save & Win! | OOTP 12 Off-Season Special, just $19.99!

Go Back   OOTP Developments Forums > Out of the Park Baseball 10 > OOTP 10 - Technical Support > OOTP 10 - Logged Issues

OOTP 10 - Logged Issues All issues that have been logged and given a BZ # are stored here until fixed

Reply
 
LinkBack Thread Tools Display Modes
Old 06-03-2009, 11:07 PM   #1 (permalink)
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?
RustdNails is offline   Reply With Quote
Old 06-04-2009, 12:26 AM   #2 (permalink)
OOTP Developments
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 17,024
Blog Entries: 7
Thanked 703x in 194 posts
Quote:
Originally Posted by RustdNails View Post
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?
I'm curious to figure out whether OOTP is really "locking up," or whether the application is just failing to "appear to be responding" while transferring files.

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!
battists is offline   Reply With Quote
Old 06-04-2009, 01:32 AM   #3 (permalink)
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?
RustdNails is offline   Reply With Quote
Old 06-04-2009, 01:36 AM   #4 (permalink)
OOTP Developments
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 17,024
Blog Entries: 7
Thanked 703x in 194 posts
Quote:
Originally Posted by RustdNails View Post
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?
Yes, you've found the obvious workaround: you don't need to have OOTP do the uploading, and in fact many technical people avoid letting OOTP do it, because they have more robust tools for uploading reports, particularly if they have the ability to upload a zipped file and expand it directly on the server.

I'm not sure that I'm at a point yet where I need more debug info...

Thanks!
battists is offline   Reply With Quote
Old 06-04-2009, 01:37 AM   #5 (permalink)
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.
RustdNails is offline   Reply With Quote
Old 06-04-2009, 01:38 AM   #6 (permalink)
OOTP Developments
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 17,024
Blog Entries: 7
Thanked 703x in 194 posts
Which OS are you running?
battists is offline   Reply With Quote
Old 06-04-2009, 01:39 AM   #7 (permalink)
Bat Boy
 
Join Date: Jun 2009
Posts: 18
Vista Ultimate SP1
RustdNails is offline   Reply With Quote
Old 06-04-2009, 01:42 AM   #8 (permalink)
OOTP Developments
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 17,024
Blog Entries: 7
Thanked 703x in 194 posts
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.
battists is offline   Reply With Quote
Old 06-04-2009, 01:43 AM   #9 (permalink)
OOTP Developments
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 17,024
Blog Entries: 7
Thanked 703x in 194 posts
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.
battists is offline   Reply With Quote
Old 06-04-2009, 01:48 AM   #10 (permalink)
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)
RustdNails is offline   Reply With Quote
Old 06-04-2009, 01:51 AM   #11 (permalink)
OOTP Developments
 
battists's Avatar
 
Join Date: Jul 2004
Posts: 17,024
Blog Entries: 7
Thanked 703x in 194 posts
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.
battists is offline   Reply With Quote
Old 06-04-2009, 02:11 AM   #12 (permalink)
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 can send you the file, but it's that for pages and pages and pages.

I don't have a text_engine.log
RustdNails is offline   Reply With Quote
Old 06-04-2009, 02:24 AM   #13 (permalink)
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.
RustdNails is offline   Reply With Quote
Old 06-04-2009, 03:56 AM   #14 (permalink)
Bat Boy
 
Join Date: Jun 2009
Posts: 18
Also tried with the firewall turned off, no help.
RustdNails is offline   Reply With Quote
Old 06-04-2009, 06:44 AM   #15 (permalink)
Moderator
 
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
Thanked 136x in 94 posts
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)
Alan T is offline   Reply With Quote
Old 06-04-2009, 12:59 PM   #16 (permalink)
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
RustdNails is offline   Reply With Quote
Old 06-04-2009, 01:13 PM   #17 (permalink)
Moderator
 
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
Thanked 136x in 94 posts
Quote:
Originally Posted by RustdNails View Post
Code:
OOTP connected successfully to xxxxx.homeip.net.
Folder '/reports' exists
Code:
OOTP connected successfully to xxxxx.homeip.net.
Folder '/league_file' exists


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)
Alan T is offline   Reply With Quote
Old 06-04-2009, 02:24 PM   #18 (permalink)
Bat Boy
 
Join Date: Jun 2009
Posts: 18
Quote:
Does the FTP account that you are using have permission to write to the folders that you are trying to upload to?
That was starting to become my suspicion as well. Just tried transferring a file using explorer's ftp and got an error. I think it's safe to say there's a problem with my FTP configuration.

That said, I think there should probably be a bug filed for the loop that the report uploader goes into.
RustdNails is offline   Reply With Quote
Old 06-04-2009, 02:32 PM   #19 (permalink)
Moderator
 
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
Thanked 136x in 94 posts
Quote:
Originally Posted by RustdNails View Post
That said, I think there should probably be a bug filed for the loop that the report uploader goes into.
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)
Alan T is offline   Reply With Quote
Old 06-04-2009, 03:30 PM   #20 (permalink)
Moderator
 
Join Date: Mar 2002
Location: Mass.
Posts: 1,963
Thanked 136x in 94 posts
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)
Alan T is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:59 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments