qgis / QGIS-Django

Django project for QGIS related activities such as plugin repository
http://qgis.org
GNU General Public License v2.0
86 stars 59 forks source link

No image preview for models and 3D models and they are not downloadable #298

Closed DelazJ closed 5 months ago

DelazJ commented 10 months ago

At https://plugins.qgis.org/models/?order_by=-upload_date&&is_gallery=true (or its 3D counterpart), all that I can see is

image And if ever I try to download any 2D or 3D models, I get:

Error 500: internal application error.

An email message with all error details has been sent to our staff that will fix the issue ASAP.

sumandari commented 9 months ago

refer to: https://github.com/qgis/QGIS-Django/blob/20576119fe0f05a927a09f096e1072d85f7f04f6/qgis-app/templates/base/list_galery.html#L97 there is a possibility that the issue is coming from static files. if the image from a particular model is not found in the model object, it will display the QGIS icon instead.

@timlinux, @dimasciput could you please share the log error from https://plugins.qgis.org/models/30/download/ to confirm the issue?

agiudiceandrea commented 8 months ago

See also: https://lists.osgeo.org/pipermail/qgis-developer/2023-November/066202.html.

Xpirix commented 5 months ago

The fix for this issue has been deployed. However, some of the processing models could not be recovered. We notified the authors about the issue and asked them to re-upload.