|
|||||||
| Database Tools Do you need to take a dump? SQL gurus welcome |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#41 (permalink) | |
|
All Star Reserve
Join Date: Jan 2006
Posts: 537
Thanked 11x in 7 posts
|
Quote:
I also assume this means the utility is not hanging anymore? |
|
|
|
|
|
|
#42 (permalink) | |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 3,765
Thanked 17x in 13 posts
|
Quote:
|
|
|
|
|
|
|
#43 (permalink) |
|
Major Leagues
Join Date: Sep 2005
Location: Chicago, IL
Posts: 361
|
I keep getting a 500 Internal Server Error when i try to run the script to make sure its working. i am pretty sure i have everything setup correctly.
any ideas why i would be getting this error? im thinking its a permissions error, but i have tried on 644 and 755 and it still doesnt work.
__________________
Phil Zuber Beyond the Ivy - Commish, Twins GM Stars and Stripes Baseball League - Cubs GM Bricks and Ivy - Orioles GM Sim Coalition - co-founder
|
|
|
|
|
|
#44 (permalink) | |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 3,765
Thanked 17x in 13 posts
|
Quote:
BTW, Getch. It's not working again. I don't know what I did wrong this time since I was the simmer. I did everything last night EXCEPT export csv and run the development stuff. I created HTML last night, uploaded it, adn it was all correct, showing 5/1/1996 as the league date. I created the CSV this morning, uploaded it, and ran the script. Still shows 4/21/1996 and no new development. |
|
|
|
|
|
|
#45 (permalink) |
|
Major Leagues
Join Date: Sep 2005
Location: Chicago, IL
Posts: 361
|
ok i reuploaded in ASCII, and i am still getting a 500 Internal Server Error on genDev.html
__________________
Phil Zuber Beyond the Ivy - Commish, Twins GM Stars and Stripes Baseball League - Cubs GM Bricks and Ivy - Orioles GM Sim Coalition - co-founder
|
|
|
|
|
|
#46 (permalink) |
|
Hall Of Famer
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 6,751
Thanked 1x in 1 post
|
__________________
Visit www.planetootp.com for my MODS. Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF!
|
|
|
|
|
|
#47 (permalink) |
|
All Star Reserve
Join Date: Jan 2006
Posts: 537
Thanked 11x in 7 posts
|
Sure you uploaded the .csv files to the right location? If no change in the development on 4/21, then it's likely you put them in the wrong dir. Also, check the prevRatings.txt and .tmp files in the cgi-bin directory... are they the same? If they are not the same, make backups of them before going any further (and backup the development directory into a zip file too). If they are, double check your .csv location and if that's the right .csv files.
Last edited by Getch; 02-05-2007 at 04:22 PM. |
|
|
|
|
|
#48 (permalink) | |
|
All Star Reserve
Join Date: Jan 2006
Posts: 537
Thanked 11x in 7 posts
|
Quote:
chmod +x genDev.html If not, just run it from the server (go to cgi-bin directory and type ./genDev.html) and you'll get your error message that'll tell you what's wrong. One thing you have to make sure is that the location of the perl executable is correct at the top of each .html file. Might be in a different directory. |
|
|
|
|
|
|
#49 (permalink) | |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 3,765
Thanked 17x in 13 posts
|
Quote:
|
|
|
|
|
|
|
#50 (permalink) | |
|
Major Leagues
Join Date: Sep 2005
Location: Chicago, IL
Posts: 361
|
Quote:
did the chmod, same 500 internal error.
__________________
Phil Zuber Beyond the Ivy - Commish, Twins GM Stars and Stripes Baseball League - Cubs GM Bricks and Ivy - Orioles GM Sim Coalition - co-founder
|
|
|
|
|
|
|
#51 (permalink) |
|
All Star Reserve
Join Date: Jan 2006
Posts: 537
Thanked 11x in 7 posts
|
Telnet or SSH to the server (download putty if you do not have a utility to do this). Then go to the cgi-bin directory, or whatever directory your files exist in, and run the genDev.html file there. It's not an actual HTML file, but a perl script, so it is executable (the html extension is to workaround a Firefox bug). It'll likely print back an error message, paste or PM me the error and we'll work it out.
|
|
|
|
|
|
#52 (permalink) |
|
Major Leagues
Join Date: Sep 2005
Location: Chicago, IL
Posts: 361
|
error is as follows:
readline () on closed filehandle IN at ./genDev.html line .146 ERROR - players.csv bad or not found. I am guessing that i probably have my setup file scrwed up, or maybe not. I probably need an example of how that stuff should be written in there.
__________________
Phil Zuber Beyond the Ivy - Commish, Twins GM Stars and Stripes Baseball League - Cubs GM Bricks and Ivy - Orioles GM Sim Coalition - co-founder
|
|
|
|
|
|
#53 (permalink) | |
|
All Star Reserve
Join Date: Jan 2006
Posts: 537
Thanked 11x in 7 posts
|
Quote:
|
|
|
|
|
|
|
#54 (permalink) | |
|
Major Leagues
Join Date: Sep 2005
Location: Chicago, IL
Posts: 361
|
Quote:
even re-uploaded a new set of csv files after a few days were simmed and its still not working. the waiver page shows up, but nothing is being pulled.
__________________
Phil Zuber Beyond the Ivy - Commish, Twins GM Stars and Stripes Baseball League - Cubs GM Bricks and Ivy - Orioles GM Sim Coalition - co-founder
|
|
|
|
|
|
|
#55 (permalink) |
|
All Star Reserve
Join Date: Jan 2006
Posts: 537
Thanked 11x in 7 posts
|
One last check... you have the forward slash at the beginning of the directory name, and no forward slash at the end, correct? So something like:
/home/user/csv If so, I'll have to get you a debug patch, or just log onto your system and get it running (if you let me, of course). Let me know. |
|
|
|
|
|
#56 (permalink) | |
|
Major Leagues
Join Date: Sep 2005
Location: Chicago, IL
Posts: 361
|
Quote:
Thanks.
__________________
Phil Zuber Beyond the Ivy - Commish, Twins GM Stars and Stripes Baseball League - Cubs GM Bricks and Ivy - Orioles GM Sim Coalition - co-founder
|
|
|
|
|
|
|
#57 (permalink) | |
|
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 3,765
Thanked 17x in 13 posts
|
Quote:
I follow the same process every time. 1. Generate league reports 2. Generate CSV 3. Upload both to server as seperate tarballs 4. Extract tarball for HTML, verify that it's updated on League Home Page (currently 6/1/1996) 5. Extract CSV tarball into csv directory specified in setup.txt 6. Run genDev.html 7. Check development html page which shows 5/21/1996. I don't think I missed a step, did I? |
|
|
|
|
|
|
#58 (permalink) | |
|
All Star Reserve
Join Date: Jan 2006
Posts: 537
Thanked 11x in 7 posts
|
Quote:
Were there any development updates between this 5/21/1996 and the previous one? Or was there just no change altogether? PM me, I think the natives are getting tired of our banter. |
|
|
|
|
|
|
#60 (permalink) |
|
All Star Reserve
Join Date: Jan 2006
Posts: 537
Thanked 11x in 7 posts
|
Upgraded for 2007:
http://www.ootpdevelopments.com/boar...35#post2114335 It'll still work off of the 2006 utility, so you don't have to lose your development history upgrading! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|