WeBWorK Problems

Errors in Library/Browser (New Install)

Errors in Library/Browser (New Install)

by Andrew Bayliss -
Number of replies: 2
I get the following errors when I try to view or "Try" the following problem:
  • Library/Utah/College_Algebra/set7_Polynomial_and_Rational_Functions/1050s7p3.pg


· Odd number of elements in hash assignment at line 279 of (eval 10335)

· This option |ARRAY(0x7f54b48c4ba0)| is not recognized in this subroutine
HASH(0x7f54b4b1bcb0)

ARRAY(0x7f54b48c4ba0)

=>

vars

ARRAY(0x7f54b4936d68)

=>


at [PG]/macros/PG.pl line 587

WeBWorK Error

WeBWorK has encountered a software error while attempting to process this problem. It is likely that there is an error in the problem itself. If you are a student, report this error message to your professor to have it corrected. If you are a professor, please consult the error output below for more information.


Error messages

Variable 'm' is not defined in this context; see position 4 of formula at line 338 of (eval 53041) Died within main::FUNCTION_CMP called at line 338 of (eval 53041) from within main::fun_cmp called at line 37 of (eval 52917)


Error details

Problem1 ERROR caught by Translator while processing problem file:Library/Utah/Calculus_I/set2_Preliminaries/1210s2p1.pg **************** Variable 'm' is not defined in this context; see position 4 of formula at line 338 of (eval 53041) Died within main::FUNCTION_CMP called at line 338 of (eval 53041) from within main::fun_cmp called at line 37 of (eval 52917)

Request information

Time Fri Mar 23 20:11:23 2012
Method GET
URI /webwork2/3623/Undefined_Set/1/
HTTP Headers
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Connection keep-alive
Referer http://webwork.sparta.org/webwork2/3623/instructor/setmaker/
Accept-Encoding gzip, deflate
Accept-Language en-us,en;q=0.5
Cookie __utma=17566971.2125875479.1329690190.1330543127.1332463908.4; __utmz=17566971.1329690190.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmc=17566971
Host webwork.sparta.org

I am getting this error in other library problems, as well. Further, the original library browser times out on me often and gives me a "connection reset" page, if I choose to do an "Advanced Search". I just recently installed Webwork 2.5 using the online manual and subversion on Ubuntu 10.04. I am really new to this, so I apologize if this has already been addressed. I tried to search for these errors, but couldn't find anything.

In reply to Andrew Bayliss

Re: Errors in Library/Browser (New Install)

by Lars Jensen -
Hi Andrew,

Please click the Report Bug link in webwork and then report it under the Problem libraries listing.

Lars.
In reply to Andrew Bayliss

Re: Errors in Library/Browser (New Install)

by Michael Gage -
These look like errors on the individual problems, not an error in the library browser as a whole.  You can check by including these problems in a practice homework set and viewing the problems there. Since they are presented one at a time it is clearer which question is causing the problem. Trying to debug questions while viewing them through the library browser can sometimes be problematic since there are a lot of special tricks that have been used to render the questions when they are not in a homework set.  It usually works, but not always.

There is an outside chance that there is an error in one of the macro files.  If you have your own site you should make sure that the NationalProblemLibrary is up-to-date. (Type svn update   in the directory NationalProblemLibrary)
It's possible that there are some errors that have since been fixed.

Hope this helps and welcome to WeBWorK.  Please post again if this doesn't solve your issues.

-- Mike