Installation

Random error message from maketext

Random error message from maketext

by Justin Brody -
Number of replies: 5

Hello!

I recently decided to update everything with svn (problem library and webwork). I don't think I actually updated webwork since I was running 2.5 before and seem to be now as well. Unfortunately, I am getting the following error message on random occasions.

A quick google search pointed me here http://irclog.perlgeek.de/webwork/2012-08-27

I tried running cpan File::Path but it doesn't seem to have fixed the problem. For good measure, I also ran perl-cleaner --all.

Any help would be greatly appreciated!




Error messages

Can't call method "maketext" on an undefined value at /opt/webwork/webwork2/lib/WeBWorK/Request.pm line 191.

Call stack

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

  • in WeBWorK::Request::maketext called at line 148 of /opt/webwork/webwork2/lib/WeBWorK/Authen.pm
  • in WeBWorK::Authen::new called at line 289 of /opt/webwork/webwork2/lib/WeBWorK.pm
In reply to Justin Brody

Re: Random error message from maketext

by Dick Lane -
Perhaps running
      webwork2/bin/check_modules.pl  apache2
will show some Perl module needs to be installed.

Item 5 of
    http://webwork.maa.org/moodle/mod/forum/discuss.php?d=2679
(and the "If you are cautious ..." part of Mike's response) has extra detail relevant to my guess about your problem.

PS: when the transition from Subversion to Git is finished, it will be useful for documentation to include a suitable adaptation of Mike's full response.  Release notes for each advance in release number (e.g., 2.5.1 to 2.5.2) might be useful.
In reply to Dick Lane

Re: Random error message from maketext

by Michael Gage -
Release notes:  http://webwork.maa.org/wiki/Category:Release_Notes

Dick:  Is this what you had in mind?

Justin Brody:  ww2.5.1.1 is the most stable release at the moment. (The footer on the webwork home page will tell you which release you are using.) You can also see this in the VERSION file on the server.

Checkout that all of the necessary modules are installed as Dick describes above and then let us know which version you are using and we can trouble shoot your error message.  

The new modules allow for WW to be "localized" i.e. rendered in languages other than English.

-- Mike

In reply to Michael Gage

Re: Random error message from maketext

by Dick Lane -
Thanks, Mike, for the link to a page with the granularity I sought for Release Notes.

Would http://webwork.maa.org/wiki/Upgrading_WeBWorK be an appropriate place to add advice about checking that Release Notes page before updating either pg or webwork2 (or MathJax)? (That would be in addition to incorporating your remark about being cautious prior to restarting apache.)
In reply to Dick Lane

Re: Random error message from maketext

by Michael Gage -
Sure -- go ahead and add what information you think would be helpful.

There is a link to the Release Notes at the top of the page.

In reply to Dick Lane

Re: Random error message from maketext

by Justin Brody -
Thanks for this information! After several rounds of mucking with the system, everything seems to be on track. I guess this is the downside to wait a year and half to update the system :)