Cannot upload attached .h5p file

Could anyone provide assistance on why the attached .h5p file might be corrupted?

 

 

  1. A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced. To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData. Note that for performance reasons, only the first access to one of the properties is shown. 1 source main.c9212416.js:1


     

    2. In h5p

    Validating h5p package failed.

    The file you uploaded is not a valid HTML5 Package (We are unable to unzip it)Get help

Summary: 
h5p corrupt file, upload error in h5p, lumi

 

Could anyone provide assistance on why the attached .h5p file might be corrupted?

otacke's picture

Hi!

The h5p file is merely a zip file, and it seems it was not properly written. This could be an issue with the zip implementation that Lumi uses, could be a problem in Lumi, or potentially Lumi was just closed before it had finished writing the file?

Best,

Oliver 

Oliver, thank you for confirming that. After investigating I realized you can change the file type to zip and it shows all the libraries, etc. It appears that the file got corrupt during saving - some interruption must have occurred during the saving and not everything was written to the libraries correctly.

otacke's picture

Yup, that is what I assumed when writing "potentially Lumi was just closed before it had finished writing the file".

Oliver, Thank you. After investigating that the h5p can be viewed as a zip with all the libraries I realized that it likely that the file got corrupt due to an interruption during the saving process.