The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Ken Task -
Number of replies: 10
Picture of Particularly helpful Moodlers

So Moodle now thinks you have the correct version.    Good.   That's progress.

"But when i click on "Download the converted pdf test file." link, the pdf shows an error"

Please, just don't just tell me, show me or describe the error.   What happens?  A new browser window that replaces Moodle page with the error there?    Screen shot would be nice ... please, no WordDoc screen capture.

What OS are you running?   Do you have some official Adobe software installed on the workstation you are using?    Am running MacOSX and it's behavior (without Adobe) is to launch 'Preview' (native to MacOSX) to display the PDF.

And one more question regarding what's installed for LibreOffice.

yum list libreoffice*

Should see in that list this one:

libreoffice-pdfimport.x86_64

and I think this one as well:

libreoffice-ure.x86_64

The second one is the UNO runtime environment.

'spirit of sharing', Ken




In reply to Ken Task

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Santiago Mendoza Ramirez -

yum list libreoffice* show this:

libreoffice-calc.x86_64                         1:4.3.7.2-2.el6            @base

libreoffice-core.x86_64                         1:4.3.7.2-2.el6            @base

libreoffice-headless.x86_64                     1:4.3.7.2-2.el6            @base

libreoffice-impress.x86_64                      1:4.3.7.2-2.el6            @base

libreoffice-opensymbol-fonts.noarch             1:4.3.7.2-2.el6            @base

libreoffice-pyuno.x86_64                        1:4.3.7.2-2.el6            @base

libreoffice-ure.x86_64                          1:4.3.7.2-2.el6            @base

libreoffice-writer.x86_64                       1:4.3.7.2-2.el6            @base

Paquetes disponibles

libreoffice.x86_64                              1:4.3.7.2-2.el6            base 

libreoffice-TexMaths.x86_64                     0.39-1.el6                 epel 

libreoffice-base.x86_64                         1:4.3.7.2-2.el6            base 

libreoffice-bsh.x86_64                          1:4.3.7.2-2.el6            base 

libreoffice-draw.x86_64                         1:4.3.7.2-2.el6            base 

libreoffice-emailmerge.x86_64                   1:4.3.7.2-2.el6            base 

libreoffice-filters.x86_64                      1:4.3.7.2-2.el6            base 

libreoffice-gdb-debug-support.i686              1:4.3.7.2-2.el6            base 

libreoffice-gdb-debug-support.x86_64            1:4.3.7.2-2.el6            base 

libreoffice-glade.x86_64                        1:4.3.7.2-2.el6            base 

libreoffice-graphicfilter.x86_64                1:4.3.7.2-2.el6            base 

libreoffice-langpack-af.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ar.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-as.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-bg.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-bn.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ca.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-cs.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-cy.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-da.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-de.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-dz.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-el.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-en.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-es.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-et.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-eu.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-fi.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-fr.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ga.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-gl.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-gu.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-he.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-hi.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-hr.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-hu.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-it.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ja.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-kn.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ko.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-lt.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-mai.x86_64                 1:4.3.7.2-2.el6            base 

libreoffice-langpack-ml.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-mr.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ms.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-nb.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-nl.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-nn.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-nr.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-nso.x86_64                 1:4.3.7.2-2.el6            base 

libreoffice-langpack-or.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-pa.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-pl.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-pt-BR.x86_64               1:4.3.7.2-2.el6            base 

libreoffice-langpack-pt-PT.x86_64               1:4.3.7.2-2.el6            base 

libreoffice-langpack-ro.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ru.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-sk.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-sl.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-sr.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ss.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-st.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-sv.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ta.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-te.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-th.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-tn.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-tr.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ts.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-uk.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ur.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-ve.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-xh.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-langpack-zh-Hans.x86_64             1:4.3.7.2-2.el6            base 

libreoffice-langpack-zh-Hant.x86_64             1:4.3.7.2-2.el6            base 

libreoffice-langpack-zu.x86_64                  1:4.3.7.2-2.el6            base 

libreoffice-librelogo.x86_64                    1:4.3.7.2-2.el6            base 

libreoffice-math.x86_64                         1:4.3.7.2-2.el6            base 

libreoffice-nlpsolver.x86_64                    1:4.3.7.2-2.el6            base 

libreoffice-officebean.x86_64                   1:4.3.7.2-2.el6            base 

libreoffice-ogltrans.x86_64                     1:4.3.7.2-2.el6            base 

libreoffice-pdfimport.x86_64                    1:4.3.7.2-2.el6            base 

libreoffice-rhino.x86_64                        1:4.3.7.2-2.el6            base 

libreoffice-sdk.x86_64                          1:4.3.7.2-2.el6            base 

libreoffice-sdk-doc.x86_64                      1:4.3.7.2-2.el6            base 

libreoffice-wiki-publisher.x86_64               1:4.3.7.2-2.el6            base 

libreoffice-xsltfilter.x86_64                   1:4.3.7.2-2.el6            base 


And the error is in the test unoconv page. I press "Download pdf test" button and it redirectme to the PDF online in my browser, but shows me and error message that show me this: (See screenshots)



Attachment unconv test path.png
Attachment unconv test pdf error.png
In reply to Santiago Mendoza Ramirez

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Ken Task -
Picture of Particularly helpful Moodlers

So we didn't try https://moodle.org/mod/forum/discuss.php?d=337043#p1358595

The error, in es, via Google search leads to:

https://helpx.adobe.com/es/acrobat/kb/cant-view-pdf-web.html

Like I mentoned before, I use a Mac and the test shows just fine, but I don't have Adobe on this laptop nor do I use Windows.   So this could be due  to what the help file from Adobe talks about.

The URL I see is: /moodle31/mod/assign/feedback/editpdf/testunoconv.php?sendpdf=1&sesskey=JlPS71r0MM

Your's would be slightly different .... moodle code directory and the sesskey part.

To see if the server is actually converting documents correctly, please try what was suggested at this posting:

  https://moodle.org/mod/forum/discuss.php?d=337043#p1358595

attached is what I see ...

'spirit of sharing', Ken

Attachment Screen Shot 2016-08-01 at 9.20.42 AM.png
In reply to Ken Task

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Santiago Mendoza Ramirez -

Well, i do what you say and the PDF works okay (as seen in the screenshot)

Attachment test unoconv.png
In reply to Santiago Mendoza Ramirez

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Ken Task -
Picture of Particularly helpful Moodlers

Well, that proves server's unoconv is working if you converted via command line from your server and put the PDF file in a place outside of Moodle to download/view.  The PDF file you show is what it should say/show from the ODT doc provided.  Still don't recognize the software being used to display that PDF.   Is it Adobe?  On Windows? On?

When you accessed that testunoconv.pdf file using your browser, did the PDF automagically open in?  The first screen shot showed a black background.   The second screenshot shows something different.   What browser are we using?

The link provided for Adobe help ... was that of no help?   Did you need to upgrade/update your Adobe software?

So where does that leave us?   Back to Moodle?

If so, then what, if anything, does apache access and error logs show?   And if we turned on debugging ... all the way to developer, do we get anything?

Am about out of things to suggest.

'spirit of sharing', Ken

In reply to Ken Task

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Ruth T -

Hi ken, 

Make sure you run a unoconv listener.

see information here: https://docs.moodle.org/31/en/Installing_unoconv#Run_a_unoconv_listener


Ruth 

Developer in OpenApp

In reply to Ruth T

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Ken Task -
Picture of Particularly helpful Moodlers

@Ruth T

Thanks for that info ... see that documentation has been increased.

See the docs now include a how-2 for a  listener in CentOS 7,, but ...

CentOS 7 is latest and greatest of that disto.
CentOS 6 still has a shelf life and is still offered as an option for installation
in such providers as Amazon and Google.
CentOS-6 updates until November 30, 2020
That's far enough out such that there is no pressing reason moving to 7.

There's quite a bit of difference in CentOS 6 and 7 (thus also RedHat Enterprise).

The shared listener setup I assume for CentOS 6 should be a script in /etc/init.d/

Format of the example 'listener' given is not compat with CentOS 6 and the paths are also different (which could be due to method of installing, I realize.)

A startup script in 6 normally has 'cases' for start, stop, status, restart.

The only docs I can find on the net for setting up a listener on CentOS 6 has to do with Oracle which doesn't show the resulting /etc/init.d/ file ... only a GUI panel of some sort.

Is there a doc that describes how to setup a listener on CentOS 6 anywhere?

Would imagine the same situation might be true of other popular LTS versions of OS's ... like Ubuntu.

'spirit of sharing', Ken


Average of ratings: Useful (1)
In reply to Ken Task

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Ruth T -

Hello ken,

In centos 6  befor running the listener you need to create a service.

You can see how to do it here: https://blog.hazrulnizam.com/create-init-script-centos-6/

Good luck,

Ruth

Developer in OpenApp

In reply to Ruth T

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Ken Task -
Picture of Particularly helpful Moodlers

Thanks, Ruth T!   Gives more food for thought.

Have checked it out.   Still attempting to think it though ...

Did find this resource for others in similar situation ...

http://idroot.net/tutorials/how-to-install-apache-solr-on-centos-6/

For a standalone server running multiple instances of moodle 3.1.x
there would need to be an apache solr running for each instance using
a different port and a different core.   Hmmmm ... no, better yet, one apache solr instance with multple 'cores' per instance of Moodle - like moodle, moodle2, moodle3, etc..

See that there is a Google Apps engine dedicated Solr server available ... but it's Bitnami. :|

'spirit of sharing', Ken



In reply to Ken Task

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Daniel Tran -

HI Ken,

Here's a script that works on CentOS 6 / RHEL 6 to start unoconvd as a listenner.

I found it here: https://gist.github.com/jdewit/9038765

Copy it to /etc/init.d then:

- sudo chown root: unoconvd

- sudo chmod 755 unoconvd

- sudo chkconfig --add unoconvd

- sudo service unoconvd start


Regards,


Average of ratings: Useful (1)
In reply to Daniel Tran

Re: The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.

by Ken Task -
Picture of Particularly helpful Moodlers

Many thanks, Daniel.

'spirit of sharing', Ken