Teaching with Moodle

Cannot Preview files in Grade

 
Picture of Bradford Moore
Cannot Preview files in Grade
 
We just upgraded to Moodle v3.1.7 and we have everything working as expected except for one item. When students submit an assignment (.doc/.docx/.ppt/.pptx/etc), if the instructor clicks on "grade" instead of "view submissions" they are properly taken to the grading page which should show a preview of the document so that they can be quickly graded. The only file type that actually gives us a preview is .PDF.

I know that it is supposed to render the assignment as a .PDF, so I assume the issue lies therein, but I'm not sure where to start troubleshooting.

I took a file that won't show a preview (.doc), saved it in word as a .pdf, and the preview appears; screenshots below.

Thanks in advance for any assistance.

 ~Brad


EDITED : I finally got the right google-fu and found the info on unoconv and ghostscript and am double checking those now.





 
Average of ratings: -
Picture of wendy apfel
Re: Cannot Preview files in Grade
 

Hey Bradford,


Any luck in finding a fix for this?  We're having the same issue in 3.1.2.  Grade will preview pdfs and allow in-line annotation, but not word docs, and will freeze up on toggling user.  I'd be appreciative of any info you might have.


Thank you,

Wendy

 
Average of ratings: -
Picture of Bradford Moore
Re: Cannot Preview files in Grade
 

After hitting upon the right search terms, we needed to install the OpenOffice lib and unoconv.


https://docs.moodle.org/32/en/Universal_Office_Converter_(unoconv)



Hope this helps!

Searching for Unoconv will provide you with lots of info, I just didn't find it in my initial searches.


 
Average of ratings: -