thanhtri / plagiarism_programming

A plugin that integrate MOSS and JPlag to Moodle and provide other useful features
12 stars 10 forks source link

Report never completes #3

Open kitsos opened 10 years ago

kitsos commented 10 years ago

The scanning process stucks in that point forever jplag2

When i am running the cron tool of moodle i am getting some errors. the errors are : PHP Warning: fopen(/var/moodledata/plagiarism_report//script_log_2-jplag.html): failed to open stream: No such file or directory in /var/www/moodle/plagiarism/ programming/utils.php on line 251 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var /www/moodle/plagiarism/programming/utils.php on line 252 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var /www/moodle/plagiarism/programming/utils.php on line 253 PHP Warning: fopen(/var/moodledata/plagiarism_report//script_log_2-moss.html): failed to open stream: No such file or directory in /var/www/moodle/plagiarism/p rogramming/utils.php on line 251 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var /www/moodle/plagiarism/programming/utils.php on line 252 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var /www/moodle/plagiarism/programming/utils.php on line 253 PHP Warning: file_get_contents(/var/moodledata/plagiarism_report//script_log_2- jplag.html): failed to open stream: No such file or directory in /var/www/moodle /plagiarism/programming/scan_assignment.php on line 480

PHP Warning: file_get_contents(/var/moodledata/plagiarism_report//script_log_2-

The system was working fine some months ago after you resolved the previous issue i posted. But now it doesn't . Any thoughts about what may i am doing wrong would be appreciated.

Kind Regards , K

RyanNutt commented 9 years ago

I'm seeing something similar. When clicking rescan the MOSS report appears to work fine but it gets stuck on JPlag. It says done and the status bar is at 100%, but it never changes to the report link.

If I click on the MOSS report link I can switch to the JPlag report, so it appears to be running.

Biggest issue is that the rescan button stays disabled and I can seem to find a way to rescan everything.