Installation

Upgrade issue

Upgrade issue

by Peter Staab -
Number of replies: 1
I just upgraded to the latest WW. I have an odd error.

If I browse a list of problems and Click the "Try it" then everything seems to be working as it was before however if instead I "Edit it", then on the new page select "View using seed...." I get the following error, which is independent of the problem that I select.

Error messages

Can't call method "assignment_type" on an undefined value at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm line 1206.

Call stack

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

  • in WeBWorK::ContentGenerator::Instructor::PGProblemEditor::view_handler called at line 290 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
  • in WeBWorK::ContentGenerator::Instructor::PGProblemEditor::pre_header_initialize called at line 175 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
  • in WeBWorK::ContentGenerator::go called at line 353 of /opt/webwork/webwork2/lib/WeBWorK.pm



In reply to Peter Staab

Re: Upgrade issue

by Peter Staab -
Whatever the issue is occurs with the development code in the webwork2 directory. I downgraded using:
cvs -q update -dP -r rel-2-4-patches