abernier / mosaico-backend

Ready to go backend for Mosaico editor
https://mosaicobackend-prod.herokuapp.com
GNU General Public License v3.0
12 stars 13 forks source link

PREVIEWS GENERATION – can lead to a 500 or inaccurate screens #24

Open Hiswe opened 7 years ago

Hiswe commented 7 years ago

It can happens that the images are not fully loaded while generating the previews.

This can lead to 2 problems:

This can be resolved by the user by trying to generate the previews again

romadon commented 6 years ago

I'm trying to generate the previews again and the error is the same, but I can't see anything in console, only "undefined NaNs"

[IMAGES] config.images.cache true
[EMAIL] transport mailing – SUCCESS
[REDIS] connection – SUCCESS
[DATABASE] connection – SUCCESS
[DATABASE] sync – SUCCESS
[SERVER] listening on port 3000 on mode development
GET - 127.0.0.1 - /templates/
GET - 127.0.0.1 - /templates/ 200 0.4s
GET - 127.0.0.1 - /templates/1a6f67de-295d-47bf-bd9c-47c13176b58f
GET - 127.0.0.1 - /templates/1a6f67de-295d-47bf-bd9c-47c13176b58f 200 0.35s
GET - 127.0.0.1 - /templates/1a6f67de-295d-47bf-bd9c-47c13176b58f/generate-previews
[PREVIEWS] get template – 0.015s
GET - 127.0.0.1 - /templates/1a6f67de-295d-47bf-bd9c-47c13176b58f/generate-previews undefined NaNs
GET - 127.0.0.1 - /templates/1a6f67de-295d-47bf-bd9c-47c13176b58f/generate-previews
[PREVIEWS] get template – 0.012s

BR.

Hiswe commented 6 years ago

@romadon really not sure but is nightmare's running?

romadon commented 6 years ago

Thanks a lot @Hiswe, it was effectively.

I follow this --> https://stackoverflow.com/questions/34795037/nightmare-js-not-working-as-expected-on-ubuntu-linux-cloud-server and now is working.

Thanks again.

BR.

Hiswe commented 6 years ago

@romadon still it should have shown an error… strange 😐