Skip to content

Runtime Exception #1

@AshotN

Description

@AshotN

Getting this whenever I try to run the bot

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/home/hego555/Downloads/BingRewardsBot-master/bot/desktop.py", line 164, in run
    self.account_manager.sign_in()
  File "/home/hego555/Downloads/BingRewardsBot-master/bot/account_manager/base.py", line 66, in sign_in
    'passwd': str(self.account_creds.password)
  File "/home/hego555/Downloads/BingRewardsBot-master/bot/account_manager/browser_automation_utils/browser.py", line 286, in type_and_submit_form
    status = status and self.type(field_attr_type_enum, field_attr_value, message)
  File "/home/hego555/Downloads/BingRewardsBot-master/bot/account_manager/browser_automation_utils/browser.py", line 211, in type
    textfield.send_keys(message)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webelement.py", line 328, in send_keys
    self._execute(Command.SEND_KEYS_TO_ELEMENT, {'value': typing})
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webelement.py", line 454, in _execute
    return self._parent.execute(command, params)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 201, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 181, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidElementStateException: Message: {"errorMessage":"Element is not currently interactable and may not be manipulated","request":{"headers":{"Accept":"application/json","Accept-Encoding":"identity","Connection":"close","Content-Length":"132","Content-Type":"application/json;charset=UTF-8","Host":"127.0.0.1:35377","User-Agent":"Python-urllib/3.5"},"httpVersion":"1.1","method":"POST","post":"{\"value\": [\"E\", \"m\", \"i\", \"n\", \"e\", \"m\", \"5\", \"0\"], \"id\": \":wdc:1481664998305\", \"sessionId\": \"36b732a0-c17c-11e6-87ff-31b980d265d5\"}","url":"/value","urlParsed":{"anchor":"","query":"","file":"value","directory":"/","path":"/value","relative":"/value","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/value","queryKey":{},"chunks":["value"]},"urlOriginal":"/session/36b732a0-c17c-11e6-87ff-31b980d265d5/element/:wdc:1481664998305/value"}}
Screenshot: available via screen


Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/home/hego555/Downloads/BingRewardsBot-master/bot/desktop.py", line 164, in run
    self.account_manager.sign_in()
  File "/home/hego555/Downloads/BingRewardsBot-master/bot/account_manager/base.py", line 66, in sign_in
    'passwd': str(self.account_creds.password)
  File "/home/hego555/Downloads/BingRewardsBot-master/bot/account_manager/browser_automation_utils/browser.py", line 286, in type_and_submit_form
    status = status and self.type(field_attr_type_enum, field_attr_value, message)
  File "/home/hego555/Downloads/BingRewardsBot-master/bot/account_manager/browser_automation_utils/browser.py", line 211, in type
    textfield.send_keys(message)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webelement.py", line 328, in send_keys
    self._execute(Command.SEND_KEYS_TO_ELEMENT, {'value': typing})
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webelement.py", line 454, in _execute
    return self._parent.execute(command, params)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 201, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 181, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidElementStateException: Message: {"errorMessage":"Element is not currently interactable and may not be manipulated","request":{"headers":{"Accept":"application/json","Accept-Encoding":"identity","Connection":"close","Content-Length":"132","Content-Type":"application/json;charset=UTF-8","Host":"127.0.0.1:60346","User-Agent":"Python-urllib/3.5"},"httpVersion":"1.1","method":"POST","post":"{\"value\": [\"E\", \"m\", \"i\", \"n\", \"e\", \"m\", \"5\", \"0\"], \"id\": \":wdc:1481665003840\", \"sessionId\": \"36b5fa20-c17c-11e6-84a6-7f97b6c1afc6\"}","url":"/value","urlParsed":{"anchor":"","query":"","file":"value","directory":"/","path":"/value","relative":"/value","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/value","queryKey":{},"chunks":["value"]},"urlOriginal":"/session/36b5fa20-c17c-11e6-84a6-7f97b6c1afc6/element/:wdc:1481665003840/value"}}
Screenshot: available via screen

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