-
Bug
-
Resolution: Fixed
-
Major
-
3.1
-
Windows Server 2008r2
PHP 5.6.8
-
Any
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
m31_
MDL-53837_Is_Executable_Python_Script_Windows -
The new grading interface for mod assign in 3.1 looks great, but the conversion of files to PDF doesn't work on windows servers.
This is because we are trying to execute a python script from PHP. According to PHP bug #41062 (https://bugs.php.net/bug.php?id=41062) the function is_executable will only return true for files ending in exe, com, bat, or cmd. Since unoconv is a python script (.py) the executable checks here:
https://github.com/moodle/moodle/blob/master/admin/settings/server.php#L15
(due to the is_executable call here:
https://github.com/moodle/moodle/blob/master/lib/adminlib.php#L2548)
and here
https://github.com/moodle/moodle/blob/master/lib/filestorage/file_storage.php#L227
will always return false preventing any document from being converted
- blocks
-
MDL-53923 unoconv should check for minimum version
-
- Closed
-
-
MDLQA-9790 CLONE - A teacher can use assignment grading interface to annotate over students file submissions
-
- Passed
-
- has a non-specific relationship to
-
MDL-52954 Improvements to the Assignment grading user interface
-
- Closed
-