General developer forum

Submitted PDF file's last pages are missing while checking

 
Picture of umesh chavan
Submitted PDF file's last pages are missing while checking
 

Hello All,

Using moodle 3.2 on localhost (Windows+XAMPP), Theme Adaptable

Teachers have given Assignment

Students are submitting their PDF files as submission. Students work on their project in Trimble Layout software and then create PDF file to submit.

while checking the submission the rendered PDF shows the no. of pages less than the submitted pages. Few last pages are missing.

How to find the problem, why all the pages are not rendered to checking window???

If we download the submitted file from the View All Submissions or Grade area, the file is complete with all pages.

Appreciate urgent help


Thanks

Umesh


 
Average of ratings: -
Picture of Ken Task
Re: Submitted PDF file's last pages are missing while checking
Group Particularly helpful Moodlers

What's your production server's environment?

Think I'd test unoconv by itself via command line to see how it's handling one of the files that's supposed to generate a 25 page PDF file.

upload whatever document is to be converted to a 'test' directory on production server.   Let's say that document is called 'converttest.docx'.   Since unoconv is supposed to be in the environment path one should be able to execute the following:

/usr/bin/unoconv -vvv -f pdf converttest.docx

That, if successful, should out put a converttest.pdf file.

The -vvv are verbose options to the unoconv python script to show what's going on.

'spirit of sharing', Ken


 
Average of ratings: -
Picture of umesh chavan
Re: Submitted PDF file's last pages are missing while checking
 
Thanks Ken,

Actually we have on premise workstation with xeon Processor, 16 GB RAM, 500 GB HDDand windows 7 with XAMPP, Moodle 3.2

we have not configured unoconv, since all the files submitted by the students are PDF only and we use the inbuilt feature of moodle, PDF submission.
still do we need to have unconv??

Is there any constraint / restriction on number of pages in a PDF file submission???
what we observed is , its not displaying more than 24 pages max.....if the PDF has 35 pages, it will render only 21 to 24...
if its 21 it will render only 19 to 20
very strange

any settings or so to be modified???

thanks
umesh
 
Average of ratings: -