## WeBWorK Main Forum

by Alex Jordan -
Number of replies: 1
An instructor took the course roster that our school provides and accidentally tried to use that directly to add students, skipping the usual step of formatting it as a valid WeBWorK .lst file. Ever since she did this, if we try to visit her Classlist Editor, there is nothing but an error message (below). I don't know anything about how the database works and I'm worried that maybe some damaging entries have been introduced that I should carefully remove. I don't want to just delete the course because the bad entries might persist through things like the data collection script we submit to "WeBWorK HQ" each year. (Or maybe someone can convince me that would be harmless.)

The file used was in csv format (with a .lst extension) and had entries like the following. I am literally pasting the first few lines, and only changing things like names. But I'm only changing alpha-numeric characters to other alphanumeric characters. Other characters are literally how the classlist was "imported". There are semicolons and asterisks in there.

Should I be worried? Is there a clean way to undo this? Ideally while leaving the course in place, since she has invested some in configuring its homework sets.

The Classlist Editor page is throwing this error:

No handle/phrase at /usr/share/perl/5.18/Locale/Maketext.pm line 195. Locale::Maketext::maketext() called at /opt/webwork/webwork2/lib/WeBWorK/Localize.pm line 50 WeBWorK::Localize::__ANON__(undef) called at /opt/webwork/webwork2/lib/WeBWorK/Request.pm line 191 WeBWorK::Request::maketext('WeBWorK::Request=HASH(0x7f92a7c391d0)', undef) called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/UserList2.pm line 1760 WeBWorK::ContentGenerator::Instructor::UserList2::recordEditHTML('WeBWorK::ContentGenerator::Instructor::UserList2=HASH(0x7f92a...', 'WeBWorK::DB::Record::User=HASH(0x7f92a8c42920)', 'WeBWorK::DB::Record::PermissionLevel=HASH(0x7f92a8c41d80)', 'editMode', 0, 'passwordMode', 0, 'userSelected', '', ...) called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/UserList2.pm line 1882 WeBWorK::ContentGenerator::Instructor::UserList2::printTableHTML('WeBWorK::ContentGenerator::Instructor::UserList2=HASH(0x7f92a...', 'ARRAY(0x7f92a1e939c8)', 'ARRAY(0x7f92a1e93db8)', 'HASH(0x7f92a1e7afd0)', 'editMode', 0, 'passwordMode', 0, 'selectedUserIDs', ...) called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/UserList2.pm line 551 WeBWorK::ContentGenerator::Instructor::UserList2::body('WeBWorK::ContentGenerator::Instructor::UserList2=HASH(0x7f92a...', 'HASH(0x7f92a97d07d0)') called at /opt/webwork/webwork2/lib/WeBWorK/Template.pm line 155 WeBWorK::Template::template('/opt/webwork/webwork2/htdocs/themes/math4/system.template', 'WeBWorK::ContentGenerator::Instructor::UserList2=HASH(0x7f92a...') called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm line 560 WeBWorK::ContentGenerator::content('WeBWorK::ContentGenerator::Instructor::UserList2=HASH(0x7f92a...') called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm line 232 WeBWorK::ContentGenerator::go('WeBWorK::ContentGenerator::Instructor::UserList2=HASH(0x7f92a...') called at /opt/webwork/webwork2/lib/WeBWorK.pm line 384 WeBWorK::dispatch('Apache2::RequestRec=SCALAR(0x7f92a9059458)') called at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 121 eval {...} called at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 121 Apache::WeBWorK::handler('Apache2::RequestRec=SCALAR(0x7f92a9059458)') called at -e line 0 eval {...} called at -e line 0