Open Aniket21mathur opened 5 years ago
src/jarabe/model/invites.py contains __handle_with_reply_cb, so is this issue with master branch or a later commit?
I got this with the master branch with the static bindings.
Good, thanks.
No need to Accept from the friend's end. Just check shell.logs
of friend's sugar instance after sending a file transfer request.
Sugar seems to handle file transfer through dispatch_non_sugarinvitation method of the Invites class. This method called the call_handlewith method with an empty handler hence causing the exception. Fixed in https://github.com/sugarlabs/sugar/pull/845.
Sorry, but I think you're wrong in your interpretation.
HandleWith
method; it doesn't say there is anything wrong with the handler argument.It is more likely that the ChannelDispatchOperation has vanished just prior to the call. Documentation says the ChannelDispatchOperation will emit Finished and vanish in response to an earlier HandleWith
call by the client acting as an approver, or another client.
Please dig further into the problem using dbus-monitor
and determine the events leading up to the error. I'll close the pull request.
Thanks for correcting I will look into it :-).
Reproducer
Check
shell.logs
.