You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to import an Analytics model exported from Moodle 3.9.1 into another Moodle 3.9.1 installation, but I get error:
analytics/errorimportmodelresult
Error code: errorimportmodelresult
line 588 of /lib/mlbackend/python/classes/processor.php: moodle_exception thrown
line 438 of /lib/mlbackend/python/classes/processor.php: call to mlbackend_python\processor->exec_command()
line 131 of /analytics/classes/model_config.php: call to mlbackend_python\processor->import()
line 1613 of /analytics/classes/model.php: call to core_analytics\model_config->import()
line 58 of /admin/tool/analytics/importmodel.php: call to core_analytics\model::import_model()
I also get the following PHP Notice in webserver log:
PHP Notice: The indicator 'indicator:RESOURCE_2' should include a 'indicator:RESOURCE_2_help' string to describe its purpose
Any idea why the model import fails?
I use the moodlemlbackend v2.6.5 with Moodle 3.9.1.
Is the model you exported from a previous moodlemlbackend version? - eg something you've stored previously rather than one generated with the v2.6.5 mlbackend? If so, you'll need to re-train - pretty sure you can't take a model that you generated on an old version and then use that same model on the new mlbackend version.
Also - you really need to update that moodle site... 3.9.1 almost 2 years old and is missing a lot of bug and security fixes.
I try to import an Analytics model exported from Moodle 3.9.1 into another Moodle 3.9.1 installation, but I get error:
analytics/errorimportmodelresult
Error code: errorimportmodelresult
line 588 of /lib/mlbackend/python/classes/processor.php: moodle_exception thrown
line 438 of /lib/mlbackend/python/classes/processor.php: call to mlbackend_python\processor->exec_command()
line 131 of /analytics/classes/model_config.php: call to mlbackend_python\processor->import()
line 1613 of /analytics/classes/model.php: call to core_analytics\model_config->import()
line 58 of /admin/tool/analytics/importmodel.php: call to core_analytics\model::import_model()
I also get the following PHP Notice in webserver log:
PHP Notice: The indicator 'indicator:RESOURCE_2' should include a 'indicator:RESOURCE_2_help' string to describe its purpose
Any idea why the model import fails?
I use the moodlemlbackend v2.6.5 with Moodle 3.9.1.
I found interesting note in the following release note which relates to model import problems and moodlemlbackend v2.6.5:
2.6.5: Merge pull request #51 from catalyst/catalyst-fix-tests
Might be the error related to this fix in any way?
The text was updated successfully, but these errors were encountered: