<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div dir="ltr">The author directory shows an error message that Mark Lucas reported yesterday.
<div><br>
</div>
<div>
<div> Usage: random_set_seed(@seed)<br>
</div>
<div>@seed[0,1] must be two integers in the range (1,1) to (2147483562,2147483398)</div>
<div>and usually comes from a call to random_get_seed() or</div>
<div>random_seed_from_phrase($phrase). at /usr/local/lib64/perl5/Safe/Hole.pm line 68.</div>
<div>This occurred while running:</div>
<div><br>
</div>
<div>$num=&random(1.,9.,.05);</div>
<div>$rand=&random(1.,9.,.05);</div>
<div>$freq=$num*1.e+06*3.e+08/2.;</div>
<div>$b=$rand*1.e+02/3.e+08;</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Apr 1, 2019 at 2:43 PM H. K. Ng <<a href="mailto:hkng@fsu.edu">hkng@fsu.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="ltr">
<div dir="ltr">
<div>I have a problem (/res//fsu/capalibrary/71EMWavesI/prob02.problem) that I have use for a number years but now one of the students is experiencing a randomization issue - see attached screenshot. It seems that there is an issue with the random call. (I
had the same issue with another problem about a week ago. That problem is /res/msu/physicslib/msuphysicslib/70_CircAC2_LRC_Power/msuprob01.problem.) I cannot find any error message in perl/logs that seems to correlate with this error. The only thing that seems
link to the issue is in /var/log/httpd/error.log - there there are lots of entries that say</div>
<div><br>
</div>
<div>Use of uninitialized value $0 in concatenation (.) or string at /usr/lib64/perl5/Config.pm line 60.</div>
<div>Use of uninitialized value $^V in sprintf at /usr/lib64/perl5/Config.pm line 60.</div>
<div><br>
</div>
<div>However, since there is no date/time stamp for the messages, so they may not be due to the random function. So far this has occurred two times, one for a student and another for one of my TAs.</div>
<div><br>
</div>
<div>The system that I am using is Centos 7.</div>
<div><br>
</div>
<div>Anyone else having this problem and any idea how to fix this?</div>
<div><br>
</div>
<div>Regards,</div>
<div>-hk</div>
</div>
</div>
</div>
_______________________________________________<br>
LON-CAPA-admin mailing list<br>
<a href="mailto:LON-CAPA-admin@mail.lon-capa.org" target="_blank">LON-CAPA-admin@mail.lon-capa.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mail.lon-2Dcapa.org_mailman_listinfo_lon-2Dcapa-2Dadmin&d=DwICAg&c=HPMtquzZjKY31rtkyGRFnQ&r=wTSZ5EgyXvEFGuAc4iHTrg&m=L5tRmEu59XK6kBSKfLXWQZAyX5dDSMAakfGqts1ph6w&s=uix5xub4a5tCS3PoixwAg8jsg0dw-cO4hvIoeikqDD0&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__mail.lon-2Dcapa.org_mailman_listinfo_lon-2Dcapa-2Dadmin&d=DwICAg&c=HPMtquzZjKY31rtkyGRFnQ&r=wTSZ5EgyXvEFGuAc4iHTrg&m=L5tRmEu59XK6kBSKfLXWQZAyX5dDSMAakfGqts1ph6w&s=uix5xub4a5tCS3PoixwAg8jsg0dw-cO4hvIoeikqDD0&e=</a><br>
</blockquote>
</div>
</body>
</html>