Skip to content

[BUG] Crash when gRPC is down or does not respond #139

@freQniK

Description

@freQniK

backtrace


......[INFO   ] [Base        ] Leaving application in progress...
 Traceback (most recent call last):
   File "main\meile_gui.py", line 12, in <module>
   File "main\meile_gui.py", line 6, in main
   File "kivy\app.py", line 956, in run
   File "kivy\base.py", line 574, in runTouchApp
   File "kivy\base.py", line 339, in mainloop
   File "kivy\base.py", line 379, in idle
   File "kivy\clock.py", line 733, in tick
   File "kivy\clock.py", line 776, in post_idle
   File "kivy\_clock.pyx", line 620, in kivy._clock.CyClockBase._process_events
   File "kivy\_clock.pyx", line 653, in kivy._clock.CyClockBase._process_events
   File "kivy\_clock.pyx", line 649, in kivy._clock.CyClockBase._process_events
   File "kivy\_clock.pyx", line 218, in kivy._clock.ClockEvent.tick
   File "kivyoav\delayed.py", line 14, in <lambda>
   File "kivyoav\delayed.py", line 13, in _apply
   File "ui\widgets.py", line 2339, in subscribe
 AttributeError: 'HandleWalletFunctions' object has no attribute 'price'
[12040] Failed to execute script 'meile_gui' due to unhandled exception!

This is due to this line

result = sdk.nodes.QueryNode(address=NODE)
which has no gRPC checks in place.

Metadata

Metadata

Assignees

Labels

WindowsWindows Bugs, Features, Requests, EnhancementsbugSomething isn't workinggood first issueGood for newcomerslinuxissues relating to linux buildosxissues relating to os x buildwalletwallet functionality

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions