MathHubInfo / Legacy-MathHub-Drupal

Legacy Drupal implementation of the MathHub system.
http://mathhub.info/
GNU General Public License v2.0
4 stars 1 forks source link

I have no idea how to make PVS show on MathHub #246

Closed Jazzpirate closed 5 years ago

Jazzpirate commented 7 years ago

I pushed mh-html and planetary to the PVS archive, pulled it on pine, now it correctly shows pvs.omdoc and pvsxml (here: https://mathhub.info/PVS/Prelude) but clicking on either results in "file not found". No idea how this works...

kohlhase commented 7 years ago

@m-iancu, could you please have a look on this and tell me what you did (and what we did wrong?), that would be very helpful. cc: @tkw1536

m-iancu commented 7 years ago

Looks like Synchronize Nodes fails to find the valid PVS source files. The way it works is by looking in the source folder and find all files for which there is a corresponding log file in the errors folder (i.e. files that were build by the associated importer -- for PVS that is mmt-omdoc in the config). Based on the sources as committed to https://gl.mathhub.info/PVS/Prelude/tree/master, superficially, I see two errors:

Fixing these two issues then running sync nodes from the admin page should work (hopefully)