up2university / docker-moodle

A Dockerfile that installs the latest Moodle, Apache, PHP, and MySQL
3 stars 9 forks source link

Error when I upload a h5p exercise. #118

Open ivanoterouvigo opened 5 years ago

ivanoterouvigo commented 5 years ago

Hi everyone!

I found other issue related with h5p exercises.

When I add an activity made with h5p, I have the posibility of creating directly or upload an h5p file.

In this case I uploaded an h5p as I show you in the image bellow.

error upload h5p files_v000

But I got this errors.

error upload h5p files_v001

I also add the llinks

The main h5p.json file is not valid. Get help

A valid main h5p.json file is missing. Get help

athird commented 5 years ago

@ivanoterouvigo Could you email me/send me a link to the package you were trying to install? And which version of H5P is it intended for?

ivanoterouvigo commented 5 years ago

Hi @athird. It didn't work with any package. Anyway I share with you and instance.

h5p_ejemplo_v000

You can download this example. Link

Regards

Callustian commented 5 years ago

@athird @ivanoterouvigo It seems this is not a problem, using the current version of Moodle.

ivanoterouvigo commented 5 years ago

@Callustian @athird I've just check and I found some problems with h5p in the production platform.

QA-testing-H5P

The problem is the same we had at the begining of this post.

Callustian commented 5 years ago

Hi @ivanoterouvigo , @athird The teachers' machine contains a 1.17.2 version of h5p. Currently a QA team is verifying the release. I did not make changes to the production machine. Furthermore I am a bit puzzled, ( https://moodle.org/plugins/pluginversions.php?plugin=mod_hvp ) tells us that the latest version of h5p is 1.18. I accept suggestions. Thanks.

ivanoterouvigo commented 5 years ago

Hi @Callustian,

Could you check if this issue happens in moodle test platform (MTP)? Because, I made the same demo test in both platforms and the only problem was when I tried in moodle production platform (MPP).

Maybe not suggestions but more info about h5p. H5P release history https://h5p.org/h5p-release-history

and if you think it is need we could type a cuestion here https://github.com/h5p/h5p-php-library

in order to know more about the issue

Callustian commented 5 years ago

Hi @ivanoterouvigo ,

I don't experience the problem trying on the teacher's machine. Could you send the package you try to upload?

Thanks.

image

image

ivanoterouvigo commented 5 years ago

Hi @Callustian,

Yes, here you are.

example-content-virtual-tour-360-441814.zip

Unzip the package before use it.

I've just checked now and It had the same issue.

Regards

Callustian commented 5 years ago

Hi @ivanoterouvigo ,

I apologise, the problem does not occur on the teachers' machine ( https://learn.test.up2university.eu ),

image

Production's machine's version is not 1.17.2

Regards

ivanoterouvigo commented 5 years ago

Hi @Callustian

I apologize for missundertanding.

Your teacher's machine = Moodle Test platform (MTP) https://learn.test.up2university.eu It works fine

Moodle production platform (MPP) https://learn.up2university.eu It doens't work

Callustian commented 5 years ago

Hi @ivanoterouvigo

No problem. There is a QA team that is verifying the release on the Moodle Test platform. If the release work as expected I shall also change production.

If you want to verify Poddium or other apps, please use the Moodle test platform.

Thanks.

andreacorleto commented 5 years ago

@Callustian @ivanoterouvigo In the test instance (Moodle 3.6.2 version) H5P works fine even when uploading h5p files from local computer (not generating h5p contents into moodle).