[orange] 'NoneType' object has no attribute 'has_captcha'
With which module do you encounter problems?
orange
Describe the problem you encounter
When retrieving bills, impossible to login to the website.
Paste here the stacktrace or error message you observe
Bug(orange): 'NoneType' object has no attribute 'has_captcha'
Traceback (most recent call last):
File "<woob_root>/woob/core/bcall.py", line 88, in backend_process
result = function(backend, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<woob_root>/woob/tools/application/base.py", line 348, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<woob_root>/woob/capabilities/bill.py", line 376, in iter_resources
return self.iter_subscription()
^^^^^^^^^^^^^^^^^^^^^^^^
File "<woob_root>/modules/orange/module.py", line 67, in iter_subscription
return self.browser.get_subscription_list()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<woob_root>/woob/tools/decorators.py", line 37, in f_retry
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "<woob_root>/woob/browser/browsers.py", line 1154, in inner
browser.do_login()
File "<woob_root>/modules/orange/browser.py", line 146, in do_login
self.go_on_login_page()
File "<woob_root>/woob/tools/decorators.py", line 37, in f_retry
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "<woob_root>/modules/orange/browser.py", line 138, in go_on_login_page
if self.page.has_captcha():
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'has_captcha'
What are the steps to reproduce the problem?
woob bill -b orange ls --debug
What woob version are you using?
Output of woob config --version
command:
Woob config v3.6 Copyright(C) 2010-2024 Christophe Benz, Romain Bignon
(master git)
What module version are you using?
Output of woob config info MODULE_NAME
command:
.------------------------------------------------------------------------------.
| Module orange |
+-----------------.------------------------------------------------------------'
| Version | 202402202048
| Maintainer | Florian Duguet <florian.duguet@budget-insight.com>
| License | LGPLv3+
| Description | Orange French mobile phone provider
| Capabilities | CapDocument, CapAccount, CapCredentialsCheck, CapProfile, CapCollection
| Installed | yes
| Location | <woob_root>/modules/orange
| |
| Configuration | login: Login (default: )
| | password: Password (default: )
'-----------------'
How did you install woob?
git