[bank][boursorama] woob.browser.pages.FormNotFound
With which module do you encounter problems?
boursorama
Describe the problem you encounter
There is an error when trying to use the module.
Paste here the stacktrace or error message you observe
/bankfetcher $ woob bank --auto-update
Welcome to bank v3.0
Copyright(C) 2010-2023 Romain Bignon, Christophe Benz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Type "help" to display available commands.
Loaded backends: boursorama
bank> list
Account Balance Coming
------------------------------------------+----------+----------
[boursorama] Identifiant (hidden input):
[boursorama] Mot de passe (hidden input):
Bug(boursorama):
=== [ 0%] Getting https://updates.woob.tech/3.0/main/
A new version of boursorama is available. Do you want to install it? (Y/n):
=== [ 20%] A new version of boursorama is available
=== [ 30%] Downloading module...
=== [ 50%] Checking module authenticity...
=== [ 70%] Setting up module...
=== [ 90%] Downloading icon...
=== [100%] Module boursorama has been installed!
New version of module boursorama has been installed. Retry to call the command.
------------------------------------------+----------+----------
bank> list
Account Balance Coming
------------------------------------------+----------+----------
Bug(boursorama):
=== [ 0%] Getting https://updates.woob.tech/3.0/main/
Use "logging debug" option to print backtraces.
------------------------------------------+----------+----------
bank> logging debug
bank> list
Account Balance Coming
------------------------------------------+----------+----------
2023-01-22 15:49:53,609:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'boursorama'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f3a817c8d00>>
2023-01-22 15:49:53,641:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://clients.boursorama.com:443 "GET /connexion/saisie-mot-de-passe HTTP/1.1" 200 None
2023-01-22 15:49:53,654:DEBUG:backend.boursorama.browser:3.0:browsers.py:880:internal_callback Handle https://clients.boursorama.com/connexion/saisie-mot-de-passe with PasswordPage
2023-01-22 15:49:53,678:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://clients.boursorama.com:443 "GET /connexion/clavier-virtuel?_hinclude=1 HTTP/1.1" 200 None
2023-01-22 15:49:53,684:DEBUG:backend.boursorama.browser:3.0:browsers.py:880:internal_callback Handle https://clients.boursorama.com/connexion/clavier-virtuel?_hinclude=1 with VirtKeyboardPage
2023-01-22 15:49:53,686:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'boursorama'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f3a817c8d00>> raised an error: FormNotFound()
Bug(boursorama):
=== [ 0%] Getting https://updates.woob.tech/3.0/main/
2023-01-22 15:49:53,767:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://updates.woob.tech:443 "GET /3.0/main/modules.list HTTP/1.1" 200 67838
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/woob/.local/share/woob/modules/3.0/boursorama/module.py", line 194, in iter_resources
File "/home/woob/.local/share/woob/modules/3.0/boursorama/module.py", line 71, in iter_accounts
File "/usr/lib/python3.9/site-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/usr/lib/python3.9/site-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/usr/lib/python3.9/site-packages/woob/browser/retry.py", line 45, in wrapper
return func(browser, *args, **kwargs)
File "/home/woob/.local/share/woob/modules/3.0/boursorama/browser.py", line 439, in do_login
raise AssertionError("Land on incident page but didn't found any error message")
File "/home/woob/.local/share/woob/modules/3.0/boursorama/compat/woob_browser_mfa.py", line 227, in do_double_authentication
self.init_login()
File "/home/woob/.local/share/woob/modules/3.0/boursorama/browser.py", line 347, in init_login
self.otp_number = self.user_hash = self.otp_token = None
File "/home/woob/.local/share/woob/modules/3.0/boursorama/pages.py", line 256, in enter_password
form = self.get_form()
File "/usr/lib/python3.9/site-packages/woob/browser/pages.py", line 763, in get_form
raise FormNotFound()
woob.browser.pages.FormNotFound
------------------------------------------+----------+----------
bank>
What are the steps to reproduce the problem?
See trace above.
What woob version are you using?
Output of woob config --version
command:
/bankfetcher $ woob config --version
Woob config v3.0 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
What module version are you using?
Output of woob config info MODULE_NAME
command:
/bankfetcher $ woob config info boursorama
.------------------------------------------------------------------------------.
| Module boursorama |
+-----------------.------------------------------------------------------------'
| Version | 202211031721
| Maintainer | Gabriel Kerneis <gabriel@kerneis.info>
| License | LGPLv3+
| Description | Boursorama
| Capabilities | CapBank, CapTransfer, CapDocument, CapBankTransferAddRecipient, CapCredentialsCheck, CapBankWealth, CapBankTransfer, CapCurrencyRate, CapContact, CapProfile, CapCollection
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/boursorama.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | code: None
| | request_information: None
'-----------------'
How did you install woob?
not sure
Additional info you'd like to mention
Same error with multiple accounts.