PREP 2015 Question Authoring - Archived

Altered File Paths of OPL problems when moving from 2.9 to 2.10

Altered File Paths of OPL problems when moving from 2.9 to 2.10

by tim Payer -
Number of replies: 1
Could you help us find the cause of a number of broken file path errors that occurred after a recent upgrade to webwork 2.10?

About 40 out of 300 selected Open Public Library homework problems gathered under version 2.9 did not make the jump to our upgrade 2.10. The Homework Editor had a large number of messages of "The Source to this problem does not exist!" for a number of problems.

Some of the problems were recoverable through a very detailed search through the public Library. The recovered problem had slightly different file path names. But not all the lost problems were recovered.

What would cause these broken paths?


1.)  did we receive an incomplete version in our 2.10 upgrade?

2.)  Does selecting a hw problem in the public library through the individual college buttons create a different file path than if the problem was selected through OPL?

We splurged on making these college button available in version 2.9, but only had a standard download for version 2.10 that did not include these individualized sources. Would this matter?


Here are some specific examples:

For example here are the broken file paths from HW 17 that were created from attempts to trace those library buttons in v2.9:

asuLibrary/setAntiderivatives/6-1-53.pg, 1, -1

asuLibrary/setAntiderivatives/6-1-52.pg, 1, -1

asuLibrary/setAntiderivatives/6-1-47.pg, 1, -1

indianaLibrary/Indiana_setDerivatives20Antideriv/s3_10_8.pg, 1, -1

indianaLibrary/Indiana_setDerivatives20Antideriv/s3_10_35.pg, 1, -1

rochesterLibrary/setDerivatives20Antideriv/S04.10.Antiderivatives.PTP01.pg, 1, -1

rochesterLibrary/setDerivatives20Antideriv/csuf_dr_20_1.pg, 1, -1

rochesterLibrary/setDerivatives20Antideriv/s3_10_8.pg, 1, -1




And here are the alternate paths to the same problems that I was able to trace in the Public Library of v2.10:


Library/ASU-topics/setAntiderivatives/6-1-47.pg, 1, -1 

Library/ASU-topics/setAntiderivatives/6-1-52.pg, 1, -1 

Library/ASU-topics/setAntiderivatives/6-1-53.pg, 1, -1 

Library/Indiana/Indiana_setDerivatives20Antideriv/s3_10_8func.pg, 1, -1 

Library/Indiana/Indiana_setDerivatives20Antideriv/s3_10_35.pg, 1, -1 

Library/Rochester/setDerivatives20Antideriv/S04.10.Antiderivatives.PTP01.pg, 1, -1 

Library/Rochester/setDerivatives20Antideriv/s3_10_8.pg, 1, -1 

Library/Rochester/setDerivatives20Antideriv/csuf_dr_20_1.pg, 1, -1 


I was able to recover about two thirds of the broken paths. 


But not all of the paths were recoverable.


For example:


calc1andcalc2 Library problems are missing.

So are any links to Alfred University Anton text, 8th edition before chapter 12. All are missing.


Thank you , Tim



In reply to tim Payer

Re: Altered File Paths of OPL problems when moving from 2.9 to 2.10

by Arnold Pizer -
Hi Tim,

The following

asuLibrary/setAntiderivatives/6-1-53.pg, 1, -1

asuLibrary/setAntiderivatives/6-1-52.pg, 1, -1

asuLibrary/setAntiderivatives/6-1-47.pg, 1, -1

indianaLibrary/Indiana_setDerivatives20Antideriv/s3_10_8.pg, 1, -1

indianaLibrary/Indiana_setDerivatives20Antideriv/s3_10_35.pg, 1, -1

rochesterLibrary/setDerivatives20Antideriv/S04.10.Antiderivatives.PTP01.pg, 1, -1

rochesterLibrary/setDerivatives20Antideriv/csuf_dr_20_1.pg, 1, -1

rochesterLibrary/setDerivatives20Antideriv/s3_10_8.pg, 1, -1


means that in the templates directory of the course someone set up links pointing to subdirectories of the OPL. E.g. ausLibrary was a link pointing to ASU-topics, etc.  When you see

Library/ASU-topics/setAntiderivatives/6-1-47.pg, 1, -1 

"Library" is a link pointing to the top level of the OPL and is what we recommend people always do.  Using other links is optional and can lead to problems if people don't understand how things are set up.  You have two options:

(1) put the links (asuLibrary, etc) back in the templates directory

(2) change the paths so you don't have this issue again.


See e.g. http://webwork.maa.org/wiki/Installation_Manual_for_2.10_on_Ubuntu_14.04#Install_the_WeBWorK_Problem_Libraries which explains things.


Arnie