WeBWorK Main Forum

PG rendering errors with upgrade

PG rendering errors with upgrade

by Andrew Leahy -
Number of replies: 2
Long-time WebWork user.  Historically, we ran a local copy on a virtual host behind an Apache proxy server, but we recently upgraded to 2.18 and brought it up on a Kubernetes cluster.  I don't know if any of that is relevant . . . but since the upgrade I have been encountering a large number of  "PG question failed to render" errors on existing problem sets--e.g., two out of six problems on a year-old assignment I opened today (for a probability class).  See the attached PDF for a print off of the error.  From the looks of it, I'm guessing we didn't get the R server configured correctly. Can anybody give me a pointer?  Thanks.
In reply to Andrew Leahy

Re: PG rendering errors with upgrade

by Danny Glin -
From localOverrides.conf:
# use this setting when running Rserve in a docker container.
#$pg{specialPGEnvironmentVars}{Rserve} = {host => "r"};

You probably want that line uncommented rather than the one above it if you're in a containerized environment.