WeBWorK Main Forum

edit/view a new problem

by Valerio De Angelis -
Number of replies: 1
I would like to create a new problem, edit it and view it without it being part of a homework set, but I have not been able to do it. If I use the file manager to view a .pg file, I see the code. If I click edit, I get a text editor and I can edit and save the code, but not view the result. If I click Edit on a problem from the Library browser, I get an editor displaying the content of a protected file that cannot be edited and saved. If I then click as Save as unattached problem, I get an error message (copied below). I did specify a correct and valid filename before trying to save it.  What is the right way to create, edit and view a new problem without making it part of any homework set?
Thanks for any help

WeBWorK error

An error occured while processing your request. For help, please send mail to this site's webmaster ([no address given]), including all of the following information as well as what what you were doing when the error occured.

Mon Jul 13 16:12:28 2015

Error messages

invalid characters in 'problemID' field: 'Undefined_Set' (valid characters are [0-9]) at /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm line 1252.

Call stack

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

• in Carp::croak called at line 2320 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
• in WeBWorK::DB::validateKeyfieldValue called at line 1252 of /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm
• in WeBWorK::URLPath::visitPathTypeNode called at line 1290 of /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm
• in WeBWorK::URLPath::visitPathTypeNode called at line 1290 of /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm
• in WeBWorK::URLPath::visitPathTypeNode called at line 1290 of /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm
• in WeBWorK::URLPath::visitPathTypeNode called at line 1290 of /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm
• in WeBWorK::URLPath::visitPathTypeNode called at line 1290 of /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm
• in WeBWorK::URLPath::visitPathTypeNode called at line 1137 of /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm
• in WeBWorK::URLPath::getPathType called at line 877 of /opt/webwork/webwork2/lib/WeBWorK/URLPath.pm
• in WeBWorK::URLPath::newFromPath called at line 144 of /opt/webwork/webwork2/lib/WeBWorK.pm

Request information

MethodGET
URI/webwork2/2015_PREP_Problem_Authoring/instructor/pgProblemEditor2/Undefined_Set/Undefined_Set/