Skip to content

[BUG] Crash on gRPC error in direct sessions #144

@freQniK

Description

@freQniK

Trace:

**...[INFO   ] [Base        ] Leaving application in progress...
 Traceback (most recent call last):
   File "main/meile_gui.py", line 10, 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 2316, in subscribe
 AttributeError: 'HandleWalletFunctions' object has no attribute 'price'
[1085437] Failed to execute script 'meile_gui' due to unhandled exception!

this is caused by a gRPC connection error or bad response in the subscribe() routine in the wallet module. The subscribe() routine in the widgets module was not checking for a success return code from the wallet module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions