bitshares1-webwallet icon indicating copy to clipboard operation
bitshares1-webwallet copied to clipboard

no transactions showing at all .. though in the console: "JSON Parse error: Unterminated string"

Open xeroc opened this issue 10 years ago • 8 comments

https://bitsharestalk.org/index.php?topic=14313.msg186293#msg186293

I have some transaction details .. not all .. and those I got pm'ed look all fine .. nothing strange encoding-wise

xeroc avatar Feb 16 '15 10:02 xeroc

I have seen other reports of this as well.

vikramrajkumar avatar Feb 16 '15 20:02 vikramrajkumar

I've got this problem with my current 0.61 GUI client. Transaction history displays from console, so I think it's a GUI problem (or rather, a communication problem between GUI and console client). The transaction history used to display OK on the dashboard, so it seems likely it is caused by some details of a transaction that started confusing the GUI, or the transaction history got too big for the GUI to handle. As I'm seeing the same "Unterminated string" message, my best guess is the JSON result is too big.

dnotestein avatar Feb 17 '15 15:02 dnotestein

I also have 'no transactions' in my dashboard view, although the problem is intermittent. I also have no preservation of my logout timeout preferences.

But running 'history' in the GUI shows plenty.

I'm fully synced with version 0.6.1 for Mac.

Methodise avatar Feb 17 '15 17:02 Methodise

Another report (unsure what version): https://bitsharestalk.org/index.php?topic=14313.msg187862#msg187862

vikramrajkumar avatar Feb 23 '15 18:02 vikramrajkumar

Based on this https://bitsharestalk.org/index.php?topic=14545.msg190676#msg190676 I can conclude that transactions history json returned to the gui is malformatted or maybe as dnotestein suggested it's too big to be parsed by QT webkit's js implementation

valzav avatar Mar 04 '15 16:03 valzav

He has only 41 in transactions history for this account, so I don't think this is because of the too big json. One of the memos is " ┐╢╔►╛┘t\Y²ΦìδÑ.µqu# " - probably this is the reason it fails to parse json. Can we escape memos on the server side?

valzav avatar Mar 04 '15 19:03 valzav

I've had another thought about it, also, since then. I'm wondering if it's not possible that we're seeing a double value expressed in scientific notation (e.g 0.45e-3) and that the json parser is having problems with parsing it (I know that at least in the past, fc's parser couldn't handle exponentials).

dnotestein avatar Mar 04 '15 19:03 dnotestein

Still happening: https://bitsharestalk.org/index.php?topic=15420.msg198917#msg198917

It doesn't seem like right now fc supports a good way to escape bad strings like the above.

vikramrajkumar avatar Apr 02 '15 22:04 vikramrajkumar