|
I'm not sure which part of the code causes the problem, but I'm using print and printf perl commands, many times, like this: [code] if ($DisordersCheckbox) { push (@UserRequiredFields, 4); printf $typedOutFile "%s\t",$omim; }
if ($TremblCheckbox) { push (@UserRequiredFields, 51); printf $typedOutFile "%s\t",$trembl_id; }
if ($SwissProtCheckbox) { push (@UserRequiredFields, 7); printf $typedOutFile "%s\t",$swissprot_id; } [code]
the output handle is defined like this: [code] if ($mode eq "com_line") { open (RESFILE, ">$outfile") or die ("Can't open outfile >$outfile<"); $typedOutFile = *RESFILE; } else { $typedOutFile = *STDOUT; } [code]
executing this from the web, opens an empty file (well, it has the headers line, but not the 500 lines of data I requested). If I then save this file and check its properties (see attachment), I get "size 70b; size on disk 14KB"; and if I ftp this file to an UNIX server I can see the data I expect, in the format I expect, with no obvious weird characters, empty lines or white spaces... also, this hapens on only 2 of our 4 servers, the others work perfect (...); and it only hapens when I request more than 300 lines of info. I have users all over the world that report this error, so it's not my own PC that's the fault (although I'd love it, if it were winXP's problem).
can anyone give me an idea at least where to start checking what is producing this error? if anyone knows what the error is, that would be ideal :-)
Attached thumbnail(s)
|