Installation

Webwork errors

Webwork errors

by Lars Jensen -
Number of replies: 7
In late Spring we upgraded to wwk 2.4, and we seemed to get it running OK on debian testing at that time. Now, after upgrading some debian system packages we get the following errors when browsing problems in the library browser (please see below).

Any help is greatly appreciated - out semester is about to start.

Our perl version is 5.10.0
check_modules.pl reports no errors or missing packages.

Thanks,
Lars.


Warning messages

  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 16561) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 16561) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 16562) line 1.
  • $# is no longer supported at line 3 of (eval 16598)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 16813) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 16813) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 16814) line 1.
  • $# is no longer supported at line 3 of (eval 16850)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 17064) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 17064) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 17065) line 1.
  • $# is no longer supported at line 3 of (eval 17101)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 17315) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 17315) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 17316) line 1.
  • $# is no longer supported at line 3 of (eval 17352)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 17567) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 17567) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 17568) line 1.
  • $# is no longer supported at line 3 of (eval 17604)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 17819) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 17819) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 17820) line 1.
  • $# is no longer supported at line 3 of (eval 17856)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 18070) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 18070) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 18071) line 1.
  • $# is no longer supported at line 3 of (eval 18107)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 18321) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 18321) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 18322) line 1.
  • $# is no longer supported at line 3 of (eval 18358)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 18572) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 18572) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 18573) line 1.
  • $# is no longer supported at line 3 of (eval 18609)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 18829) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 18829) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 18830) line 1.
  • $# is no longer supported at line 3 of (eval 18866)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 19080) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 19080) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 19081) line 1.
  • $# is no longer supported at line 3 of (eval 19117)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 19331) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 19331) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 19332) line 1.
  • $# is no longer supported at line 3 of (eval 19368)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 19586) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 19586) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 19587) line 1.
  • $# is no longer supported at line 3 of (eval 19623)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 19841) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 19841) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 19842) line 1.
  • $# is no longer supported at line 3 of (eval 19878)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 20096) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 20096) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 20097) line 1.
  • $# is no longer supported at line 3 of (eval 20133)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 20351) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 20351) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 20352) line 1.
  • $# is no longer supported at line 3 of (eval 20388)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 20610) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 20610) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 20611) line 1.
  • $# is no longer supported at line 3 of (eval 20647)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 20869) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 20869) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 20870) line 1.
  • $# is no longer supported at line 3 of (eval 20906)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 21124) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 21124) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 21125) line 1.
  • $# is no longer supported at line 3 of (eval 21161)
  • Failed to evaluate module Parser: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 21379) line 1.
  • Failed to evaluate module Value: Attempt to reload Parser.pm aborted.
  • Compilation failed in require at (eval 21379) line 1.
  • Failed to evaluate module Parser::Legacy: Attempt to reload Parser/Legacy.pm aborted.
  • Compilation failed in require at (eval 21380) line 1.
  • $# is no longer supported at line 3 of (eval 21416)
In reply to Lars Jensen

Re: Webwork errors

by Michael Gage -
Hi Lars,

I believe that you need to update your pg directory to rel-2-4-patches

see http://wwrk.maa.org/moodle/mod/forum/discuss.php?d=146#514

and the response for a similar problem. Specifically there was a line in the

PG.pl file that used $# to attempt to set perl to use 1.0E03 type notation

instead of 1.0e03 notation to represent 1000.


-- Mike

In reply to Michael Gage

Re: Webwork errors

by Lars Jensen -
Hi Mike,

Thanks for the reply. I tried to update, but I now get an error after any cvs update command when contacting the cvs server:

CVS password file /root/.cvspass does not exist - creating a new file can't create temporary directory /tmp/cvs-serv7428
Permission denied

I never saw this message before. Now I get it both on my production- and test server. Is there a problem with access to the cvs server?

Lars.
In reply to Lars Jensen

Re: Webwork errors

by Gavin LaRose -
Hi Lars (and Mike),

I can replicate the error message, viz., "can't create temporary directory /tmp/cvs-serv13403; Permission denied" (or, ".../tmp/cvs-serv13411..."), on my development and production servers, so there's some suggestion that it's a CVS problem on the server side.

Gavin
In reply to Gavin LaRose

Re: Webwork errors

by Michael Gage -
We just replaced the server that holds the CVS so I'm pretty sure it's a problem at our end. Probably some setting we didn't get right. I'll look into it today.

--Mike
In reply to Michael Gage

Re: Webwork errors

by Gavin LaRose -
Hi Mike,

Thanks. It looks as if it's all fixed now.

Gavin
In reply to Gavin LaRose

Re: Webwork errors

by Michael Gage -
Good. I changed the permissions on the /tmp directory
--oversight on our part. Glad it's working now.
In reply to Michael Gage

Re: Webwork errors

by Lars Jensen -
Hi Mike and Gavin,

Thanks for your help. CVS works again, and updating to rel-2-4-patches fixed our issue.

Lars.