AvroraPolnareff / warframe-color-picker

🎨Cephalon Cosmetologist🎨 Find closest colors | Import colors schemes from screenshots | Share with your friends
https://warframecolorpicker.app/
14 stars 3 forks source link

"Export" seems broken... #15

Closed CKylinMC closed 3 years ago

CKylinMC commented 3 years ago

image

I clicked "Export" and nothing happened. If I refresh the page, I'll get an alert "error" and then the page will be reloaded.

BUT if I clicked "Export" more than 3 times, then reload the page, the "error" alert will be looply appeared...

Here is the console log. ``` utils.js:11 react-i18next:: i18n.languages were undefined or empty undefined s @ utils.js:11 f @ utils.js:22 p @ utils.js:44 (anonymous) @ useTranslation.js:45 v @ useTranslation.js:44 tt @ App.tsx:12 oa @ react-dom.production.min.js:157 Bu @ react-dom.production.min.js:267 Cl @ react-dom.production.min.js:250 El @ react-dom.production.min.js:250 xl @ react-dom.production.min.js:250 vl @ react-dom.production.min.js:243 fl @ react-dom.production.min.js:237 Xl @ react-dom.production.min.js:285 (anonymous) @ react-dom.production.min.js:289 ml @ react-dom.production.min.js:244 rs @ react-dom.production.min.js:289 t.render @ react-dom.production.min.js:296 83 @ index.tsx:30 a @ (index):1 t @ (index):1 r @ (index):1 (anonymous) @ main.3412cfa7.chunk.js:1 colorPicker.suggestions.suggestions:1 GET https://avrorapolnareff.github.io/warframe-color-picker/colorPicker.suggestions.suggestions 404 Image (async) w @ react-dom.production.min.js:23 ou @ react-dom.production.min.js:208 Tl @ react-dom.production.min.js:251 Cl @ react-dom.production.min.js:250 El @ react-dom.production.min.js:250 xl @ react-dom.production.min.js:250 vl @ react-dom.production.min.js:243 fl @ react-dom.production.min.js:237 Xl @ react-dom.production.min.js:285 (anonymous) @ react-dom.production.min.js:289 ml @ react-dom.production.min.js:244 rs @ react-dom.production.min.js:289 t.render @ react-dom.production.min.js:296 83 @ index.tsx:30 a @ (index):1 t @ (index):1 r @ (index):1 (anonymous) @ main.3412cfa7.chunk.js:1 inner-api.ts:4 POST https://europe-west1-warframe-color-picker.cloudfunctions.net/webApi/api/v1/palettes net::ERR_CONNECTION_CLOSED (anonymous) @ inner-api.ts:4 c @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 r @ asyncToGenerator.js:3 u @ asyncToGenerator.js:25 (anonymous) @ asyncToGenerator.js:32 (anonymous) @ asyncToGenerator.js:21 (anonymous) @ inner-api.ts:3 (anonymous) @ UrlColorsProvider.tsx:53 c @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 r @ asyncToGenerator.js:3 u @ asyncToGenerator.js:25 (anonymous) @ asyncToGenerator.js:32 (anonymous) @ asyncToGenerator.js:21 (anonymous) @ UrlColorsProvider.tsx:50 (anonymous) @ TargetScheme.tsx:36 c @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 r @ asyncToGenerator.js:3 u @ asyncToGenerator.js:25 (anonymous) @ asyncToGenerator.js:32 (anonymous) @ asyncToGenerator.js:21 (anonymous) @ TargetScheme.tsx:33 Ve @ react-dom.production.min.js:52 Ye @ react-dom.production.min.js:52 (anonymous) @ react-dom.production.min.js:53 Er @ react-dom.production.min.js:100 Or @ react-dom.production.min.js:101 (anonymous) @ react-dom.production.min.js:113 ze @ react-dom.production.min.js:292 (anonymous) @ react-dom.production.min.js:50 Rr @ react-dom.production.min.js:105 Zt @ react-dom.production.min.js:75 Jt @ react-dom.production.min.js:74 t.unstable_runWithPriority @ scheduler.production.min.js:18 $o @ react-dom.production.min.js:122 Me @ react-dom.production.min.js:292 Gt @ react-dom.production.min.js:73 Show 12 more frames inner-api.ts:4 Fetch failed loading: POST "https://europe-west1-warframe-color-picker.cloudfunctions.net/webApi/api/v1/palettes". (anonymous) @ inner-api.ts:4 c @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 r @ asyncToGenerator.js:3 u @ asyncToGenerator.js:25 (anonymous) @ asyncToGenerator.js:32 (anonymous) @ asyncToGenerator.js:21 (anonymous) @ inner-api.ts:3 (anonymous) @ UrlColorsProvider.tsx:53 c @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 r @ asyncToGenerator.js:3 u @ asyncToGenerator.js:25 (anonymous) @ asyncToGenerator.js:32 (anonymous) @ asyncToGenerator.js:21 (anonymous) @ UrlColorsProvider.tsx:50 (anonymous) @ TargetScheme.tsx:36 c @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 r @ asyncToGenerator.js:3 u @ asyncToGenerator.js:25 (anonymous) @ asyncToGenerator.js:32 (anonymous) @ asyncToGenerator.js:21 (anonymous) @ TargetScheme.tsx:33 Ve @ react-dom.production.min.js:52 Ye @ react-dom.production.min.js:52 (anonymous) @ react-dom.production.min.js:53 Er @ react-dom.production.min.js:100 Or @ react-dom.production.min.js:101 (anonymous) @ react-dom.production.min.js:113 ze @ react-dom.production.min.js:292 (anonymous) @ react-dom.production.min.js:50 Rr @ react-dom.production.min.js:105 Zt @ react-dom.production.min.js:75 Jt @ react-dom.production.min.js:74 t.unstable_runWithPriority @ scheduler.production.min.js:18 $o @ react-dom.production.min.js:122 Me @ react-dom.production.min.js:292 Gt @ react-dom.production.min.js:73 Show 12 more frames TargetScheme.tsx:43 Error: something went wrong at UrlColorsProvider.tsx:57 at c (runtime.js:63) at Generator._invoke (runtime.js:293) at Generator.throw (runtime.js:118) at r (asyncToGenerator.js:3) at l (asyncToGenerator.js:29) ```
Morisabeau commented 3 years ago

Hey! @AvroraPolnareff couldn't reproduce the issue on her own, but as it turned out, the thing hasn't worked for me either. After some brief tests I've figured out that it was an adblock extension that stopped the function from working properly (uBlock Origin is what I'm using right now). We're not exactly sure why this is happening, but we'll look into it deeper.

We're currently in the process of rolling out an updated version of the whole import / export thing that'll potentially nip the issue in the bud. It'll also ask for confirmation whether you are sure about overriding your current scheme.

CKylinMC commented 3 years ago

@Morisabeau Well I disable the AdBlockPlus extension and it's works for me. Thanks!

Morisabeau commented 3 years ago

Added this to the list of known issues, just in case.

image