[LON-CAPA-admin] Random Seed issues

Raeburn, Stuart raeburn at msu.edu
Fri Apr 17 17:01:33 EDT 2020


Mark,

See: mail.lon-capa.org/pipermail/lon-capa-admin/2019-April/003398.html
which refers to bug 6903.

A comment in that bug report includes information about the version of default_homework.lcpm you can use with 2.11.2 if you encounter this (rare) bug, and want to prevent it.

Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-admin <lon-capa-admin-bounces at mail.lon-capa.org> on behalf of Lucas, Mark <lucasm at ohio.edu>
Sent: Friday, April 17, 2020 4:50 PM
To: lon-capa-admin at mail.lon-capa.org
Subject: [LON-CAPA-admin] Random Seed issues

Hi,

I apologize, because I think this might have gone by before, but we have a student running a version of a problem
where we get the following error:

Usage: random_set_seed(@seed)
@seed[0,1] must be two integers in the range (1,1) to (2147483562,2147483398) and usually comes from a call to random_get_seed() or random_seed_from_phrase($phrase). at /usr/local/lib64/perl5/Safe/Hole.pm line 68 This occurred while running:

Is this one of those 1 in 2147483562 kind of errors? Is there a patch or workaround for this?

Mark


--
Mark Lucas                                                              email: lucasm at ohio.edu
252D Clippinger Lab                                             phone: (740)597-2984
Department of Physics and Astronomy                     fax: (740)593-0433
Ohio University
Athens, OH 45701

_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin


More information about the LON-CAPA-admin mailing list