| emeyer |
May 22 2007, 07:39 AM
Post
#1
|
|
Junior Member ![]() Group: Members Posts: 7 Joined: 24-April 07 Member No.: 4794 |
I've been trying to get the results out of the ALA Web Design Survey, and can't. When I try to download a CSV file, I get a network error in Safari and Firefox just downloads a zero-byte 'results.php.csv' file. wget times out while trying to download the file due to it getting no response. I removed the access control to the results so I could use cURL, but when I use this:
curl 'http://aneventapart.com/webdesignsurvey/results_csv.php?sid=2&export_type=1' -m 3600 -o 'results.csv' ...I get this in response after about 75 seconds have elapsed: curl: (52) Empty reply from server ...or, on occasion, I get this after less than 75 seconds: <table width="70%" align="center" cellpadding="0" cellspacing="0"> <tr class="grayboxheader"> <td width="14"><img src="http://aneventapart.com/webdesignsurvey/templates/Default/images/box_left.gif" border="0" width="14"></td> <td background="http://aneventapart.com/webdesignsurvey/templates/Default/images/box_bg.gif">Error</td> <td width="14"><img src="http://aneventapart.com/webdesignsurvey/templates/Default/images/box_right.gif" border="0" width="14"></td> </tr> </table> <table width="70%" align="center" class="bordered_table"> <tr> <td class="error">Error in query: Incorrect key file for table '/tmp/#sql_288c_0.MYI'; try to repair it</td> </tr> <tr> <td align="center"> [ <a href="http://aneventapart.com/webdesignsurvey/index.php">Main</a> ] </td> </tr> </table> I'd really, really like to get the data out so it can be analyzed. Nothing I do seems to work. Help, please! |
![]() ![]() |
| emeyer |
May 24 2007, 02:26 PM
Post
#2
|
|
Junior Member ![]() Group: Members Posts: 7 Joined: 24-April 07 Member No.: 4794 |
Well, we finally got the data out.
Of course, to do so, we had to do a MySQL dump and then import the dumped data onto a local machine. Then we had to edit GREATEST to COALESCE. Finally, after running the whole thing through a step-tracer, we discovered that we had to up the PHP memory limit to 512MB, because even with COALESCE the special_classes lines in question looped enough to make PHP5 run completely out of memory at its default configuration. (Under PHP4, even setting the limit to 512MB was not enough; PHP still died with the results described earlier in this thread, and in about the same amount of time.) I don't know that there's anything you can do about that for future releases, but we thought you ought to know. Hopefully you'll see this. |
emeyer Can't get data out - HELP, PLEASE! May 22 2007, 07:39 AM
emeyer I should also say that yes, this is a repeat of an... May 22 2007, 10:42 AM
emeyer In the main topic post, I said:
Actually, it... May 22 2007, 10:54 AM
emeyer Yes, it's me again. I remembered that I'd... May 22 2007, 11:27 AM
JHolmes763 I think it builts up the template in memory before... May 24 2007, 08:21 PM![]() ![]() |
| Lo-Fi Version | Time is now: 8th September 2010 - 05:43 PM |