Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54948

unoconv version check fails on windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.2
    • Fix Version/s: 3.1.1
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide
      PRE-REQUISITES
      • This MUST be tested on Windows and Linux.
      • To start the test, you MUST install unoconv version 0.6.
      • Linux TIP: To start the test, I've recommend you to install unoconv through apt-get sudo apt-get install unoconv, this will install the unoconv version{{0.6}} the current version on the ubuntu repo. Then, once you test the warning message of not supported version, download the deb package and install it using the command dpkg.
      • On windows, I recommend you to start our Win10-AllDrivers VM and follow the instructions on the Unoconv install docs, basically you will need to clone the unoconv github and switch between tags.
        TEST
      1. Visit Site administration ► Server ► Environment
      2. You should see the following warning message under Other checks:
        • The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher.
      3. Visit Site administration ► Plugins ► Activity modules ► Assignment ► Feedback plugins ► Annotate PDF
      4. Click on Test unoconv path link under Path to unoconv document converter
      5. You should see an warning saying the unoconv version is not supported.
      6. Now, install the unoconv version 0.7 or higher
        • Confirm the version by executing: unconv --version
      7. Site administration ► Server ► Environment
      8. You should NOT see any unoconv related warning.
      9. Visit Site administration ► Plugins ► Activity modules ► Assignment ► Feedback plugins ► Annotate PDF
      10. Click on Test unoconv path link under Path to unoconv document converter
      11. On the unoconv test page, you should see confirmation the unoconv path appears to be properly configured...
      12. Click on the Download button and make sure a test pdf was generated.

      Docs page about unoconv: https://docs.moodle.org/31/en/Installing_unoconv

      Show
      PRE-REQUISITES This MUST be tested on Windows and Linux . To start the test, you MUST install unoconv version 0.6. Linux TIP : To start the test, I've recommend you to install unoconv through apt-get sudo apt-get install unoconv , this will install the unoconv version{{0.6}} the current version on the ubuntu repo. Then, once you test the warning message of not supported version, download the deb package and install it using the command dpkg. On windows, I recommend you to start our Win10-AllDrivers VM and follow the instructions on the Unoconv install docs , basically you will need to clone the unoconv github and switch between tags. TEST Visit Site administration ► Server ► Environment You should see the following warning message under Other checks : The version of unoconv you have installed is not supported. Moodle's assignment grading feature requires version 0.7 or higher. Visit Site administration ► Plugins ► Activity modules ► Assignment ► Feedback plugins ► Annotate PDF Click on Test unoconv path link under Path to unoconv document converter You should see an warning saying the unoconv version is not supported. Now, install the unoconv version 0.7 or higher Confirm the version by executing: unconv --version Site administration ► Server ► Environment You should NOT see any unoconv related warning. Visit Site administration ► Plugins ► Activity modules ► Assignment ► Feedback plugins ► Annotate PDF Click on Test unoconv path link under Path to unoconv document converter On the unoconv test page, you should see confirmation the unoconv path appears to be properly configured... Click on the Download button and make sure a test pdf was generated. Docs page about unoconv: https://docs.moodle.org/31/en/Installing_unoconv
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-54948-master

      Description

      A user reported the unoconv version check is not working on windows.

      I guess this is related with the command check, probably the version number comes in a different line (we are checking just the first line)

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jul/16