Comments (3)
I think the fix is to wrap the calls to:
$assignment->setAnonymousMarking($turnitintooltwoassignment->turnitintooltwo->anon);
in a check for if ($config->useanon) {
from moodledirectv2.
What's setting for Anonymous Marking? Yes or No.
I got error message when I query SELECT * FROM mdl_events_queue_handlers WHERE status > 0.
The Mysql return 4 rows.
Eash rows has different error:
The first one:
"Handler function of component plagiarism_turnitin: s:17:""event_mod_updated""; threw exception :turnitintooltwo/There was an error trying to create the assignment in Turnitin
Fault Code: invaliddata | File: /var/www/mod/turnitintooltwo/sdk/assignmentsoap.class.php | Line: 33 | Message: anonymous_marking_enabled - cannot set anonymous_marking_enabled field
| Code: 0
- line 488 of /mod/turnitintooltwo/lib.php: call to print_error()
- line 132 of /mod/turnitintooltwo/turnitintooltwo_comms.class.php: call to turnitintooltwo_print_error()
- line 773 of /mod/turnitintooltwo/turnitintooltwo_assignment.class.php: call to turnitintooltwo_comms::handle_exceptions()
- line 1119 of /plagiarism/turnitin/lib.php: call to turnitintooltwo_assignment::create_tii_assignment()
- line 1362 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->sync_tii_assignment()
- line 1973 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->event_handler()
- line ? of unknownfile: call to event_mod_updated()
- line 299 of /lib/eventslib.php: call to call_user_func()
- line 343 of /lib/eventslib.php: call to events_dispatch()
- line 450 of /lib/eventslib.php: call to events_process_queued_handler()
- line 45 of /lib/classes/task/events_cron_task.php: call to events_cron()
- line 73 of /lib/cronlib.php: call to core\task\events_cron_task->execute()
- line 61 of /admin/cli/cron.php: call to cron_run()"
The second one: Handler function of component plagiarism_turnitin: s:22:"event_content_uploaded"; requested resending of event!
The third one: Handler function of component plagiarism_turnitin: s:19:"event_file_uploaded"; requested resending of event!
The last one: Handler function of component plagiarism_turnitin: s:26:"event_assessable_submitted"; requested resending of event!
from moodledirectv2.
Thanks for the fix Dan, this has been merged in.
from moodledirectv2.
Related Issues (20)
- Turnitin processing files that aren't student submissions HOT 5
- Restore without users failing HOT 5
- Message about unsigned columns on install HOT 2
- Unable to hide Turnitin assignment in Moodle unit HOT 1
- How to retrospectively show similarity scores after upgrade from v1 to v2? HOT 7
- Android layout issue when uploading file
- Grades being overwritten (multiple attempts) - PP HOT 4
- smtp settings checks too picky HOT 1
- Display issue when accepting EULA HOT 3
- No error reporting HOT 2
- Incorrect display of submission status
- Problem with Direct v2 returning on due date HOT 1
- GradeMark option: Use rubric belonging to other instructor HOT 1
- Plugin breaks Totara 2.6 Unit tests HOT 5
- Title limit characters HOT 1
- GradeMark / Turnitin API returns an empty grade for both a grade of zero and an actual null grade HOT 6
- Submissions deleted in Moodle PP don't get deleted in Turnitin HOT 2
- Attaching rubrics to parts of a Turnitin assignment
- Post date is the same as Start Date HOT 1
- Trtn137
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodledirectv2.