OPL Maintenance

Error when running OPL-update

Error when running OPL-update

by Arturo Portnoy -
Number of replies: 3
Hi, I am getting this error when running OPL-update:

29100 29200 29300 29400 29500 29600 29700 29800 29900 30000
30100 30200 30300 30400 30500 30600 30700 30800 30900 31000
31100 31200 31300 31400 31500
Invalid section Stokes theorem
File /opt/webwork/libraries/webwork-open-problem-library/OpenProblemLibrary/FortLewis/Calc3/20-4-Stokes-theorem/HGM4-20-4-04-Stokes-theorem.pg
31600 31700 31800 31900 32000
32100 32200 32300 32400 32500 32600 32700 32800 32900 33000
33100 33200 33300 33400 33500 33600 33700 33800 33900 34000
34100 34200 34300 34400 34500 34600 34700 34800 34900 35000

Oddly enough, we have two servers, and on the other server, no problem. Any ideas? Thanks!
In reply to Arturo Portnoy

Re: Error when running OPL-update

by Arturo Portnoy -
I realized that it is just one problem not being added to the database. What is interesting is that in one of our servers it was added, no error, but in the other it causes this error.
In reply to Arturo Portnoy

Re: Error when running OPL-update

by Danny Glin -
As you observe, if the OPL-update script doesn't recognize a tag, it spits a warning and doesn't add that problem to the database, then moves on, so everything else should still show up in the Library Browser.

The name of the section is "Stokes' theorem" with an apostrophe, and the warning shows it without. It looks like that problem has the right tags in the OPL. You can check to see if your copy somehow had the apostrophe deleted.

Another thing is to do a git pull on the OPL directory to update all files to the latest version.