MooTyper
Maintained by
RACHELS, DANIEL A.
MooTyper implements a typing practice/instruction functionality into Moodle.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
mdl_mootyper
mdl_mootyper_attempts
mdl_mootyper_checks
mdl_mootyper_exercises
mdl_mootyper_grades
mdl_mootyper_layouts
mdl_mootyper_lessons
When you tried to translate you own lesson, were you doing it in the MooTyper built in lesson editor? Or, were you using an external text editor, such as Notepad++?
MooTyper version
I was using 3.9.1+ (Build: 2020070801), then when I had this error, I tried to uninstall, delete from DB, and re-install version 3.9.6 (Build: 2021032000), yet the error still persists.
Moodle version - 3.9
PHP version - 7.4.13
Database type and version - mySQL / 5.5.3
For me to possibly be able to help, I need to know your MooTyper version, your Moodle version, your php version and your database type and version.
I'm getting the below error when I click on setup :
Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT * FROM mdl_mootyper_exercises WHERE lesson=
[array (
)]
Error code: dmlreadexception
Stack trace:
line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 1273 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 181 of /mod/mootyper/classes/local/lessons.php: call to mysqli_native_moodle_database->get_records_sql()
line 383 of /mod/mootyper/mod_setup.php: call to mod_mootyper\local\lessons::get_exercises_by_lesson()
This plugin was running fine all the while. I'm facing this issue when I tried to translate my own lesson in this plugin. I deleted the lesson and even tried to uninstall and deleted the database, yet the same issue persists when I reinstall the plugin.
Anyone else faced the same issue?
What version of MooTyper are you using, which PHP version, and what database type? Ned to know so I can try to duplicate.
I am always happy to hear from users of MooTyper. Yes, if you send me the file, I will be happy to include the German Lessons in the next MooTyper release. drachels at drachels dot com Next release should be sometime in the next couple of weeks as I am currently testing it with the new Moodle 3.10 code, to make sure everything is going to work okay.
By the way, which keyboard layout are you using? Would you be interested in one that has the number keypad on the right side, like the EnglishWKeypad(USV6)? If you are interested let me know and I will try to get it done in the next day or two.
MooTyper is a quite nice Tool. But I'm abit struggeling, because I want to distribute ready made Lessons for german available for all user.
In our Bundesland/Federate Country Rhineland-Palatinate we have a common moodle installation but with different instances. Our admin is not sure how to get the lessons to all of the users and we did not find detailed informations.
As far as I understood the informations at the plugin-page the plugin gets the file for lessons and keyboards by the server or installations-file!?
My ideas is and hence the question, if I can send you the lessons and you can add it to the official collection of lessons?
Best regards, Birgit Lachner
Currently, this means I will make sure MooTyper works with Moodle 3.5 or higher and PHP 7.1 or higher. Yes, I know that Moodle 3.5 specifies PHP 7.0, but I have adopted some PHP stuff that became available in 7.1.
I also realize there are going to be a few users unwilling to upgrade their sites to Moodle 3.5 and higher, that are going to want to be able to take advantage of MooTyper's new gradebook capabilities that will not be happy with this decision. Simply because researching for this upcoming release I know what needs to be changed, this one time I will try to make available a custom version of MooTyper that will work on Moodle 3.4 and lower and with a lower version of PHP. To get the zip file, you will need to contact me via email message, and I'll see that you get the needed zip file.
I'm posting this now because the upcoming MooTyper 3.9.2 version does have both the Moodle Grade and Moodle Ratings working in it, and I know may people will be glad to finally have this capability. I am going to delay its release for a few days, as right now it only works for Moodle 3.9 and Moodle 3.8. That's because the forum code I was copying is using some "new stuff" introduced in Moodle 3.8. Since about 36% of the sites using MooTyper, are on Moodle versions 2.7 thru 3.7, they would not be able to take advantage of having MooTyper automatically place grades in the Moodle grade book.
The way I am adding the rating is slightly different from other Moodle plugins where a teacher has to manually enter a rating. In MooTyper when a student finishes an exercise, the precision percentage is automatically entered as a rating based on what the activity is set to use: average, count, maximum, minimum, or sum, of rating.
For anyone who would like to see these enhancements in use, I have a Mootyper 3.9.2 BETA branch that includes these plus a bunch of other stuff, installed at http://m3x.drachels.com/ The best place to see this in action is in the Plugin Development course. You can create your own account, and if you contact me directly, drachels at drachels dot com, I can give you teacher access.
The grade book integration currently just updates a students grade to the last completed exercise grade, so it really is only suitable for a MooTyper exam.