Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent double clicks on accept/reject buttons #6

Open
pakal opened this issue Aug 24, 2023 · 0 comments
Open

Prevent double clicks on accept/reject buttons #6

pakal opened this issue Aug 24, 2023 · 0 comments

Comments

@pakal
Copy link
Member

pakal commented Aug 24, 2023

08-24 17:14:40.781 23286 23319 I python  : 2023-08-24 15:14:40,780Z - DEBUG - Starting new HTTPS connection (1): api.witnessangel.com:443
08-24 17:14:41.404 23286 26540 I python  : 2023-08-24 15:14:41,404Z - DEBUG - https://api.witnessangel.com:443 "POST /gateway/jsonrpc/ HTTP/1.1" 200 52965
08-24 17:14:41.542 23286 23319 I python  : 2023-08-24 15:14:41,541Z - DEBUG - https://api.witnessangel.com:443 "POST /gateway/jsonrpc/ HTTP/1.1" 200 420
08-24 17:14:41.577 23286 23319 I python  : 2023-08-24 15:14:41,561Z - ERROR - Caught unhandled exception in call of function <function AuthenticatorRevelationRequestDetailScreen.accept_revelation_request at 0x6df63f9480>: ValidationError('Cannot accept a revelation request in status ACCEPTED')
08-24 17:14:41.577 23286 23319 I python  : Traceback (most recent call last):
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/app/wacryptolib/jsonrpc_client.py", line 70, in parse_response
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/platform/build-armeabi-v7a_arm64-v8a_x86_x86_64/build/python-installs/authenticator/arm64-v8a/jsonrpc_requests/jsonrpc.py", line 78, in parse_response
08-24 17:14:41.577 23286 23319 I python  : jsonrpc_requests.jsonrpc.ProtocolError: Error: 400 Error: Server-side exception occurred, see error data for details
08-24 17:14:41.577 23286 23319 I python  :
08-24 17:14:41.577 23286 23319 I python  : The above exception was the direct cause of the following exception:
08-24 17:14:41.577 23286 23319 I python  :
08-24 17:14:41.577 23286 23319 I python  : Traceback (most recent call last):
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/app/wacomponents/logging/handlers.py", line 29, in safe_catch_unhandled_exception
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/platform/build-armeabi-v7a_arm64-v8a_x86_x86_64/build/python-installs/authenticator/arm64-v8a/decorator.py", line 232, in fun
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/app/wacomponents/widgets/popups.py", line 45, in display_snackbar_on_error
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/app/wacomponents/screens/authenticator_revelation_request_detail.py", line 238, in accept_revelation_request
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/platform/build-armeabi-v7a_arm64-v8a_x86_x86_64/build/python-installs/authenticator/arm64-v8a/jsonrpc_requests/jsonrpc.py", line 130, in __call__
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/app/wacryptolib/jsonrpc_client.py", line 91, in _Server__request
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/platform/build-armeabi-v7a_arm64-v8a_x86_x86_64/build/python-installs/authenticator/arm64-v8a/jsonrpc_requests/jsonrpc.py", line 62, in send_request
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/app/wacryptolib/jsonrpc_client.py", line 73, in parse_response
08-24 17:14:41.577 23286 23319 I python  :   File "/home/osboxes/.buildozer_files_authenticator/android/app/wacryptolib/jsonrpc_client.py", line 32, in status_slugs_response_error_handler
08-24 17:14:41.577 23286 23319 I python  : wacryptolib.exceptions.ValidationError: Cannot accept a revelation request in status ACCEPTED 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant