miotto / moodle-fileconverter_flasksoffice Goto Github PK
View Code? Open in Web Editor NEWThis Moodle plugin uses a separat Linux server with Flask and LibreOffice for converting documents.
This Moodle plugin uses a separat Linux server with Flask and LibreOffice for converting documents.
Install the latest release on moodle.org site with moodle version 3.11.2
Here is the cron debugging output:
Execute scheduled task: Prepare submissions for annotation (fileconverter_flasksoffice\task\convert_submissions)
... started 14:37:58. Current memory use 13.9MB.
flasksoffice: Processing pending document conversions
flasksoffice: Processing conversions for file id: 13602889
flasksoffice: Found: 1 conversions for file id: 13602889
Warning: copy(/home/moodledata/moodledata/filedir/e3/77/e3775a6c75ced9710961e3766dc5e7004eec8811): failed to open stream: No such file or directory in /var/www/html/moodle311/lib/filestorage/file_system_filedir.php on line 234
... used 5 dbqueries
... used 0.26699900627136 seconds
Scheduled task failed: Prepare submissions for annotation (fileconverter_flasksoffice\task\convert_submissions),Coding error detected, it must be fixed by a programmer: operation aborted by callback (42)
Debug info:
42
Backtrace:
line 235 of /files/converter/flasksoffice/classes/converter.php: call to fileconverter_flasksoffice\converter->start_document_conversion()
line 77 of /files/converter/flasksoffice/classes/task/convert_submissions.php: call to fileconverter_flasksoffice\converter->poll_conversion_status()
line 253 of /lib/cronlib.php: call to fileconverter_flasksoffice\task\convert_submissions->execute()
line 167 of /admin/cli/scheduled_task.php: call to cron_run_inner_scheduled_task()
However, some time the debugging output looks fine as:
Execute scheduled task: Prepare submissions for annotation (fileconverter_flasksoffice\task\convert_submissions)
... started 16:11:29. Current memory use 13.8MB.
flasksoffice: Processing pending document conversions
... used 2 dbqueries
... used 0.017715930938721 seconds
Scheduled task complete: Prepare submissions for annotation (fileconverter_flasksoffice\task\convert_submissions)
It just fails randomly without an obvious pattern, any advice or suggestion would be much appreciated, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.