gjwgit / rattleng

The New Generation R Analytics Desktop App
GNU General Public License v3.0
20 stars 9 forks source link

BUG: Console Page Throws Random Errors on Demo Dataset Load for M1 Pro Chip Macs #553

Open junhaow1 opened 1 month ago

junhaow1 commented 1 month ago

Description

When loading the demo dataset in the RattleNG app and navigating to the Console page on M1 Pro chip Macs (specifically on Zheyuan's and Kevin's devices), random errors are observed in the Console output. The errors include unexpected symbols and missing objects, as well as mismatched brackets. This inconsistency disrupts the normal flow of data processing, making it challenging to analyze and visualize results on affected devices.

Why

These errors might be due to asynchronous issues, potentially related to compatibility with the M1 Pro chip architecture. Identifying and addressing the root cause is essential to ensure that users on M1 Pro chip Macs can use the Console page without encountering errors, improving the reliability and consistency of the RattleNG app across different platforms.

Closing Criteria

gjwgit commented 1 month ago

For reference, I do not see this issue on Linux, Windows, not an older Mac.

Lutra-Fs commented 3 weeks ago

I think a screenshot should be attached to this issue. :)

gjwgit commented 3 weeks ago

@zheyxu could you add a screenshot of the issue from the Console tab. Thanks.

zheyxu commented 3 weeks ago

Image Image Image Image

gjwgit commented 2 weeks ago

Taking the first example:

image

The source R code is:

image

The names(summa is repeated three times, and then names is chopped to replace json_outp.

gjwgit commented 2 weeks ago

Taking the second example

image

The source R script is

image

How is it so badly mangled in the R Console?

It seems like = base_ is replaced by theme_ and yes, that is unexpected syntax.