Installation

Problem generating hardcopy

Problem generating hardcopy

by John Tracy -
Number of replies: 0
Greetings all-
I'm new to Webwork, and am the network administrator supporting some of our faculty who desire to use the program.

We are having an issue that manifests itself when a student attempts to download hardcopy for a homework set. At the Hardcopy Generator screen, the only option I have is to generate a PDF copy. When I click on the "Generate Hardcopy" button, I get this error:

WeBWorK error

An error occured while processing your request. For help, please send mail to this site's webmaster (helpdesk@mydomain.edu), including all of the following information as well as what what you were doing when the error occured.

Wed May 21 09:26:21 2008

Warning messages

Error messages

argument 2 must contain a set_id at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm line 207

Call stack

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

  • in Carp::croak called at line 1853 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
  • in WeBWorK::DB::checkArgs called at line 1059 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
  • in WeBWorK::DB::getMergedSet called at line 207 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm
  • in WeBWorK::ContentGenerator::Hardcopy::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

Request information

Method POST
URI /webwork2/HowToUseWebWork/hardcopy/
HTTP Headers
Keep-Alive 300
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 SeaMonkey/1.1.8
Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Connection keep-alive
Referer https://mydomain.edu/webwork2/HowToUseWebWork/hardcopy/
Content-Length 1391
Accept-Encoding gzip,deflate
Content-Type multipart/form-data; boundary=---------------------------98471291824194
Cookie __utmz=34706611.1202149023.25.2.utmccn=(referral)|utmcsr=sun.com|utmcct=/products-n-solutions/edu/programs/sai/institutions.jsp|utmcmd=referral; __utma=34706611.764030357.1163510860.1208883719.1208962600.28; tz_offset=-14400; PHPSESSID=300e11f8f2b3aea0b0400010b59f01fc
Accept-Language en-us,en;q=0.5
Host mydomain.edu


Any ideas on how to proceed? This is running on Apache 2.2.6 on a Solaris 10 server. I'm using all of the normal paths for a standard Webwork 2.4 setup (/opt/webwork). I don't have any problems viewing problems elsewhere. The only thing that is (apparently) slightly unusual about my setup is that the Mysql database server hosting the db's for this instance of Webwork is on a a separate server, but I have modified the database connect string, and haven't had any problems elsewhere--at least none that I have yet to discover.

Thanks for any light your pointers you could send my way.

-John