Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hiswe opened this issue Jul 28, 2017 · 4 comments
Open

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

Hiswe opened this issue Jul 28, 2017 · 4 comments
Assignees

Comments

@Hiswe
Copy link

Hiswe commented Jul 28, 2017

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

This can lead to 2 problems:

  • corrupted image Buffer leading to an error 500
  • inaccurate screens

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

@Hiswe Hiswe added the bug label Jul 28, 2017
@Hiswe Hiswe self-assigned this Jul 28, 2017
@Hiswe Hiswe changed the title PREVIEWS GENERATION PREVIEWS GENERATION – can lead to a 500 or inaccurate screens Jul 28, 2017
@romadon
Copy link

romadon commented Jul 19, 2018

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
Copy link
Author

Hiswe commented Jul 22, 2018

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

@romadon
Copy link

romadon commented Jul 23, 2018

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
Copy link
Author

Hiswe commented Jul 25, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants