<p>Too many #'s, hole is only 4 letters.</p>
<p>Brian Foster<br>
Endigo Computer LLC</p>
<p>Sent from a mobile device.</p>
<div class="gmail_quote">On Jun 8, 2012 4:16 PM, "Jason Moran" <<a href="mailto:jmoran@secureachsystems.com">jmoran@secureachsystems.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">A spidermonkey File operation (often) causes the output of “ASS
#####” followed by a “File operation pclose failed” error now
that I’ve done a make current (last update was 4 weeks ago). The
code puts a 0 or 1 into the variable fdFoundFile for later testing. This has
worked for months until the make current. Now it fails with the pclose
error 4/5 times.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">CODE:<u></u><u></u></p>
<p class="MsoNormal"> console_log("info","-3-\n");<u></u><u></u></p>
<p class="MsoNormal">//Do a check to make sure we can read the file <u></u><u></u></p>
<p class="MsoNormal">var fd = new File("|[ -f "+myFileName+" ]
&& echo 1 || echo 0");<u></u><u></u></p>
<p class="MsoNormal"> console_log("info","-4-\n");<u></u><u></u></p>
<p class="MsoNormal">fd.open("read");<u></u><u></u></p>
<p class="MsoNormal"> console_log("info","-5-\n");<u></u><u></u></p>
<p class="MsoNormal">var fdFoundFile = fd.read(1);<u></u><u></u></p>
<p class="MsoNormal"> console_log("info","-6-\n");<u></u><u></u></p>
<p class="MsoNormal">fd.close();<u></u><u></u></p>
<p class="MsoNormal"> console_log("info","-7-\n");<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">LOG:<u></u><u></u></p>
<p class="MsoNormal">2012-06-08 15:52:14.717917 [INFO] Testcall.js:1 -3-<u></u><u></u></p>
<p class="MsoNormal">2012-06-08 15:52:14.717917 [INFO] Testcall.js:1 -4-<u></u><u></u></p>
<p class="MsoNormal">2012-06-08 15:52:14.717917 [INFO] Testcall.js:1 -5-<u></u><u></u></p>
<p class="MsoNormal">ASS 30937<u></u><u></u></p>
<p class="MsoNormal">2012-06-08 15:52:14.717917 [INFO] Testcall.js:1 -6-<u></u><u></u></p>
<p class="MsoNormal">2012-06-08 15:52:14.717917 [ERR] Testcall.js:258
Error: File operation pclose failed<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The # following “ASS” always changes and keeps
on increasing.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<br>
Jason M<u></u><u></u></p>
</div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div>