amnaredo / test

0 stars 0 forks source link

read attempt only works on second attempt in safari #183

Open amnaredo opened 2 years ago

amnaredo commented 2 years ago

Hello,

Getting the following error when I attempt to read a somewhat large json string.

[Log] upickle.Invalid$Data: Array(n) (data: ) (appweb-opt.js, line 2543) [Log] received_search_query (baloneymeter.com, line 310)

There error is not consistent, it seems to randomly pick an element to fail on. I am using Safari Version 9.1 (11601.5.17.1), it also happens in the current version iphone/ipad simulator

The second or third time I attempt to read similar data of similar size, or even identical data, it works without error.

I have a nasty workaround by cascading try/catches

See https://gist.github.com/josephhajduk/e5f31641b95c0ba8ec9d61e9502a885f for examples.

ID: 165 Original Author: josephhajduk

amnaredo commented 2 years ago

Bug bankruptcy Original Author: lihaoyi