General plugins

Turnitin Moodle Direct version 2

 
 
Picture of John McGettrick
Re: Turnitin Moodle Direct version 2
 

Hi Hittesh,

You don't need to use the turnitintooltwo module but it will have to be installed as it shares code, a dependency on it is being added to the Plagiarism plugin with our next release.

The plugin replicates the functionality from Dan Marsden's version with the addition of GradeMark and PeerMark.

Regards

John

 
Average of ratings:Useful (1)
Picture of Hittesh Ahuja
Re: Turnitin Moodle Direct version 2
Group Testers

thanks john smile

 
Average of ratings: -
Picture of Hittesh Ahuja
Re: Turnitin Moodle Direct version 2
Group Testers

Hi John,

Two quick questions :

1. Are we supported by turnitin if any of the three plugins break down i.e Can we raise tickets for Turnitin to deal with for these ?

2. I have intermittent connection issue on the settings page saying "Could not connect to Turnitin. Double check your API URL setting." and the log output says "

2014-01-20 10:04:46 +0000 (API_ERROR) - There was an error connecting to Turnitin the return error message is below:<br /><br/><br/>File: /opt/moodle/tags/moodle-2.5.0-022/mod/turnitintooltwo/sdk/soap.class.php | Line: 223 | Message: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.turnitin.com/static/resources/files/lis-coursesection.wsdl' : failed to load external entity "http://www.turnitin.com/static/resources/files/lis-coursesection.wsdl"
 | Code: 0

"

I have the openssl mod installed on my server. Using PHP 5.3.3 linux debian. I can load the file using the browser, curl and wget just fine.

I have also disabled WSDL cache on my server to prevent any WSDL caching. 

Many thanks, 

Hittesh

 
Average of ratings: -
Picture of Hittesh Ahuja
Re: Turnitin Moodle Direct version 2
Group Testers

Hi John,

Another question on the plagiarism tool - Will the tool pick up from where Dan's plugin left off.

For example, If  a submission point is succesfully submitted to turnitin and is awaiting similarity score for that assignment, it sets a 'pending' status in the plagiarism_files table. After that point, if we switch to the moodledirectv2 plugin, will it process those files and fetch the similarity score for that assignment.

From what I see in your code , when running the cron() function under plagiarism / turnitin/ lib.php ,

it only looks at entries with the status 'success' ie. 

$submissions = $DB->get_records('plagiarism_turnitin_files', array('statuscode' => 'success', 'similarityscore' => null),
'', 'externalid, cm');

Also, when you first add a submission to an assignment that is turnitin enabled, the new plugin adds a statuscode of 'success' and sets the similarity score to NULL which is then picked up by the code above.

I'm just trying to work out how can this fallback to Dan's code that sets the statuscode of a new file to 'pending'

 

Many thanks

Hittesh

 
Average of ratings: -
Picture of John McGettrick
Re: Turnitin Moodle Direct version 2
 

Hi Hitesh,

The cron function is only for getting scores and grades so will only look for successfully submitted files. There would still be an event for a pending submission so that would be submitted when events are processed. That also happens when the cron runs just not in that function.

You can raise points regarding all 3 with Turnitin if you have any issues.

Hope that helps.

John

 
Average of ratings: -
Picture of Alex Hosmer
Re: Turnitin Moodle Direct version 2
 

Hi Hittesh, I've been having this exact issue since installing Moodle Direct version 2.

I'm using a Mac Webserver os 10.7.

I'm getting the "Could not connect to Turnitin. Double check your API URL setting."

and

"turnitintooltwo/There was an error trying to find the user in Turnitin Fault Code: VersionMismatch | File: [dirroot]/mod/turnitintooltwo/sdk/usersoap.class.php | Line: 157 | Message: Wrong Version | Code: 0"

Were you able to resolve the problems you were having with your server?

 
Average of ratings: -
Picture of Jorge Villalon
Re: Turnitin Moodle Direct version 2
 

Hi Alex,

I'm also having the same problem here with v2. Can't connect to TII and the diagnostic code is not producing an api log which I could even look at. Even though TurnitIn is valued by teachers, it is a huge problem for our technical department.

We also have a different recurring problem with TII, which is that daylight saving hours in Chile were extended, so for example the old daylight saving indicates a time change today, however we won't do it until April. As TII calculates time according to traditional timezones we get an error from servers' handshaking so we have to change our timezone to somewhere else in order to make Moodle work with TurnitIn and therefore showing stupid information to users (wrong timezone like if they were in Argentina instead of Chile)...

I have posted issues asking for tech support in TurnitIn's website but they have never replied sad

I guess we must be too small a client for them to get interested in our problems.

 
Average of ratings: -
Picture of Dan Marsden
Re: Turnitin Moodle Direct version 2
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Plugins guardiansGroup TestersGroup Translators

Hi Jorge,

Turnitin support can take a bit of time - specifically when related to more complex integration problems. If the standard support desk can't help directly they have to escalate the issue to the development team, then wait for a response from them before they can pass that back to you. From what I understand they only work Mon-Fri - you should get a response but it won't be instant. Their dev team also tries to keep an eye on Moodle posts too so I'm sure you'll hear something soon smile

This sounds like it would require a change to some code somewhere to fix as well - If it requires a change to their API it will need to go through Turnitins internal QA and release process which usually takes a bit of time as well.

 
Average of ratings: -
Picture of John McGettrick
Re: Turnitin Moodle Direct version 2
 

Hi Alex/Jorge,

That sounds like you are using the old API address which includes "/api.asp". If you remove this from the URL it should work.

Jorge, I will investigate your support case.

John

 
Average of ratings: -
Picture of Alex Hosmer
Re: Turnitin Moodle Direct version 2
 

John,

Thanks - That was part of the problem. The administrative guide still includes/api.asp in the URL. It still didn't work after removing that part of the URL, but I did eventually require that fix.

I found that I also needed to go into curl to tell it to ignore our self signed certificate because of this information listed on the cURL website:

 

If the remote server uses a self-signed certificate, if you don't install a CA

cert bundle, if the server uses a certificate signed by a CA that isn't

included in the bundle you use or if the remote host is an impostor

impersonating your favorite site.

 

 

In terminal I entered: curl -k https:ourweburl --insecure

 

Hope this helps others not sporting an expensive ssl certificate.

 

 
Average of ratings: -
Picture of Hittesh Ahuja
Re: Turnitin Moodle Direct version 2
Group Testers

Is the plugin fully supported for Moodle 2.6 ?

 
Average of ratings: -
Picture of Dan Marsden
Re: Turnitin Moodle Direct version 2
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Plugins guardiansGroup TestersGroup Translators

Yes - the new plugin from Turnitin and my older plugin both work fine in Moodle 2.6 (although I am likely to drop support for my plugin in 2.7)

 
Average of ratings: -
Picture of John McGettrick
Re: Turnitin Moodle Direct version 2
 

Hi Hitesh, as Dan says, the Turnitin plugin works fine in Moodle 2.6.

Thanks

 
Average of ratings: -
Picture of David Sturrock
Re: Turnitin Moodle Direct version 2
 

Some initial issues we were having with Moodle Direct V2 have been sorted, but still have a problem with report exclusion settings not being carried over into the TII report itself.

So plagiarism plug-in settings for assignments are set to default to exclude bibliography and quotes; specific Moodle assignments show these settings as being in place; but the generated TII reports don't have these items excluded. Once a report is generated, you can manually apply the exclusions using the filter options.

This causing some confusion to our staff and students who have been given guidance on recommended similarity scores based on these exclusions being in place.

Is anyone else having this type of issue?

And a related but separate question - can anyone give some guidance on how I can login to TII itself and view the TII class and assignment that matches with the course/assignment created in Moodle?

 
Average of ratings: -
Picture of John McGettrick
Re: Turnitin Moodle Direct version 2
 

Hi David,

Apologies for the bug, we'll get that fixed for the next release.

Regarding logging in to Turnitin, you can use your email address and send yourself a reset password link. You can then get the class/assignment id from your Moodle database and navigate to them within Turnitin.

Regards

John

 

 

 

 
Average of ratings: -
Picture of David Sturrock
Re: Turnitin Moodle Direct version 2
 

Thanks for the tip John. I have to add myself as a teacher in the Moodle course first smile

On first login to TII I get the student view but can easily toggle to instructor.

Cheers
David

 
Average of ratings: -
Picture of Rob Bright
Re: Turnitin Moodle Direct version 2
 

I'm also having problems with Turnitin.

I followed the instruction manual down to the letter and keep coming up with this problem.

Could not connect to Turnitin. Double check your API URL setting.

I have made sure the API Url is set to https://www.turnitin.com and my user details are the same as I use to log in to the Turnitin site. Moreover, the developer error comes up with this:

turnitintooltwo/Turnitin Class creation failed
Fault Code: Authentication Fault | File: [dirroot]/mod/turnitintooltwo/sdk/classsoap.class.php | Line: 38 | Message: "oauth_consumer_key" value is missing or not valid.. | Code: 0

Not to sure what to do now really. I would appreciate any help. We're running PHP 5.3.3 with Moodle 2.6.2 and an official signed SSL from Verisign.

 
Average of ratings: -
Picture of John McGettrick
Re: Turnitin Moodle Direct version 2
 

Hi Rob,

It looks you are using the wrong details. You have to login to your Turnitin account and set up a secret key in the Configurations dashboard which is what you enter on the setup page.

You should be able to connect then without any problems.

John


 
Average of ratings: -
Picture of Rob Bright
Re: Turnitin Moodle Direct version 2
 

Thanks for the reply.

I had already set up the secret key and account ID on the turnitin site; however, there were issues with php and cURL support. I ended up recompiling PHP with cURL support and then passed through fine.

 
Average of ratings: -
Picture of David Sturrock
Re: Turnitin Moodle Direct version 2 - plagiarism plugin issues
 

Hi John

Has the exclusion setting issue been addressed yet or is there a pending release that will do so?

Also, we separately reported issues with reports being not being run after the Moodle due date and new reports not being generated unless students rename their files. They were acknowledged as issues late March/early April - are they on the fix list too?

Cheers
David

 
Average of ratings: -
Picture of John McGettrick
Re: Turnitin Moodle Direct version 2 - plagiarism plugin issues
 

Hi David,

The exclusion setting issue has been fixed and is currently scheduled to be released this week.

The due date submission issue is scheduled to be looked at and should be sorted in one of our next releases over the summer. The new reports for files with the same name issue has also been looked at and will be out in the release this week.

Cheers

John

 
Average of ratings: -
Picture of David Sturrock
Re: Turnitin Moodle Direct version 2 - plagiarism plugin issues
 

Thanks for the update John. looking forward to the new releases.

Cheers

David

 
Average of ratings: -
Picture of David Sturrock
Re: Turnitin Moodle Direct version 2 - plagiarism plugin issues
 

Hi John

Can you clarify if these fixes are part of a release on Turnitin.com or whether there will be a Moodle plugin update at https://github.com/jmcgettrick/MoodleDirectV2?

Cheers


 
Average of ratings: -
Picture of John McGettrick
Re: Turnitin Moodle Direct version 2 - plagiarism plugin issues
 

The version of the plugin on Turnitin.com and on github are currently the same. The most up to date will always be on the develop branch on github, the master branch will then be updated at the same time as the version on turnitin.com.

 
Average of ratings: -
Picture of David Sturrock
Re: Turnitin Moodle Direct version 2 - plagiarism plugin issues
 

Thanks John - it's just that you mentioned a release due last week, but github hasn't been updated since 20 May. So I wasn't sure if the release you were referring to was part of an update to Turnitin.com or the api itself rather than the Moodle plugin.

 
Average of ratings: -
Picture of Henry Crutcher
Re: Turnitin Moodle Direct version 2
 

Removing the api.asp from the url and otherwise copying all the info worked perfectly.  Also, one can hide turnitin one, while still using it, to discourage teachers from creating new instances...

 
Average of ratings: -