gallery icon indicating copy to clipboard operation
gallery copied to clipboard

Failed to initialize engine: %sUNKNOWN: Unable to read associated file in zip archive.

Open moh21amed opened this issue 6 months ago • 20 comments
trafficstars

Image

moh21amed avatar May 20 '25 22:05 moh21amed

Same.

OnePlus 13 Android 15

Sogl avatar May 20 '25 23:05 Sogl

Have you tried downloading from HuggingFace through your normal web browser and using the plus button in the bottom-right corner of Edge Gallery to load the file? It worked for me.

(Before you try to load the file make sure to close other apps, otherwise the app might run out of memory and crash).

ethanc8 avatar May 20 '25 23:05 ethanc8

Same S24Ultra OneUI7

pd-vt avatar May 21 '25 02:05 pd-vt

same on galaxy z fold 6 😭

latent-variable avatar May 21 '25 04:05 latent-variable

Have you tried downloading from HuggingFace through your normal web browser and using the plus button in the bottom-right corner of Edge Gallery to load the file? It worked for me.

(Before you try to load the file make sure to close other apps, otherwise the app might run out of memory and crash).

https://huggingface.co/google/gemma-3n-E2B-it-litert-preview/tree/main I was able to replicate this.

latent-variable avatar May 21 '25 05:05 latent-variable

Have you tried downloading from HuggingFace through your normal web browser and using the plus button in the bottom-right corner of Edge Gallery to load the file? It worked for me.

(Before you try to load the file make sure to close other apps, otherwise the app might run out of memory and crash).

Works for me as well, models loads and works fine this way.

iAdanos avatar May 21 '25 07:05 iAdanos

xiaomi14-16G is the same problem.download from huggingface is working

jiangqing03 avatar May 21 '25 08:05 jiangqing03

I'm facing the same issue, even after downloading from HuggingFace

Samsung Galaxy S22 Ultra Android 14 gallery version 1.0.0

AfkaraLP avatar May 21 '25 09:05 AfkaraLP

Same, but model loaded and unstable working. Realme GT6 neo 24 Gb RAM

4EPBEED avatar May 21 '25 12:05 4EPBEED

Have you tried downloading from HuggingFace through your normal web browser and using the plus button in the bottom-right corner of Edge Gallery to load the file? It worked for me. (Before you try to load the file make sure to close other apps, otherwise the app might run out of memory and crash).

Works for me as well, models loads and works fine this way.

Even the Ask Image?

Adding the model after manual download does not make it appear in the "ask image" area

Jhyrachy avatar May 21 '25 16:05 Jhyrachy

Have you tried downloading from HuggingFace through your normal web browser and using the plus button in the bottom-right corner of Edge Gallery to load the file? It worked for me. (Before you try to load the file make sure to close other apps, otherwise the app might run out of memory and crash).

Works for me as well, models loads and works fine this way.

Even the Ask Image?

Adding the model after manual download does not make it appear in the "ask image" area

Yes, when adding model from file you have to switch on "vision" switch.

UPD: This one:

Image

iAdanos avatar May 21 '25 17:05 iAdanos

Gemma3 12B Image

Synthacon avatar May 30 '25 06:05 Synthacon

Gemma3 12B t4 version

Image

Synthacon avatar May 30 '25 06:05 Synthacon

Downloaded from: https://huggingface.co/litert-community/Gemma3-12B-IT/tree/main

Synthacon avatar May 30 '25 06:05 Synthacon

Same problem here

LorVC avatar Jun 03 '25 18:06 LorVC

Thanks @moh21amed for reporting this, and to everyone who has contributed to this thread. We've logged this bug, and we are investigating it further. We'll update this thread if we have any further questions or when we have an update on a potential fix.

Thanks again for your help in improving the app!

dpknag avatar Jun 04 '25 23:06 dpknag

Thanks @moh21amed for reporting this, and to everyone who has contributed to this thread. We've logged this bug, and we are investigating it further. We'll update this thread if we have any further questions or when we have an update on a potential fix.

Thanks again for your help in improving the app!

It may happen that the problem appears when internet connection is not stable and an app tries to continue download on connection break. Just an impression.

iAdanos avatar Jun 05 '25 00:06 iAdanos

Same problem here @LoreBadTime, Thanks for letting us know. Can you please tell us what device are you using, and what's the app version?

dpknag avatar Jun 06 '25 20:06 dpknag

Hello, version 1.0.3, device poco x7 pro. However, after fighting with downloads I was able to start it. I think there is some failure when downloading or if the device goes off.

Also I noticed that phone hangs when using GPU

LorVC avatar Jun 07 '25 06:06 LorVC

Hello, version 1.0.3, device poco x7 pro. However, after fighting with downloads I was able to start it. I think there is some failure when downloading or if the device goes off.

Also I noticed that phone hangs when using GPU

Thank you for the feedback and for providing your device information. We've noted the issues with downloading and GPU performance and have passed them along to the team. We appreciate your help in improving the app!

dpknag avatar Jun 09 '25 20:06 dpknag

Hi all,

As we continue our investigation into this issue, we are requesting a full Bug Report. This will be a great help to our engineers in diagnosing the root cause.

We've put together a step-by-step guide on how to capture and share one here: https://github.com/google-ai-edge/gallery/blob/main/Bug_Reporting_Guide.md

Thank you for your ongoing help and patience.

dpknag avatar Jul 23 '25 01:07 dpknag

This was caused by a bug in the app where it didn't properly detect incomplete downloads. The latest release should fix this. Please give it a try:

jinjingforever avatar Aug 20 '25 23:08 jinjingforever