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

[BUG] Lots of console errors when running Infinite Edge #14

Open
Neinndall opened this issue Jul 21, 2023 · 3 comments
Open

[BUG] Lots of console errors when running Infinite Edge #14

Neinndall opened this issue Jul 21, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Neinndall
Copy link

Neinndall commented Jul 21, 2023

Describe the bug
It seems that when you run infinite, it shows up in the console, download failed eg:
2023-07-21T21:18:12+0200 <warn> index.js:75 (downloadFiles) Failed to download /_generated/sprite-pre-default.jpg

When I assume it will be creating the folder WITHOUT the file this could be the BUG I posted earlier: #12

To Reproduce
Steps to reproduce the behaviour:

  1. Run infinite

Expected behaviour
Be efficient and fast for the user.

Screenshots
I show a part of the console so you can understand it, I don't really know if it is, but from what I understand, it's failing to download, but still, then it tries again and finally those files are downloaded. This could imply more time than infinite actually takes to download the assets.

2023-07-21T21:18:11+0200 <info> index.js:54 (downloadFiles) Attempting to download /_generated/sprite-pre-default.jpg
2023-07-21T21:18:11+0200 <info> index.js:70 (downloadFiles) Attempting to download https://assetcdn.rgpub.io/public/live/bundle-offload/7df87236-402e-487a-9b60-e3016ad27fe4/64b9a8e6fcae86000882534e/_/lib-embed/images/_generated/sprite-pre-default.jpg
2023-07-21T21:18:12+0200 <warn> index.js:75 (downloadFiles) Failed to download /_generated/sprite-pre-default.jpg
2023-07-21T21:18:12+0200 <info> index.js:54 (downloadFiles) Attempting to download /abilities-showcase-decor.jpg
2023-07-21T21:18:13+0200 <info> index.js:70 (downloadFiles) Attempting to download https://assetcdn.rgpub.io/public/live/bundle-offload/7df87236-402e-487a-9b60-e3016ad27fe4/64b9a8e6fcae86000882534e/_/lib-embed/images/abilities-showcase-decor.jpg
2023-07-21T21:18:14+0200 <warn> index.js:75 (downloadFiles) Failed to download /abilities-showcase-decor.jpg
2023-07-21T21:18:14+0200 <info> index.js:54 (downloadFiles) Attempting to download /bg-default.jpg
2023-07-21T21:18:14+0200 <info> index.js:70 (downloadFiles) Attempting to download https://assetcdn.rgpub.io/public/live/bundle-offload/7df87236-402e-487a-9b60-e3016ad27fe4/64b9a8e6fcae86000882534e/_/lib-embed/images/bg-default.jpg
2023-07-21T21:18:15+0200 <warn> index.js:75 (downloadFiles) Failed to download /bg-default.jpg
2023-07-21T21:18:15+0200 <info> index.js:54 (downloadFiles) Attempting to download /bg-index-samira.jpg
2023-07-21T21:18:16+0200 <info> index.js:70 (downloadFiles) Attempting to download https://assetcdn.rgpub.io/public/live/bundle-offload/7df87236-402e-487a-9b60-e3016ad27fe4/64b9a8e6fcae86000882534e/_/lib-embed/images/bg-index-samira.jpg
2023-07-21T21:18:17+0200 <warn> index.js:75 (downloadFiles) Failed to download /bg-index-samira.jpg
2023-07-21T21:18:17+0200 <info> index.js:54 (downloadFiles) Attempting to download /bg-index-viego.jpg
2023-07-21T21:18:17+0200 <info> index.js:70 (downloadFiles) Attempting to download https://assetcdn.rgpub.io/public/live/bundle-offload/7df87236-402e-487a-9b60-e3016ad27fe4/64b9a8e6fcae86000882534e/_/lib-embed/images/bg-index-viego.jpg
2023-07-21T21:18:18+0200 <warn> index.js:75 (downloadFiles) Failed to download /bg-index-viego.jpg
2023-07-21T21:18:18+0200 <info> index.js:54 (downloadFiles) Attempting to download /bg-intro.jpg
2023-07-21T21:18:19+0200 <info> index.js:70 (downloadFiles) Attempting to download https://assetcdn.rgpub.io/public/live/bundle-offload/7df87236-402e-487a-9b60-e3016ad27fe4/64b9a8e6fcae86000882534e/_/lib-embed/images/bg-intro.jpg
2023-07-21T21:18:20+0200 <warn> index.js:75 (downloadFiles) Failed to download /bg-intro.jpg
2023-07-21T21:18:20+0200 <info> index.js:54 (downloadFiles) Attempting to download /card-cinematic.jpg
2023-07-21T21:18:20+0200 <info> index.js:70 (downloadFiles) Attempting to download https://assetcdn.rgpub.io/public/live/bundle-offload/7df87236-402e-487a-9b60-e3016ad27fe4/64b9a8e6fcae86000882534e/_/lib-embed/images/card-cinematic.jpg
2023-07-21T21:18:21+0200 <warn> index.js:75 (downloadFiles) Failed to download /card-cinematic.jpg
2023-07-21T21:18:21+0200 <info> index.js:54 (downloadFiles) Attempting to download /card-new-mode.jpg
2023-07-21T21:18:22+0200 <info> index.js:70 (downloadFiles) Attempting to download https://assetcdn.rgpub.io/public/live/bundle-offload/7df87236-402e-487a-9b60-e3016ad27fe4/64b9a8e6fcae86000882534e/_/lib-embed/images/card-new-mode.jpg

Desktop (please complete the following information):

  • OS: Windows 10
@Neinndall Neinndall added the bug Something isn't working label Jul 21, 2023
@Neinndall Neinndall changed the title [BUG] I found a bug! [BUG] Lots of console errors when running Infinite Edge Jul 21, 2023
@Hi-Ray
Copy link
Owner

Hi-Ray commented Sep 3, 2023

AFAIK infinityedge cleans up the files so i dont see the issue, i will keep this open incase this is not what you ment

@bangingheads
Copy link
Collaborator

Due to the way we parse image paths we only know the relative path and have to see if we can figure out the full path from it. This is why you see it trying multiple paths as it may or may not be at that address and we won't know until we try the path.

It will only try again if the first try fails, while this is a slightly slower approach it allows for us to have a more complete download.

@Neinndall
Copy link
Author

Thx for the answer @bangingheads

That is what explained banging @Hi-Ray that is all ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants