enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 323 forks source link

Slow network exchange leads to lack of visualizations #10995

Open hubertp opened 1 week ago

hubertp commented 1 week ago

Started GUI with network throttling (slow 3G) to simulate slow responses.

Expected slower responses but generally working IDE. Instead visualizations started failing on startup:

[WARN] [enso.org.enso.interpreter.service.ExecutionService] Execution of visualization [c2b3036e-2d24-482c-bfb5-21c98617c2ad] on value [30a756fb-933e-4e91-8731-0e3bb3a36b69] of [Integer] failed. Method `to_default_visualization_data` of type Integer could not be found. | 41 | (No_Such_Method.Error 41 UnresolvedSymbol<to_default_visualization_data>)
[WARN] [enso.org.enso.interpreter.service.ExecutionService] Execution of visualization [d38ffd5f-5dfe-4ed1-b6e7-f1326edc43e7] on value [30a756fb-933e-4e91-8731-0e3bb3a36b69] of [Integer] failed. Method `default_visualization` of type Integer could not be found. | 41 | (No_Such_Method.Error 41 UnresolvedSymbol<default_visualization>)
[WARN] [enso.org.enso.interpreter.service.ExecutionService] Execution of visualization [d38ffd5f-5dfe-4ed1-b6e7-f1326edc43e7] on value [30a756fb-933e-4e91-8731-0e3bb3a36b69] of [Integer] failed. Method `default_visualization` of type Integer could not be found. | 41 | (No_Such_Method.Error 41 UnresolvedSymbol<default_visualization>)
[WARN] [enso.org.enso.interpreter.service.ExecutionService] Execution of visualization [c2b3036e-2d24-482c-bfb5-21c98617c2ad] on value [30a756fb-933e-4e91-8731-0e3bb3a36b69] of [Integer] failed. Method `to_default_visualization_data` of type Integer could not be found. | 41 | (No_Such_Method.Error 41 UnresolvedSymbol<to_default_visualization_data>)
[WARN] [enso.org.enso.interpreter.service.ExecutionService] Execution of visualization [d38ffd5f-5dfe-4ed1-b6e7-f1326edc43e7] on value [30a756fb-933e-4e91-8731-0e3bb3a36b69] of [Integer] failed. Method `default_visualization` of type Integer could not be found. | 41 | (No_Such_Method.Error 41 UnresolvedSymbol<default_visualization>)

Screenshot from 2024-09-05 17-05-15

4e6 commented 6 days ago

I cannot reproduce this on the current develop. The visualizations are showing up, just quite delayed.

Method `to_default_visualization_data` of type Integer could not be found.

the errors are also quite weird. I'd say that they indicate there is an issue with the loading of the Standard.Base. And AFAIK the library loading should not depend on the network connectivity.