Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rserve and required modules to the safe module list #700

Merged
merged 1 commit into from
Jun 17, 2016
Merged

Add Rserve and required modules to the safe module list #700

merged 1 commit into from
Jun 17, 2016

Conversation

cubranic
Copy link
Contributor

Companion request to openwebwork/pg#214

@goehle
Copy link
Member

goehle commented May 30, 2016

You might add some configuration information to localOverrides.conf.dist. Basically something like

# This is configuration for the Rserve pg module.  More explanation about 
# configuration and setting up your own Rserve server.  Blah Blah Blah
# $pg{specialPGEnvironmentVars}{Rserve} = {host => "localhost"};

to help people get started.

@cubranic
Copy link
Contributor Author

@goehle Is it OK to point to my university's wiki? Or would you rather that information were on the MAA wiki?

@goehle
Copy link
Member

goehle commented May 31, 2016

I suppose I would like stuff on the MAA wiki, but I would also like it to be up to date. So if your university wiki is more likely to have current information you should use that.

@goehle goehle merged commit aae24c5 into openwebwork:develop Jun 17, 2016
@Alex-Jordan
Copy link
Contributor

When I switch to develop branch now, I get these perl warnings on pages:

    Failed to evaluate module Rserve: Can't locate Rserve.pm in @INC (you may need to install the Rserve module) (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . /etc/apache2) at (eval 749) line 1.
    Failed to evaluate module Class::Tiny: Can't locate Rserve.pm in @INC (you may need to install the Rserve module) (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . /etc/apache2) at (eval 749) line 1.
    Failed to evaluate module IO::Handle: Can't locate Rserve.pm in @INC (you may need to install the Rserve module) (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . /etc/apache2) at (eval 749) line 1.

The way I usually install packages is using MCPAN, but it doesn't know what Rserve is when I try install Rserve. How can I install this Rserve package?

@mgage
Copy link
Member

mgage commented Jun 25, 2017 via email

@cubranic
Copy link
Contributor Author

cubranic commented Jun 25, 2017 via email

@Alex-Jordan
Copy link
Contributor

OK, the Rserve package I am "missing" is in the develop branch of pg. That was my issue; I had only moved webwork2 to develop, not pg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants