[bill][ovh] connection not working
With which module do you encounter problems?
bill ovh
Describe the problem you encounter
Unable to log in.
Paste here the stacktrace or error message you observe
2021-12-28 11:56:36,535:DEBUG:woob.core.bcall:3.1:bcall.py:92:backend_process <Backend 'ovh'>: Calling function <bound method Application._do_complete of <woob.applications.bill.bill.AppBill object at 0x105040fd0>>
2021-12-28 11:56:36,535:DEBUG:woob.core.bcall:3.1:bcall.py:98:backend_process <Backend 'ovh'>: Called function <bound method Application._do_complete of <woob.applications.bill.bill.AppBill object at 0x105040fd0>> raised an error: TypeError("'NoneType' object does not support item assignment")
Bug(ovh): 'NoneType' object does not support item assignment
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/Users/dunglas/workspace/woob/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/Users/dunglas/workspace/woob/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/Users/dunglas/.local/share/woob/modules/3.1/woob_modules/ovh/module.py", line 54, in iter_subscription
return self.browser.get_subscription_list()
File "/Users/dunglas/workspace/woob/woob/browser/browsers.py", line 989, in inner
browser.do_login()
File "/Users/dunglas/workspace/woob/woob/tools/decorators.py", line 38, in f_retry
return f(*args, **kwargs)
File "/Users/dunglas/.local/share/woob/modules/3.1/woob_modules/ovh/browser.py", line 81, in do_login
self.validate_security_form()
File "/Users/dunglas/.local/share/woob/modules/3.1/woob_modules/ovh/browser.py", line 74, in validate_security_form
res_form['emailCode'] = self.config['pin_code'].get()
TypeError: 'NoneType' object does not support item assignment
What are the steps to reproduce the problem?
woob bill
backend add ovh
download_pdf all
What woob version are you using?
Output of woob config --version
command:
Woob config v3.1 Copyright(C) 2010-2021 Christophe Benz, Romain Bignon
What module version are you using?
Output of woob config info MODULE_NAME
command:
.------------------------------------------------------------------------------.
| Module ovh |
+-----------------.------------------------------------------------------------'
| Version | 202104111456
| Maintainer | Vincent Paredes <vparedes@budget-insight.com>
| License | LGPLv3+
| Description | Ovh
| Capabilities | CapCollection, CapDocument
| Installed | yes
| Location | https://updates.woob.tech/3.1/main/ovh.tar.gz
| |
| Configuration | login: Account ID (default: )
| | password: Password (default: )
| | pin_code: Code PIN / Email (default: )
'-----------------'
How did you install woob?
setup.py
Additional info you'd like to mention
I'm not sure about what "PIN code" refers to.