EsupPortail/H5PP

Python 3 Compatibility

Opened this issue · 14 comments

Are there any plans for python 3?

Soon. A Python3 + Django 1.11 version will arrive this summer (June).

I have merged some previous work we did on Python 3 with another fork that would be helpful.

I created a pull request combining work I did and another fork I found on github with the H5PP master. It should be a good way along.

One year after... Is there any repo for H5PP for django2.0 and python 3.6 ? Thanks.

No, we try to push H5PP in python3 to django 1.11 but not in 2.0.
We think that we will stop this plugin.

Bonjour ptitloup,
avec ce pseudo, vous devez etre français.
Pour quoi arreter ce plugin h5PP pour django ?
Avez vous autre chose de mieux ?
st-il possible d'installer ces librairies manuellement via MySQL ?

Bon, je vais devoir m'y mettre alors car H5P à l'air vraiment bien et je ne suis pas adepte de moodle ! Trop peu ergonomique....

Hi, I have been working on this in my spare time, the dev branch contains work previously done for python 3 compatibility and should work on Django 2. I don't have a lot of free time to work on it right now, but I may have a client interested in further work in the future, and if you have funding, I may be available to work on it sooner.

At this time, I've got an error on the JSONDecoder code

raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[05/Jun/2019 18:16:28] "GET /h5pp/editorajax/0/?libraries&machineName=H5P.ArithmeticQuiz&majorVersion=1&minorVersion=1 HTTP/1.1" 500 21297

I can upload all the librairies, and select it on the page. And then this error arrive !

2019-06-05_18h24_05

Design is easy... for after !!!

Hi tdxdave,

I don't understand how it's possible to display page !
With these files, for example :
2019-06-06_19h35_29

I include these inside the html ?
I dont' know node.js.
I need to uns=derstand what I need to display html page.

THANKS

Hi, sorry I am not sure what the problem is. Issues are for specific bug reports, with steps to reproduce, it isn't really a support channel.