Installation

Error: After Adjusting from "score_sets " to "ta" in global.conf file

Error: After Adjusting from "score_sets " to "ta" in global.conf file

by Simon Hu -
Number of replies: 1
After Adjusting from "score_sets " to "ta" in global.conf file and logging as "ta" user, "ta" users could work smoothly with appropriate permssion except getting below error on "Hmwk Sets Editor" page:


Select Edit
Set Data
Edit
Problems
Edit
Assigned Users
Visible Reduced Credit
Enabled
Open Date Due Date Answer Date
Homework-2edit.gif


After clicking the "pencil" icon, below error message was displayed:

Hmwk Sets Editor  

WeBWorK error

An error occured while processing your request. For help, please send mail to this site's webmaster (webwork@ust.hk), including all of the following information as well as what what you were doing when the error occured.

Fri Aug 31 04:50:56 2012

Warning messages

  • Use of uninitialized value $primarySortField in hash element at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 484.<br />Use of uninitialized value $secondarySortField in hash element at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 485.<br />Use of uninitialized value $secondarySortField in string eq at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 488.<br />Use of uninitialized value $secondarySortSub in sort at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 491.<br />

Error messages

Undefined subroutine in sort at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 491.

Call stack

The information below can help locate the source of the problem.

  • in WeBWorK::ContentGenerator::Instructor::ProblemSetList::body called at line 152 of /opt/webwork/webwork2/lib/WeBWorK/Template.pm
  • in WeBWorK::Template::template called at line 494 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
  • in WeBWorK::ContentGenerator::content called at line 198 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
  • in WeBWorK::ContentGenerator::go called at line 371 of /opt/webwork/webwork2/lib/WeBWorK.pm
Should "score_sets" ==> "ta" be used?


In reply to Simon Hu

Re: Error: After Adjusting from "score_sets " to "ta" in global.conf file

by Jason Aubrey -
Hi Simon,

I'm having a hard time seeing any reason why setting 'score_sets' to 'ta' should cause this error.

However, I can reproduce the error by doing just what you say (see below)...
I'll keep looking,

Jason

Warning messages

  • Use of uninitialized value $primarySortField in hash element at /usr/local/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 479.<br />Use of uninitialized value $secondarySortField in hash element at /usr/local/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 480.<br />Use of uninitialized value $secondarySortField in string eq at /usr/local/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 483.<br />Use of uninitialized value $secondarySortSub in sort at /usr/local/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 486.<br />

Error messages

Undefined subroutine in sort at /usr/local/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetList.pm line 486.

Call stack

The information below can help locate the source of the problem.

  • in WeBWorK::ContentGenerator::Instructor::ProblemSetList::body called at line 152 of /usr/local/webwork/webwork2/lib/WeBWorK/Template.pm
  • in WeBWorK::Template::template called at line 494 of /usr/local/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
  • in WeBWorK::ContentGenerator::content called at line 198 of /usr/local/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
  • in WeBWorK::ContentGenerator::go called at line 371 of /usr/local/webwork/webwork2/lib/WeBWorK.pm

Request information