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

Provided blueprint strings are invalid #292

Open
BraydenMotion opened this issue Jan 24, 2021 · 5 comments
Open

Provided blueprint strings are invalid #292

BraydenMotion opened this issue Jan 24, 2021 · 5 comments

Comments

@BraydenMotion
Copy link

The site freezes for a few seconds before a popup appears telling me to press CTRL+C. When I paste this code in-game, not only is it way too short to possibly the blueprint I copied, but its also invalid. This happens on factorio.school and factorioprints.com. I've tried with and without an ad blocker, with and without a tracker blocker, and nothing has changed. It has rendered the site completely unusable.

@FactorioBlueprints
Copy link
Owner

FactorioBlueprints commented Jan 25, 2021 via email

@BraydenMotion
Copy link
Author

It seems like short blueprint strings copy fine. I don't know what the upper limit is since I can't copy the large strings. The small ones seem to copy without a popup and the large ones always create a popup(with an invalid string). I've noticed sometimes though the large ones don't create a popup, but pressing CTRL+C will still copy the valid blueprint. I can't figure out why this happens and it is extremely rare.

Some blueprints that copy fine are:
https://www.factorio.school/view/-MFIYLSH60wmZ-pNvcL_
https://www.factorio.school/view/-Kn2afLokZdBO-uHcIAF

Some blueprints that give an invalid string are:
https://www.factorio.school/view/-MNZWdWosuqr3vtaC2hD

@carolluparu
Copy link

carolluparu commented Feb 18, 2021

The same issue occurs to me for this blueprint which Brayden said is ok though:
https://www.factorio.school/view/-Kn2afLokZdBO-uHcIAF

  1. Looking through Chrome's dev tools I see that this request fails completely:
    GET https://www.factorio.school/api/blueprintContentTitles/-Kn2afLokZdBO-uHcIAF 400 (Bad Request)
    {
    "code" : 400,
    "message" : "Blueprint string could not be parsed."
    }

  2. Also, this points to an error on this resource missing:
    https://www.factorio.school/static/node_modules/axios/lib/adapters/xhr.js (404)
    URI: | /static/node_modules/axios/lib/adapters/xhr.js
    -- | --
    404
    Not Found
    ui-assets

system info:
the issue reproduces on both Chrome Version 88.0.4324.150 (Official Build) (64-bit) and Edge Version 88.0.705.68 (Official build) (64-bit)

image

@FactorioBlueprints
Copy link
Owner

FactorioBlueprints commented Feb 19, 2021 via email

@carolluparu
Copy link

Thanks for the answer. The same link that I was having issues with yesterday looks ok now and I can get the blueprint.
Looking at Chrome's dev console seems better now:
image

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

No branches or pull requests

3 participants