woob issueshttps://gitlab.com/woob/woob/-/issues2022-08-11T15:27:49Zhttps://gitlab.com/woob/woob/-/issues/570[bank](boursorama) Fails with "there are two obejcts wit the same ID!" when t...2022-08-11T15:27:49ZFélix Piédallu[bank](boursorama) Fails with "there are two obejcts wit the same ID!" when trying to sync the accounts in Kresus.Here's the error:
```
- code: GENERIC_EXCEPTION
- short message: Unknown error: There are two objects with the same ID! eyJpZCI6IjA1NDBkODhlMTA3NzY3MDc3OWE2YzM3MmQwMjBiMjQ1IiwiZCI6IjIwMjItMDctMDEiLCJhYyI6IjFiOWFhMGE2ZDRmYTMwMDc2NzljYTMw...Here's the error:
```
- code: GENERIC_EXCEPTION
- short message: Unknown error: There are two objects with the same ID! eyJpZCI6IjA1NDBkODhlMTA3NzY3MDc3OWE2YzM3MmQwMjBiMjQ1IiwiZCI6IjIwMjItMDctMDEiLCJhYyI6IjFiOWFhMGE2ZDRmYTMwMDc2NzljYTMwZWU1MTdhN2VhIiwibSI6ZmFsc2V9.
- stack: no stack
- message: Unknown error: There are two objects with the same ID! eyJpZCI6IjA1NDBkODhlMTA3NzY3MDc3OWE2YzM3MmQwMjBiMjQ1IiwiZCI6IjIwMjItMDctMDEiLCJhYyI6IjFiOWFhMGE2ZDRmYTMwMDc2NzljYTMwZWU1MTdhN2VhIiwibSI6ZmFsc2V9.
Traceback (most recent call last):
File "/var/www/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/var/www/kresus/build/server/providers/woob/py/main.py", line 595, in get_operations
for histop in self.backend.iter_history(account):
File "/var/www/kresus/data/woob-data/modules/3.0/boursorama/module.py", line 81, in iter_history
for tr in self.browser.get_history(account):
File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 170, in __next__
obj = next(self.it)
File "/var/www/kresus/data/woob-data/modules/3.0/boursorama/browser.py", line 657, in get_regular_transactions
for transaction in self.page.iter_history():
File "/var/www/kresus/data/woob-data/modules/3.0/boursorama/pages.py", line 568, in inner
for r in func(page, *args, **kwargs):
File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/elements.py", line 222, in __iter__
obj = self.store(obj)
File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/elements.py", line 259, in store
raise DataError('There are two objects with the same ID! %s' % obj.id)
woob.browser.elements.DataError: There are two objects with the same ID! eyJpZCI6IjA1NDBkODhlMTA3NzY3MDc3OWE2YzM3MmQwMjBiMjQ1IiwiZCI6IjIwMjItMDctMDEiLCJhYyI6IjFiOWFhMGE2ZDRmYTMwMDc2NzljYTMwZWU1MTdhN2VhIiwibSI6ZmFsc2V9
```
I really don't know what I can tell more than that :( Feel free to ask me questions !https://gitlab.com/woob/woob/-/issues/569Update package for BP module (https://updates.woob.tech/3.1/main/bp.tar.gz) i...2022-07-31T13:49:57ZfcoqueletUpdate package for BP module (https://updates.woob.tech/3.1/main/bp.tar.gz) is incomplete / corruptedHello,
Current version of the [BP](https://updates.woob.tech/3.1/main/bp.tar.gz) update package is missing part of the module code (i.e the whole [pages](https://gitlab.com/woob/woob/-/tree/master/modules/bp/pages) submodule), making it...Hello,
Current version of the [BP](https://updates.woob.tech/3.1/main/bp.tar.gz) update package is missing part of the module code (i.e the whole [pages](https://gitlab.com/woob/woob/-/tree/master/modules/bp/pages) submodule), making it unfit to run as browser.py will fail its import .pages.* statements.
I checked https://gitlab.com/woob/woob/-/blob/master/woob/applications/repos/repos.py but did not find any obvious error / did not find the pipeline responsible to generate those files so I'm a bit blocked in my investigations :)
Could you please check ?[]
P.S: attached the BP module as downloaded today [bp.tar.gz](/uploads/c3c9e4cf9977d26316cdfe619bcd5a0d/bp.tar.gz)https://gitlab.com/woob/woob/-/issues/568[bank][créditcoopératif] Authentication error when trying to log in with "par...2022-08-22T12:58:00ZMaphr[bank][créditcoopératif] Authentication error when trying to log in with "particulier" type account### With which module do you encounter problems?
creditcooperatif
### Describe the problem you encounter :
Error when trying to authenticate.
### Paste here the stacktrace or error message you observe
```
2022-07-01 11:13:48,676:WARNI...### With which module do you encounter problems?
creditcooperatif
### Describe the problem you encounter :
Error when trying to authenticate.
### Paste here the stacktrace or error message you observe
```
2022-07-01 11:13:48,676:WARNING:backend.creditcooperatif.browser:3.0:browser.py:692:do_vk_authentication Security level "291" has a SCA with authentication method "CLOUDCARD"
Bug(creditcooperatif): Unexpected response during login authentication
```
### What are the steps to reproduce the problem?
Add backend and fill required authentication fields.
### What woob version are you using?
```
Woob config v3.0
```
### What module version are you using?
```
.------------------------------------------------------------------------------.
| Module creditcooperatif |
+-----------------.------------------------------------------------------------'
| Version | 202206251235
| Maintainer | Kevin Pouget <weboob@kevin.pouget.me>
| License | LGPLv3+
| Description | Crédit Coopératif
| Capabilities | CapProfile, CapCollection, CapDocument, CapBankTransfer, CapBank, CapBankTransferAddRecipient, CapBankWealth, CapContact, CapTransfer
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/creditcooperatif.tar.gz
```
### How did you install woob?
via pip install
### Additional info you'd like to mention
The error is triggered at the same time as I receive a notification from my bank app asking me to validate the external access.https://gitlab.com/woob/woob/-/issues/567[n26] AttributeError: 'NotAvailableType' object has no attribute 'upper'2022-12-25T14:35:57ZBruno Pagani[n26] AttributeError: 'NotAvailableType' object has no attribute 'upper'When trying to add a N26 account in Kresus, I get:
```python
File "/usr/lib/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/usr/lib/kresus/build/server/...When trying to add a N26 account in Kresus, I get:
```python
File "/usr/lib/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/usr/lib/kresus/build/server/providers/woob/py/main.py", line 595, in get_operations
for histop in self.backend.iter_history(account):
File "/var/lib/kresus/woob-data/modules/3.0/n26/browser.py", line 355, in _iter_transactions
for tr in sorted_transactions(self.page.iter_history(coming=coming)):
File "/usr/lib/python3.10/site-packages/woob/tools/capabilities/bank/transactions.py", line 313, in sorted_transactions
return sorted(iterable, reverse=True, key=lambda tr: (tr.date, new_datetime(tr.rdate) if tr.rdate else datetime.datetime.min))
File "/usr/lib/python3.10/site-packages/woob/browser/elements.py", line 221, in __iter__
for obj in item:
File "/usr/lib/python3.10/site-packages/woob/browser/elements.py", line 363, in __iter__
self.handle_attr(attr, getattr(self, 'obj_%s' % attr))
File "/usr/lib/python3.10/site-packages/woob/browser/elements.py", line 380, in handle_attr
value = self.use_selector(func, key=key)
File "/usr/lib/python3.10/site-packages/woob/browser/elements.py", line 130, in use_selector
value = func(self)
File "/usr/lib/python3.10/site-packages/woob/browser/filters/base.py", line 184, in __call__
return self.filter(self.select(self.selector, item))
File "/usr/lib/python3.10/site-packages/woob/browser/filters/base.py", line 133, in print_debug
res = function(self, value)
File "/usr/lib/python3.10/site-packages/woob/browser/filters/standard.py", line 345, in filter
return BaseCurrency.get_currency(txt)
File "/usr/lib/python3.10/site-packages/woob/capabilities/base.py", line 663, in get_currency
curtexts = klass.EXTRACTOR.sub(' ', text.upper()).split()
AttributeError: 'NotAvailableType' object has no attribute 'upper'
```https://gitlab.com/woob/woob/-/issues/566[bank][caissedepargne] Unable to connect through otp-sms with Secur Pass2022-07-13T21:47:43ZChris Gab[bank][caissedepargne] Unable to connect through otp-sms with Secur PassHi,
Since few days, I'm not able to connect to caissedepargne module anymore.
like it is described in issue #564 my Secur' pass feature is enabled on my smartphone but since few days I don't receive SMS code anymore.
A validation step ...Hi,
Since few days, I'm not able to connect to caissedepargne module anymore.
like it is described in issue #564 my Secur' pass feature is enabled on my smartphone but since few days I don't receive SMS code anymore.
A validation step is triggered on my phone instead of receiving OTP SMS. However, Woob is not waiting for secur pass validation and fails.
I don't have changed anything on my phone banking application, neither on my woob config/installation.
With Secur' pass, is it another 2FA method to connect to caissedepargne instead of CLOUDCARD ?
(Afer thaht, For tests purpose, I've disabled Secur Pass on my Phone, by the way, I've received an OTP SMS and Woob works fine. However, Token may not be stored because an OTP SMS is sent everytime I run Woob. There's a fex days/weeks, Token was well stored for 90 days).
By now, I've reactivated Secur Pass.
Thanks for your help!
`Command: woob bank list`
Results:
```
2022-06-29 00:14:27,497:WARNING:woob.backend.caissedepargne.browser:3.1:browser.py:695:do_vk_authentication Security level "281" has a SCA with authentication method "CLOUDCARD"
Bug(caissedepargne): Unexpected response during login authentication
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/root/.local/lib/python3.5/site-packages/woob/core/bcall.py", line 105, in backend_process
for subresult in result:
File "/root/.local/lib/python3.5/site-packages/woob/tools/application/base.py", line 327, in _do_complete_iter
for i, sub in enumerate(res):
File "/root/.local/share/woob/modules/3.1/woob_modules/caissedepargne/module.py", line 86, in iter_accounts
for account in self.browser.get_accounts_list():
File "/root/.local/lib/python3.5/site-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/root/.local/lib/python3.5/site-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/root/.local/lib/python3.5/site-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/root/.local/lib/python3.5/site-packages/woob/browser/browsers.py", line 995, in inner
browser.do_login()
File "/root/.local/lib/python3.5/site-packages/woob/browser/browsers.py", line 1495, in do_double_authentication
self.init_login()
File "/root/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 284, in init_login
return self.do_new_login()
File "/root/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 1046, in do_new_login
self.handle_steps_login()
File "/root/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 819, in handle_steps_login
self.handle_step(authentication_method, "login")
File "/root/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 828, in handle_step
return self.handle_step_validation(authentication_method, feature, **params)
File "/root/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 872, in handle_step_validation
self.page.check_errors(feature=feature)
File "/root/.local/share/woob/modules/3.1/woob_modules/caissedepargne/pages.py", line 318, in check_errors
raise AssertionError('Unexpected response during %s authentication' % feature)
AssertionError: Unexpected response during login authentication
```https://gitlab.com/woob/woob/-/issues/565banquepopulaire: Security level 291 is linked to an SCA with CLOUDCARD auth m...2022-08-22T07:58:09ZArthur Huilletbanquepopulaire: Security level 291 is linked to an SCA with CLOUDCARD auth methodbanquepopulaire login fails. Seems like it is due to 2FA request not handled by woob.
'Security level 291 is linked to an SCA with CLOUDCARD auth method'
```
2022-06-24 09:17:46,628:DEBUG:woob.core.bcall:3.1:bcall.py:91:backend_process...banquepopulaire login fails. Seems like it is due to 2FA request not handled by woob.
'Security level 291 is linked to an SCA with CLOUDCARD auth method'
```
2022-06-24 09:17:46,628:DEBUG:woob.core.bcall:3.1:bcall.py:91:backend_process <Backend 'banquepopulaire'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7ffbba7a6650>>
2022-06-24 09:17:46,628:WARNING:woob.backend.banquepopulaire.browser.authenticationsteppage:3.1:pages.py:165:logged oops, we don't know if we're at login or during other authentication
2022-06-24 09:17:46,629:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:273:_get_conn Resetting dropped connection: www.ibps.bpaca.banquepopulaire.fr
2022-06-24 09:17:46,935:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.ibps.bpaca.banquepopulaire.fr:443 "GET /cyber/ibp/ate/portal/internet89C3Portal.jsp HTTP/1.1" 302 273
2022-06-24 09:17:47,128:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.ibps.bpaca.banquepopulaire.fr:443 "GET /s3f-web/chknav?goto=%2Fcyber%2Fibp%2Fate%2Fportal%2Finternet89C3Portal.jsp&version=1 HTTP/1.1" 302 0
2022-06-24 09:17:47,204:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.ibps.bpaca.banquepopulaire.fr:443 "GET /cyber/ibp/ate/portal/internet89C3Portal.jsp HTTP/1.1" 302 628
2022-06-24 09:17:47,257:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.banquepopulaire.fr:443 "GET /se-connecter/sso?continue=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcallback&service=bad&cancel_uri=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcancel&forgottenIdUrl=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fs3f-web%2Frestitutionid&forgottenMdpUrl=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fs3f-web%2Freinitpwd&cdetab=10907&prefusion_part=0&prefusion_pro=0 HTTP/1.1" 200 958
2022-06-24 09:17:47,258:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.banquepopulaire.fr/se-connecter/sso?continue=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcallback&service=bad&cancel_uri=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcancel&forgottenIdUrl=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fs3f-web%2Frestitutionid&forgottenMdpUrl=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fs3f-web%2Freinitpwd&cdetab=10907&prefusion_part=0&prefusion_pro=0 with NewLoginPage
2022-06-24 09:17:47,270:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.banquepopulaire.fr:443 "GET /se-connecter/main.608ef3e706357496.js HTTP/1.1" 200 None
2022-06-24 09:17:47,286:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.banquepopulaire.fr/se-connecter/main.608ef3e706357496.js with JsFilePage
2022-06-24 09:17:47,354:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:273:_get_conn Resetting dropped connection: www.as-ex-ano-groupe.banquepopulaire.fr
2022-06-24 09:17:47,573:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.as-ex-ano-groupe.banquepopulaire.fr:443 "POST /api/oauth/token HTTP/1.1" 200 None
2022-06-24 09:17:47,574:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.as-ex-ano-groupe.banquepopulaire.fr/api/oauth/token with InfoTokensPage
2022-06-24 09:17:47,575:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:273:_get_conn Resetting dropped connection: www.rs-ex-ano-groupe.banquepopulaire.fr
2022-06-24 09:17:47,824:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.rs-ex-ano-groupe.banquepopulaire.fr:443 "POST /bapi/user/v1/users/identificationRouting HTTP/1.1" 200 None
2022-06-24 09:17:47,825:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.rs-ex-ano-groupe.banquepopulaire.fr/bapi/user/v1/users/identificationRouting with InfoTokensPage
2022-06-24 09:17:47,828:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:273:_get_conn Resetting dropped connection: www.as-ex-ath-groupe.banquepopulaire.fr
2022-06-24 09:17:48,116:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.as-ex-ath-groupe.banquepopulaire.fr:443 "POST /api/oauth/v2/authorize?cdetab=10907&client_id=adad0322-47dd-4372-8512-76f3929def9c&response_type=id_token+token&nonce=dfa41bcc-794e-4bc3-8c5a-fde05e6cd9e2&response_mode=form_post&redirect_uri=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcallback&claims=%7B%22userinfo%22%3A+%7B%22cdetab%22%3A+null%2C+%22authMethod%22%3A+null%2C+%22authLevel%22%3A+null%7D%2C+%22id_token%22%3A+%7B%22auth_time%22%3A+%7B%22essential%22%3A+true%7D%2C+%22last_login%22%3A+null%2C+%22cdetab%22%3A+null%2C+%22pro%22%3A+null%7D%7D&bpcesta=%7B%22csid%22%3A+%220e4bcb15-fede-40d9-b458-d340a83efcd5%22%2C+%22typ_app%22%3A+%22rest%22%2C+%22enseigne%22%3A+%22bp%22%2C+%22typ_sp%22%3A+%22out-band%22%2C+%22typ_act%22%3A+%22auth%22%2C+%22snid%22%3A+%226782561%22%2C+%22cdetab%22%3A+%2210907%22%2C+%22typ_srv%22%3A+%22part%22%2C+%22term_id%22%3A+%22dff71396-716d-4b69-bfd1-3b9f1db34a2f%22%7D&login_hint=M2456539&phase=&display=page HTTP/1.1" 200 None
2022-06-24 09:17:48,117:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.as-ex-ath-groupe.banquepopulaire.fr/api/oauth/v2/authorize?cdetab=10907&client_id=adad0322-47dd-4372-8512-76f3929def9c&response_type=id_token+token&nonce=dfa41bcc-794e-4bc3-8c5a-fde05e6cd9e2&response_mode=form_post&redirect_uri=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcallback&claims=%7B%22userinfo%22%3A+%7B%22cdetab%22%3A+null%2C+%22authMethod%22%3A+null%2C+%22authLevel%22%3A+null%7D%2C+%22id_token%22%3A+%7B%22auth_time%22%3A+%7B%22essential%22%3A+true%7D%2C+%22last_login%22%3A+null%2C+%22cdetab%22%3A+null%2C+%22pro%22%3A+null%7D%7D&bpcesta=%7B%22csid%22%3A+%220e4bcb15-fede-40d9-b458-d340a83efcd5%22%2C+%22typ_app%22%3A+%22rest%22%2C+%22enseigne%22%3A+%22bp%22%2C+%22typ_sp%22%3A+%22out-band%22%2C+%22typ_act%22%3A+%22auth%22%2C+%22snid%22%3A+%226782561%22%2C+%22cdetab%22%3A+%2210907%22%2C+%22typ_srv%22%3A+%22part%22%2C+%22term_id%22%3A+%22dff71396-716d-4b69-bfd1-3b9f1db34a2f%22%7D&login_hint=M2456539&phase=&display=page with AuthorizePage
2022-06-24 09:17:48,119:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:273:_get_conn Resetting dropped connection: www.icgauth.banquepopulaire.fr
2022-06-24 09:17:48,721:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "POST /dacswebssoissuer/AuthnRequestServlet HTTP/1.1" 303 0
2022-06-24 09:17:48,770:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacsrest/api/v1u0/transaction/CtxDACPRD078ec012c06415141b480d461238ba13f3022 HTTP/1.1" 200 1161
2022-06-24 09:17:48,771:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.icgauth.banquepopulaire.fr/dacsrest/api/v1u0/transaction/CtxDACPRD078ec012c06415141b480d461238ba13f3022 with AuthenticationMethodPage
2022-06-24 09:17:48,806:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/mappings/fae2f9f4-f8f9-4cc8-a2a1-69708e1ef2a5/images HTTP/1.1" 200 2281
2022-06-24 09:17:48,874:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/mappings/fae2f9f4-f8f9-4cc8-a2a1-69708e1ef2a5/images with VkImagePage
2022-06-24 09:17:48,903:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img5db66879-91cf-4388-a8f4-935734711618 HTTP/1.1" 200 919
2022-06-24 09:17:48,926:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/img5db66879-91cf-4388-a8f4-935734711618
2022-06-24 09:17:48,926:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:48,926:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 461
2022-06-24 09:17:48,960:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgc65b81dd-ef3e-460b-9015-ccd2c17a55f6 HTTP/1.1" 200 919
2022-06-24 09:17:48,982:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/imgc65b81dd-ef3e-460b-9015-ccd2c17a55f6
2022-06-24 09:17:48,982:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:48,982:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 804
2022-06-24 09:17:49,017:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img46a6e0d8-2cc6-4927-b111-a76260487a27 HTTP/1.1" 200 919
2022-06-24 09:17:49,042:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/img46a6e0d8-2cc6-4927-b111-a76260487a27
2022-06-24 09:17:49,042:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:49,042:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 862
2022-06-24 09:17:49,075:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgb1722ba3-3ac0-45eb-93c2-394309beedf1 HTTP/1.1" 200 919
2022-06-24 09:17:49,097:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/imgb1722ba3-3ac0-45eb-93c2-394309beedf1
2022-06-24 09:17:49,098:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:49,098:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 636
2022-06-24 09:17:49,129:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgcc255253-90ba-4320-96a2-674f8bff16e4 HTTP/1.1" 200 919
2022-06-24 09:17:49,154:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/imgcc255253-90ba-4320-96a2-674f8bff16e4
2022-06-24 09:17:49,154:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:49,154:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 701
2022-06-24 09:17:49,183:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img01f55b88-4f09-4750-9039-21dc353a9b83 HTTP/1.1" 200 919
2022-06-24 09:17:49,205:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/img01f55b88-4f09-4750-9039-21dc353a9b83
2022-06-24 09:17:49,206:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:49,206:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 779
2022-06-24 09:17:49,237:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgd2b52e87-7015-462a-b6ad-dd945bd3f446 HTTP/1.1" 200 919
2022-06-24 09:17:49,261:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/imgd2b52e87-7015-462a-b6ad-dd945bd3f446
2022-06-24 09:17:49,261:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:49,261:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 781
2022-06-24 09:17:49,291:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img554a616a-6bbc-46ed-8369-9c5946b075b3 HTTP/1.1" 200 919
2022-06-24 09:17:49,314:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/img554a616a-6bbc-46ed-8369-9c5946b075b3
2022-06-24 09:17:49,314:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:49,314:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 630
2022-06-24 09:17:49,342:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img72defdee-9baf-4a1a-aef4-31edb2faf825 HTTP/1.1" 200 919
2022-06-24 09:17:49,344:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/img72defdee-9baf-4a1a-aef4-31edb2faf825
2022-06-24 09:17:49,344:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:49,344:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 640
2022-06-24 09:17:49,377:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img043ff628-6278-43c9-891c-b04225a1e4cc HTTP/1.1" 200 919
2022-06-24 09:17:49,402:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:908:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacs-rest-media/api/v1u0/medias/images/img043ff628-6278-43c9-891c-b04225a1e4cc
2022-06-24 09:17:49,402:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-06-24 09:17:49,402:DEBUG:PIL.PngImagePlugin:3.1:PngImagePlugin.py:213:call STREAM b'IDAT' 41 535
2022-06-24 09:17:49,783:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.icgauth.banquepopulaire.fr:443 "POST /dacsrest/api/v1u0/transaction/CtxDACPRD078ec012c06415141b480d461238ba13f3022/step HTTP/1.1" 200 681
2022-06-24 09:17:49,806:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.icgauth.banquepopulaire.fr/dacsrest/api/v1u0/transaction/CtxDACPRD078ec012c06415141b480d461238ba13f3022/step with AuthenticationStepPage
2022-06-24 09:17:49,806:WARNING:woob.backend.banquepopulaire.browser:3.1:browser.py:741:do_new_login Security level 291 is linked to an SCA with CLOUDCARD auth method
2022-06-24 09:17:49,806:DEBUG:woob.core.bcall:3.1:bcall.py:97:backend_process <Backend 'banquepopulaire'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7ffbba7a6650>> raised an error: AssertionError('Unexpected response during login authentication')
Bug(banquepopulaire): Unexpected response during login authentication
Traceback (most recent call last):
File "/mnt/data/src/woob/woob/core/bcall.py", line 93, in backend_process
result = function(backend, *args, **kwargs)
File "/mnt/data/src/woob/woob/tools/application/base.py", line 348, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/mnt/data/src/woob/modules/banquepopulaire/module.py", line 173, in iter_resources
return self.iter_accounts()
File "/mnt/data/src/woob/modules/banquepopulaire/module.py", line 120, in iter_accounts
return self.browser.iter_accounts()
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 98, in wrapper
ret = cb()
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 94, in cb
return func(browser, *args, **kwargs)
File "/mnt/data/src/woob/woob/browser/browsers.py", line 995, in inner
browser.do_login()
File "/mnt/data/src/woob/woob/browser/browsers.py", line 1495, in do_double_authentication
self.init_login()
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 456, in init_login
self.page.check_errors(feature='login')
File "/mnt/data/src/woob/modules/caissedepargne/pages.py", line 318, in check_errors
raise AssertionError('Unexpected response during %s authentication' % feature)
AssertionError: Unexpected response during login authentication
```https://gitlab.com/woob/woob/-/issues/564[bank][caissedepargne] issue with "secure'pass" authentication2022-06-28T22:29:46Zn[bank][caissedepargne] issue with "secure'pass" authenticationHi,
I'm using the caissedepargne module. I don't know if it's a bug, or if I'm doing something wrong.
A few months ago, my bank moved on a new 2fa authentication with something they call "secure'pass", which consists of a manual confir...Hi,
I'm using the caissedepargne module. I don't know if it's a bug, or if I'm doing something wrong.
A few months ago, my bank moved on a new 2fa authentication with something they call "secure'pass", which consists of a manual confirmation on a mobile app.
For a couple of years, the workaround in Woob was to enter the text code received on the phone every 3 months.
But with secure'pass nothing is asked at the prompt. login and password are stored in configuration, when I run `woob bank list` I get the notification on the phone app and I am able to confirm, but woob has already terminated with the following error message:
```
2022-06-23 20:58:05,966:WARNING:woob.backend.caissedepargne.browser:3.1:browser.py:692:do_vk_authentication Security level "291" has a SCA with authentication method "CLOUDCARD"
Bug(caissedepargne): Unexpected response during login authentication
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/home/n/.local/lib/python3.10/site-packages/woob/core/bcall.py", line 105, in backend_process
for subresult in result:
File "/home/n/.local/lib/python3.10/site-packages/woob/tools/application/base.py", line 330, in _do_complete_iter
for i, sub in enumerate(res):
File "/home/n/.local/share/woob/modules/3.1/woob_modules/caissedepargne/module.py", line 86, in iter_accounts
for account in self.browser.get_accounts_list():
File "/home/n/.local/lib/python3.10/site-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/home/n/.local/lib/python3.10/site-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/home/n/.local/lib/python3.10/site-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/home/n/.local/lib/python3.10/site-packages/woob/browser/browsers.py", line 994, in inner
browser.do_login()
File "/home/n/.local/lib/python3.10/site-packages/woob/browser/browsers.py", line 1494, in do_double_authentication
self.init_login()
File "/home/n/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 284, in init_login
return self.do_new_login()
File "/home/n/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 1046, in do_new_login
self.handle_steps_login()
File "/home/n/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 819, in handle_steps_login
self.handle_step(authentication_method, "login")
File "/home/n/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 828, in handle_step
return self.handle_step_validation(authentication_method, feature, **params)
File "/home/n/.local/share/woob/modules/3.1/woob_modules/caissedepargne/browser.py", line 872, in handle_step_validation
self.page.check_errors(feature=feature)
File "/home/n/.local/share/woob/modules/3.1/woob_modules/caissedepargne/pages.py", line 318, in check_errors
raise AssertionError('Unexpected response during %s authentication' % feature)
AssertionError: Unexpected response during login authentication
```
I'm using Woob 3.0:
```
Woob config v3.0 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon
```
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module caissedepargne |
+-----------------.------------------------------------------------------------'
| Version | 202205121601
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | Caisse d'Épargne
| Capabilities | CapBankTransfer, CapBankWealth, CapBankTransferAddRecipient, CapCollection, CapTransfer, CapProfile, CapContact, CapDocument, CapBank
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/caissedepargne.tar.gz
| |
| Configuration | login: Identifiant client (default: )
| | password: Mot de passe (default: )
| | nuser: User ID (optional) (default: )
| | auth_type: Type de compte (default: )
| | otp_emv: None
| | otp_sms: None
| | resume: None
| | request_information: None
'-----------------'
```
### How did you install woob?
cloned the git repository, switched to 3.0 tag and ran
```
./tools/local_install.sh ~/woob
```
This occurs on Arch Linux and Debian Bullseye.
Is there something I'm missing? This is driving me mad :disappointed:
Thanks in advance for your help,
--
Nicolashttps://gitlab.com/woob/woob/-/issues/563[bill][ensap] Erreur de module2022-09-21T08:13:09ZAntoine Crouzet[bill][ensap] Erreur de moduleJe dispose de woob 3.0 via brew (essayé en version 3.1 via les sources). Le module ensap ne fonctionne pas :
```
Bug(ensap): __call__() got an unexpected keyword argument 'username'
```
En partant des sources dispos sur Gitlab, j'ai du ...Je dispose de woob 3.0 via brew (essayé en version 3.1 via les sources). Le module ensap ne fonctionne pas :
```
Bug(ensap): __call__() got an unexpected keyword argument 'username'
```
En partant des sources dispos sur Gitlab, j'ai du effectuer trois modifications :
- browser.py
L'accès à l'authentification a été modifié. J'ai donc changé la ligne d'authentification en :
```
self.location("/", data=data, headers=headers)
```
Dans `iter_subscription` j'ai l'impression que le passage de l'argument ne fonctionne pas (changement dans woob ?). J'ai donc mis :
```
yield self.page.get_subscription()
```
- pages.py
En accord avec la dernière modification, j'ai modifié l'accès à `obj_id`
```
obj_id = Lower(CleanText(Dict('identification/identite'), symbols=' '))
```
Cela fonctionne depuis.https://gitlab.com/woob/woob/-/issues/562[bank][swile] 401 Client Error: Unauthorized2022-11-01T09:50:02ZMathieu Clabaut Systerelmathieu.clabaut@systerel.fr[bank][swile] 401 Client Error: Unauthorized
### With which module do you encounter problems?
swile
### Describe the problem you encounter
According to https://whimsical.com/swile-payments-integration-Dffb5KPJNhL3j5B6GWTKi8 I understand that the swile module should open a web pag...
### With which module do you encounter problems?
swile
### Describe the problem you encounter
According to https://whimsical.com/swile-payments-integration-Dffb5KPJNhL3j5B6GWTKi8 I understand that the swile module should open a web page to ask for authorization, but it is not the case.
Doing: `woob bank -b swile list` gives:
```
Account Balance Coming
---------------------------------------------------------+----------+----------
Error(swile): 401 Client Error: Unauthorized
---------------------------------------------------------+----------+----------
```
With debugging:
```
2022-06-01 18:13:45,956:DEBUG:woob.config:3.0:yamlconfig.py:75:load Loading configuration file: /homecrypt/clabaut/.config/woob/bank.storage.
2022-06-01 18:13:45,956:DEBUG:woob.config:3.0:yamlconfig.py:79:load Configuration file loaded: /homecrypt/clabaut/.config/woob/bank.storage.
2022-06-01 18:13:45,966:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "swile" from /home/clabaut/.local/share/woob/modules/3.0/swile
2022-06-01 18:13:45,989:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "swile" for module "swile"
2022-06-01 18:13:45,989:DEBUG:woob.config:3.0:iniconfig.py:53:load Loading application configuration file: /homecrypt/clabaut/.config/woob/bank.
2022-06-01 18:13:45,989:DEBUG:woob.config:3.0:iniconfig.py:73:load Application configuration file loaded: /homecrypt/clabaut/.config/woob/bank.
Account Balance Coming
---------------------------------------------------------+----------+----------
2022-06-01 18:13:45,995:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'swile'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fab49d3e4a0>>
2022-06-01 18:13:45,996:DEBUG:urllib3.util.retry:3.0:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-06-01 18:13:45,996:DEBUG:urllib3.util.retry:3.0:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-06-01 18:13:45,996:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:1001:_new_conn Starting new HTTPS connection (1): directory.swile.co:443
2022-06-01 18:13:46,083:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://directory.swile.co:443 "POST /oauth/token HTTP/1.1" 401 None
2022-06-01 18:13:46,083:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'swile'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fab49d3e4a0>> raised an error: ClientError('401 Client Error: Unauthorized')
Error(swile): 401 Client Error: Unauthorized
---------------------------------------------------------+----------+----------
2022-06-01 18:13:46,096:DEBUG:backend.swile.browser:3.0:woob_browser_browsers.py:107:dump_state Stored cookies into storage
2022-06-01 18:13:46,096:DEBUG:woob.config:3.0:yamlconfig.py:96:save Configuration file saved: /homecrypt/clabaut/.config/woob/bank.storage.
```
The relevant part of `bank.storage` contains something like:
```yaml
swile:
browser_state:
access_token: null
cookies: XXXXXXXXXX==
refresh_token: null
token_type: null
```
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.0 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module swile |
+-----------------.------------------------------------------------------------'
| Version | 202202182007
| Maintainer | Roger Philibert <roger.philibert@gmail.com>
| License | LGPLv3+
| Description | Swile
| Capabilities | CapBank, CapCollection
| Installed | yes
| Location | https://updates.weboob.org/3.0/main/swile.tar.gz
| |
| Configuration | login: E-mail (default: )
| | password: Mot de passe (default: )
| | captcha_response: Captcha Response
'-----------------'
```
### How did you install woob?
Pacman on Arch linuxhttps://gitlab.com/woob/woob/-/issues/561Error(swisslife): Website is unavailable.2022-08-25T09:14:33ZArthur HuilletError(swisslife): Website is unavailable.```
2022-06-01 16:31:36,342:DEBUG:woob.core.bcall:3.1:bcall.py:91:backend_process <Backend 'swisslife'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f2e6a60d1b0>>
2022-06-0...```
2022-06-01 16:31:36,342:DEBUG:woob.core.bcall:3.1:bcall.py:91:backend_process <Backend 'swisslife'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f2e6a60d1b0>>
2022-06-01 16:31:36,342:DEBUG:urllib3.util.retry:3.1:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-06-01 16:31:36,342:DEBUG:urllib3.util.retry:3.1:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-06-01 16:31:36,344:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:1001:_new_conn Starting new HTTPS connection (1): myswisslife.fr:443
2022-06-01 16:31:37,237:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://myswisslife.fr:443 "POST /api/v3/authenticate HTTP/1.1" 200 441
2022-06-01 16:31:37,287:DEBUG:woob.backend.swisslife.browser:3.1:browsers.py:908:internal_callback Unable to handle https://myswisslife.fr/api/v3/authenticate
2022-06-01 16:31:37,288:DEBUG:woob.core.bcall:3.1:bcall.py:100:backend_process <Backend 'swisslife'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f2e6a60d1b0>> returned: <generator object Application._do_complete_iter at 0x7f2e6699e810>
2022-06-01 16:31:37,290:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:273:_get_conn Resetting dropped connection: myswisslife.fr
2022-06-01 16:31:37,428:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://myswisslife.fr:443 "GET /api/v3/contrat/home HTTP/1.1" 401 None
Error(swisslife): Website is unavailable.
```
This has been broken for a while now. I notice that the website is now using /v4/authenticate, not /v3, so maybe that's the problem (?).https://gitlab.com/woob/woob/-/issues/560[bank] [axa] Axa banque is now sending me an SMS every time woob tries to login2022-07-04T17:28:09ZBenoit 'BoD' Lubek[bank] [axa] Axa banque is now sending me an SMS every time woob tries to login### With which module do you encounter problems?
Axabanque
### Describe the problem you encounter
Whenever I try anything with Axa banque, it sends me an SMS, and then hangs.
### Paste here the stacktrace or error message you observe...### With which module do you encounter problems?
Axabanque
### Describe the problem you encounter
Whenever I try anything with Axa banque, it sends me an SMS, and then hangs.
### Paste here the stacktrace or error message you observe
No stacktrace, it just hangs, waiting for something I suppose.
### What are the steps to reproduce the problem?
For instance, doing `woob bank list -f json --auto-update` triggers the issue.
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.1 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
$ woob config info axabanque
.------------------------------------------------------------------------------.
| Module axabanque |
+-----------------.------------------------------------------------------------'
| Version | 202205021224
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | AXA Banque
| Capabilities | CapDocument, CapBankTransfer, CapBankTransferAddRecipient, CapBankWealth, CapTransfer, CapCollection, CapBank, CapProfile
| Installed | yes
| Location | https://updates.woob.tech/3.1/main/axabanque.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Code (default: )
'-----------------'
```
### How did you install woob?
I forgot
### Additional info you'd like to mention
I understand this is a new requirement by Axa Banque and wondering if / hoping there is a solution to this...https://gitlab.com/woob/woob/-/issues/559[bank][caissedepargne]unable to login - unable to find element2022-05-20T06:39:15Zloneept1[bank][caissedepargne]unable to login - unable to find elementThis is a template for submitting an issue, fill the blanks and remove non-applicable stuff.
First, read the [frequently asked questions](https://gitlab.com/woob/woob/-/wikis/faq#common-problems).
### With which module do you encounter...This is a template for submitting an issue, fill the blanks and remove non-applicable stuff.
First, read the [frequently asked questions](https://gitlab.com/woob/woob/-/wikis/faq#common-problems).
### With which module do you encounter problems?
Woob bank -> Caisse d'epargne
### Describe the problem you encounter
"list" or anything not working since the 10th of may
### Paste here the stacktrace or error message you observe
```
2022-05-17 11:41:15,994:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'caissedepargne'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f81747c8198>>
2022-05-17 11:41:15,994:DEBUG:bcall:3.0:bcall.py:101:backend_process <Backend 'caissedepargne'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f81747c8198>> returned: <generator object Application._do_complete_iter at 0x7f816726db88>
2022-05-17 11:41:16,036:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:465:_make_request https://www.caisse-epargne.fr:443 "GET /se-connecter/sso?service=dei HTTP/1.1" 200 820
2022-05-17 11:41:16,055:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:880:internal_callback Handle https://www.caisse-epargne.fr/se-connecter/sso?service=dei with NewLoginPage
Bug(caissedepargne): Unable to find element //script[contains(@src, "main-")]
=== [ 0%] Getting https://updates.weboob.org/3.0/main/
2022-05-17 11:41:16,152:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:465:_make_request https://updates.weboob.org:443 "GET /3.0/main/modules.list HTTP/1.1" 200 63167
2022-05-17 11:41:16,180:DEBUG:charset_normalizer:3.0:api.py:225:from_bytes Code page ascii does not fit given bytes sequence at ALL. 'ascii' codec can't decode byte 0xc3 in position 635: ordinal not in range(128)
2022-05-17 11:41:16,180:DEBUG:charset_normalizer:3.0:api.py:261:from_bytes Code page utf_8 is a multi byte encoding table and it appear that at least one character was encoded using n-bytes.
2022-05-17 11:41:16,180:INFO:charset_normalizer:3.0:api.py:379:from_bytes utf_8 passed initial chaos probing. Mean measured chaos is 0.000000 %
2022-05-17 11:41:16,180:INFO:charset_normalizer:3.0:api.py:411:from_bytes We detected language [('English', 1.0), ('Finnish', 1.0), ('Indonesian', 1.0), ('Simple English', 1.0), ('Dutch', 0.9733), ('French', 0.92), ('German', 0.88)] using utf_8
2022-05-17 11:41:16,181:INFO:charset_normalizer:3.0:api.py:431:from_bytes utf_8 is most likely the one. Stopping the process.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/woob/browser/filters/html.py", line 108, in filter
return u'%s' % el[0].attrib[self.attr]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/woob/core/bcall.py", line 106, in backend_process
for subresult in result:
File "/usr/local/lib/python3.7/site-packages/woob/tools/application/base.py", line 328, in _do_complete_iter
for i, sub in enumerate(res):
File "/root/.local/share/woob/modules/3.0/caissedepargne/module.py", line 86, in iter_accounts
for account in self.browser.get_accounts_list():
File "/usr/local/lib/python3.7/site-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/usr/local/lib/python3.7/site-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/root/.local/share/woob/modules/3.0/caissedepargne/compat/woob_browser.py", line 436, in do_double_authentication
self.init_login()
File "/root/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 284, in init_login
return self.do_new_login()
File "/root/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 968, in do_new_login
main_js_file = self.page.get_main_js_file_url()
File "/root/.local/share/woob/modules/3.0/caissedepargne/pages.py", line 89, in get_main_js_file_url
return Attr(
File "/usr/local/lib/python3.7/site-packages/woob/browser/filters/base.py", line 184, in __call__
return self.filter(self.select(self.selector, item))
File "/usr/local/lib/python3.7/site-packages/woob/browser/filters/base.py", line 133, in print_debug
res = function(self, value)
File "/usr/local/lib/python3.7/site-packages/woob/browser/filters/html.py", line 110, in filter
return self.default_or_raise(XPathNotFound('Unable to find element %s' % self.selector))
File "/usr/local/lib/python3.7/site-packages/woob/browser/filters/base.py", line 71, in default_or_raise
raise exception
woob.browser.filters.html.XPathNotFound: Unable to find element //script[contains(@src, "main-")]
```
### What are the steps to reproduce the problem?
just tryto "list" a caisse d'epargne accont
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.0 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
woob config info caissedepargne
.------------------------------------------------------------------------------.
| Module caissedepargne |
+-----------------.------------------------------------------------------------'
| Version | 202205121601
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | Caisse d'Épargne
| Capabilities | CapBankTransferAddRecipient, CapProfile, CapTransfer, CapContact, CapBankTransfer, CapBank, CapDocument, CapCollection, CapBankWealth
| Installed | yes
| Location | https://updates.weboob.org/3.0/main/caissedepargne.tar.gz
| |
| Configuration | login: Identifiant client (default: )
| | password: Mot de passe (default: )
| | nuser: User ID (optional) (default: )
| | auth_type: Type de compte (default: )
| | otp_emv: None
| | otp_sms: None
| | resume: None
| | request_information: None
'-----------------'
```https://gitlab.com/woob/woob/-/issues/558[bank][boursorama] history gives only transaction for the current month2022-09-21T08:14:52ZMathieu Clabaut Systerelmathieu.clabaut@systerel.fr[bank][boursorama] history gives only transaction for the current month### With which module do you encounter problems?
boursorama
### Describe the problem you encounter
`woob bank history XXXXXXXXXX@boursorama --condition 'date>2022-04-01' -n300` gives only results for May even if transactions exist in Ap...### With which module do you encounter problems?
boursorama
### Describe the problem you encounter
`woob bank history XXXXXXXXXX@boursorama --condition 'date>2022-04-01' -n300` gives only results for May even if transactions exist in April. The `lcl` module has not this problem
### What woob version are you using?
`Woob config v3.0 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon`
here
### What module version are you using?
```
.------------------------------------------------------------------------------.
| Module boursorama |
+-----------------.------------------------------------------------------------'
| Version | 202205121601
| Maintainer | Gabriel Kerneis <gabriel@kerneis.info>
| License | LGPLv3+
| Description | Boursorama
| Capabilities | CapCurrencyRate, CapBankTransferAddRecipient, CapProfile, CapTransfer, CapContact, CapBankTransfer, CapBank, CapDocument, CapCollection, CapBankWealth
| Installed | yes
| Location | https://updates.weboob.org/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?
pacman on Arch linux
### Additional info you'd like to mention
This behavior is new.https://gitlab.com/woob/woob/-/issues/557Bug(creditcooperatif): Unable to find element //script[contains(@src, "main-")]2022-05-12T05:51:43ZCharles-Antoine DEGENNESBug(creditcooperatif): Unable to find element //script[contains(@src, "main-")]### With which module do you encounter problems?
`creditcooperatif`
### Describe the problem you encounter
a call to `woob bank list` return an error
### Paste here the stacktrace or error message you observe
```
Bug(creditcooperati...### With which module do you encounter problems?
`creditcooperatif`
### Describe the problem you encounter
a call to `woob bank list` return an error
### Paste here the stacktrace or error message you observe
```
Bug(creditcooperatif): Unable to find element //script[contains(@src, "main-")]
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/woob/browser/filters/html.py", line 108, in filter
return u'%s' % el[0].attrib[self.attr]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/woob/core/bcall.py", line 106, in backend_process
for subresult in result:
File "/usr/local/lib/python3.8/dist-packages/woob/tools/application/base.py", line 328, in _do_complete_iter
for i, sub in enumerate(res):
File "/root/.local/share/woob/modules/3.0/caissedepargne/module.py", line 86, in iter_accounts
for account in self.browser.get_accounts_list():
File "/usr/local/lib/python3.8/dist-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/usr/local/lib/python3.8/dist-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/root/.local/share/woob/modules/3.0/caissedepargne/compat/woob_browser.py", line 436, in do_double_authentication
self.init_login()
File "/root/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 284, in init_login
return self.do_new_login()
File "/root/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 968, in do_new_login
main_js_file = self.page.get_main_js_file_url()
File "/root/.local/share/woob/modules/3.0/caissedepargne/pages.py", line 89, in get_main_js_file_url
return Attr('//script[contains(@src, "main-")]', 'src')(self.doc)
File "/usr/local/lib/python3.8/dist-packages/woob/browser/filters/base.py", line 184, in __call__
return self.filter(self.select(self.selector, item))
File "/usr/local/lib/python3.8/dist-packages/woob/browser/filters/base.py", line 133, in print_debug
res = function(self, value)
File "/usr/local/lib/python3.8/dist-packages/woob/browser/filters/html.py", line 110, in filter
return self.default_or_raise(XPathNotFound('Unable to find element %s' % self.selector))
File "/usr/local/lib/python3.8/dist-packages/woob/browser/filters/base.py", line 71, in default_or_raise
raise exception
woob.browser.filters.html.XPathNotFound: Unable to find element //script[contains(@src, "main-")]
```
### What are the steps to reproduce the problem?
declare an account at the creditcooperatif bank
then enter `woob bank list`
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.0 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info creditcooperatif` command:
```
.------------------------------------------------------------------------------.
| Module creditcooperatif |
+-----------------.------------------------------------------------------------'
| Version | 202203101458
| Maintainer | Kevin Pouget <weboob@kevin.pouget.me>
| License | LGPLv3+
| Description | Crédit Coopératif
| Capabilities | CapTransfer, CapBank, CapBankTransferAddRecipient, CapContact, CapCollection, CapDocument, CapBankTransfer, CapBankWealth, CapProfile
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/creditcooperatif.tar.gz
'-----------------'
```
### How did you install woob?
`pip install woob`
### Additional info you'd like to mention
I tried `woob update`, but it updated another module and so the error for this one is still there.
Thank you
edit: forgot to mention the problem first arose this morning 11/05/2022 around 00h00https://gitlab.com/woob/woob/-/issues/556Bug(caissedepargne): Unable to find element //script[contains(@src, "main-")]2022-05-13T07:37:50ZnBug(caissedepargne): Unable to find element //script[contains(@src, "main-")]Hi,
# With which module do you encounter problems?
Since this morning I am unable to connect to my account using caissedepargne module. It seems related to the same issue for banquepopulaire (#553), but unfortunatly I was unable to fix...Hi,
# With which module do you encounter problems?
Since this morning I am unable to connect to my account using caissedepargne module. It seems related to the same issue for banquepopulaire (#553), but unfortunatly I was unable to fix it using the related commit.
# Paste here the stacktrace or error message you observe
```
Account Balance Coming
---------------------------------------------------------+----------+----------
2022-05-11 18:33:19,851:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'caissedepargne'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7faaa5df5be0>>
2022-05-11 18:33:19,851:DEBUG:bcall:3.0:bcall.py:101:backend_process <Backend 'caissedepargne'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7faaa5df5be0>> returned: <generator object Application._do_complete_iter at 0x7faaa291c270>
2022-05-11 18:33:19,854:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-05-11 18:33:19,858:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-05-11 18:33:19,956:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "linebourse" from /home/banq/.local/share/woob/modules/3.0/linebourse
2022-05-11 18:33:19,957:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-05-11 18:33:19,957:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-05-11 18:33:19,958:INFO:backend.caissedepargne.browser:3.0:switch.py:90:set_browser using 'main' browser
2022-05-11 18:33:19,960:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-05-11 18:33:19,961:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-05-11 18:33:19,967:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-05-11 18:33:19,967:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-05-11 18:33:19,969:INFO:backend.caissedepargne.browser:3.0:switch.py:90:set_browser using 'main' browser
2022-05-11 18:33:19,970:DEBUG:backend.caissedepargne.browser:3.0:woob_browser.py:79:_load_cookies Reloaded cookies from storage
2022-05-11 18:33:19,975:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:971:_new_conn Starting new HTTPS connection (1): www.caisse-epargne.fr:443
2022-05-11 18:33:20,106:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET /se-connecter/sso?service=dei HTTP/1.1" 200 820
2022-05-11 18:33:20,129:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:880:internal_callback Handle https://www.caisse-epargne.fr/se-connecter/sso?service=dei with NewLoginPage
2022-05-11 18:33:20,133:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:971:_new_conn Starting new HTTPS connection (1): www.as-ex-ano-groupe.caisse-epargne.fr:443
2022-05-11 18:33:20,354:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.as-ex-ano-groupe.caisse-epargne.fr:443 "POST /api/oauth/token HTTP/1.1" 200 None
2022-05-11 18:33:20,358:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:880:internal_callback Handle https://www.as-ex-ano-groupe.caisse-epargne.fr/api/oauth/token with TokenPage
2022-05-11 18:33:20,361:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:971:_new_conn Starting new HTTPS connection (1): www.rs-ex-ano-groupe.caisse-epargne.fr:443
2022-05-11 18:33:20,609:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.rs-ex-ano-groupe.caisse-epargne.fr:443 "POST /bapi/user/v1/users/identificationRouting HTTP/1.1" 200 None
2022-05-11 18:33:20,613:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:880:internal_callback Handle https://www.rs-ex-ano-groupe.caisse-epargne.fr/bapi/user/v1/users/identificationRouting with LoginApi
2022-05-11 18:33:20,670:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET /se-connecter/sso?service=dei HTTP/1.1" 200 820
2022-05-11 18:33:20,691:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:880:internal_callback Handle https://www.caisse-epargne.fr/se-connecter/sso?service=dei with NewLoginPage
Bug(caissedepargne): Unable to find element //script[contains(@src, "main-")]
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/filters/html.py", line 108, in filter
return u'%s' % el[0].attrib[self.attr]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/banq/woob/lib/python3.9/site-packages/woob/core/bcall.py", line 106, in backend_process
for subresult in result:
File "/home/banq/woob/lib/python3.9/site-packages/woob/tools/application/base.py", line 328, in _do_complete_iter
for i, sub in enumerate(res):
File "/home/banq/.local/share/woob/modules/3.0/caissedepargne/module.py", line 86, in iter_accounts
for account in self.browser.get_accounts_list():
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/home/banq/.local/share/woob/modules/3.0/caissedepargne/compat/woob_browser.py", line 436, in do_double_authentication
self.init_login()
File "/home/banq/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 284, in init_login
return self.do_new_login()
File "/home/banq/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 968, in do_new_login
main_js_file = self.page.get_main_js_file_url()
File "/home/banq/.local/share/woob/modules/3.0/caissedepargne/pages.py", line 89, in get_main_js_file_url
return Attr('//script[contains(@src, "main-")]', 'src')(self.doc)
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/filters/base.py", line 184, in __call__
return self.filter(self.select(self.selector, item))
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/filters/base.py", line 133, in print_debug
res = function(self, value)
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/filters/html.py", line 110, in filter
return self.default_or_raise(XPathNotFound('Unable to find element %s' % self.selector))
File "/home/banq/woob/lib/python3.9/site-packages/woob/browser/filters/base.py", line 71, in default_or_raise
raise exception
woob.browser.filters.html.XPathNotFound: Unable to find element //script[contains(@src, "main-")]
---------------------------------------------------------+----------+----------
2022-05-11 18:33:20,755:DEBUG:backend.caissedepargne.browser:3.0:woob_browser.py:125:dump_state Stored cookies into storage
2022-05-11 18:33:20,785:DEBUG:woob.config:3.0:yamlconfig.py:96:save Configuration file saved: /home/banq/.config/woob/bank.storage.
```https://gitlab.com/woob/woob/-/issues/555[bank][creditcooperatif] otp_sms auth doesn't work2022-11-19T12:20:58ZHedy Dargère[bank][creditcooperatif] otp_sms auth doesn't workSince few weeks, I can't connect to this backend.
It ask me for the OTP code and I'm receiving it by SMS but it's doesn't validate without error...
And it's asking the OTP code each time I'm launching woob bankSince few weeks, I can't connect to this backend.
It ask me for the OTP code and I'm receiving it by SMS but it's doesn't validate without error...
And it's asking the OTP code each time I'm launching woob bankhttps://gitlab.com/woob/woob/-/issues/554[bank][HelloBank] Not on the authorization redirection page2022-05-13T12:25:34ZPaul Hochon[bank][HelloBank] Not on the authorization redirection pageHello,
Since end of April if I do woob bank ls -q -v -debug
then HelloBank accounts are not displayed and i get the following error message:
Bug(hellobank): Not on the authorization redirection page
(If --auto-update is passed on the c...Hello,
Since end of April if I do woob bank ls -q -v -debug
then HelloBank accounts are not displayed and i get the following error message:
Bug(hellobank): Not on the authorization redirection page
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/home/jpm/.local/lib/python3.8/site-packages/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/jpm/.local/share/woob/modules/3.0/hellobank/module.py", line 74, in iter_resources
return self.iter_accounts()
File "/home/jpm/.local/share/woob/modules/3.0/hellobank/module.py", line 80, in iter_accounts
return self.browser.iter_accounts()
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/home/jpm/.local/share/woob/modules/3.0/bnp/pp/browser.py", line 238, in do_login
assert self.login_redirect.is_here(), "Not on the authorization redirection page"
AssertionError: Not on the authorization redirection page
HelloBank backend is uptodate and bank like Fortuneo or Boursorama are working properly.
Thank you for your helphttps://gitlab.com/woob/woob/-/issues/553Bug(banquepopulaire): Unable to find element //script[contains(@src, "main-")]2022-05-11T16:41:59ZArthur HuilletBug(banquepopulaire): Unable to find element //script[contains(@src, "main-")]### With which module do you encounter problems?
banquepopulaire fails to list accounts with
Bug(banquepopulaire): Unable to find element //script[contains(@src, "main-")]
### Paste here the stacktrace or error message you observe
`...### With which module do you encounter problems?
banquepopulaire fails to list accounts with
Bug(banquepopulaire): Unable to find element //script[contains(@src, "main-")]
### Paste here the stacktrace or error message you observe
```
Account Balance Coming
------------------------------------------+----------+----------
2022-05-04 07:49:09,529:DEBUG:woob.core.bcall:3.1:bcall.py:91:backend_process <Backend 'banquepopulaire'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f55fc21a680>>
2022-05-04 07:49:09,530:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:273:_get_conn Resetting dropped connection: www.ibps.bpaca.banquepopulaire.fr
2022-05-04 07:49:09,795:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.ibps.bpaca.banquepopulaire.fr:443 "GET /cyber/ibp/ate/portal/internet89C3Portal.jsp HTTP/1.1" 302 273
2022-05-04 07:49:09,977:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.ibps.bpaca.banquepopulaire.fr:443 "GET /s3f-web/chknav?goto=%2Fcyber%2Fibp%2Fate%2Fportal%2Finternet89C3Portal.jsp&version=1 HTTP/1.1" 302 0
2022-05-04 07:49:10,036:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.ibps.bpaca.banquepopulaire.fr:443 "GET /cyber/ibp/ate/portal/internet89C3Portal.jsp HTTP/1.1" 302 628
2022-05-04 07:49:10,084:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:456:_make_request https://www.banquepopulaire.fr:443 "GET /se-connecter/sso?continue=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcallback&service=bad&cancel_uri=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcancel&forgottenIdUrl=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fs3f-web%2Frestitutionid&forgottenMdpUrl=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fs3f-web%2Freinitpwd&cdetab=10907&prefusion_part=0&prefusion_pro=0 HTTP/1.1" 200 None
2022-05-04 07:49:10,085:DEBUG:woob.backend.banquepopulaire.browser:3.1:browsers.py:894:internal_callback Handle https://www.banquepopulaire.fr/se-connecter/sso?continue=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcallback&service=bad&cancel_uri=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fcancel&forgottenIdUrl=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fs3f-web%2Frestitutionid&forgottenMdpUrl=https%3A%2F%2Fwww.ibps.bpaca.banquepopulaire.fr%2Fs3f-web%2Freinitpwd&cdetab=10907&prefusion_part=0&prefusion_pro=0 with NewLoginPage
2022-05-04 07:49:10,085:DEBUG:woob.core.bcall:3.1:bcall.py:97:backend_process <Backend 'banquepopulaire'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f55fc21a680>> raised an error: XPathNotFound('Unable to find element //script[contains(@src, "main-")]')
Bug(banquepopulaire): Unable to find element //script[contains(@src, "main-")]
Traceback (most recent call last):
File "/mnt/data/src/woob/woob/browser/filters/html.py", line 109, in filter
return u'%s' % el[0].attrib[self.attr]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/data/src/woob/woob/core/bcall.py", line 93, in backend_process
result = function(backend, *args, **kwargs)
File "/mnt/data/src/woob/woob/tools/application/base.py", line 348, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/mnt/data/src/woob/modules/banquepopulaire/module.py", line 173, in iter_resources
return self.iter_accounts()
File "/mnt/data/src/woob/modules/banquepopulaire/module.py", line 120, in iter_accounts
return self.browser.iter_accounts()
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 98, in wrapper
ret = cb()
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 94, in cb
return func(browser, *args, **kwargs)
File "/mnt/data/src/woob/woob/browser/browsers.py", line 995, in inner
browser.do_login()
File "/mnt/data/src/woob/woob/browser/browsers.py", line 1495, in do_double_authentication
self.init_login()
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 445, in init_login
self.do_new_login()
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 98, in wrapper
ret = cb()
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 94, in cb
return func(browser, *args, **kwargs)
File "/mnt/data/src/woob/modules/banquepopulaire/browser.py", line 580, in do_new_login
main_js_file = self.page.get_main_js_file_url()
File "/mnt/data/src/woob/modules/caissedepargne/pages.py", line 89, in get_main_js_file_url
return Attr('//script[contains(@src, "main-")]', 'src')(self.doc)
File "/mnt/data/src/woob/woob/browser/filters/base.py", line 190, in __call__
return self.filter(self.select(self.selector, item))
File "/mnt/data/src/woob/woob/browser/filters/base.py", line 138, in wrapper
res = function(self, value)
File "/mnt/data/src/woob/woob/browser/filters/html.py", line 111, in filter
return self.default_or_raise(XPathNotFound('Unable to find element %s' % self.selector))
File "/mnt/data/src/woob/woob/browser/filters/base.py", line 70, in default_or_raise
raise exception
woob.browser.filters.html.XPathNotFound: Unable to find element //script[contains(@src, "main-")]
```
### What woob version are you using?
Latest git as of todayhttps://gitlab.com/woob/woob/-/issues/552Weather backend: stopped working2022-07-12T14:08:44ZmetcalfepeteWeather backend: stopped workingAfter the last update the weather backend stopped working.
$ woob weather
Welcome to weather v3.0
Copyright(C) 2010-2022 Romain Bignon
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU L...After the last update the weather backend stopped working.
$ woob weather
Welcome to weather v3.0
Copyright(C) 2010-2022 Romain Bignon
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: weather
weather> cities Ottawa
Bug(weather): 'doc'
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Use "logging debug" option to print backtraces.
weather:/cities>https://gitlab.com/woob/woob/-/issues/551[Fortuneo] Error no attribute 'SEMIANNUALLY'2022-06-29T09:33:20ZThierry GARCIA[Fortuneo] Error no attribute 'SEMIANNUALLY'Hi,
in fortuneo module (woob 3.1), I have the following error :
2022-04-19 11:16:39,810:ERROR:woob:3.1:woob.py:503:load_backends Unable to load module "fortuneo": type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'
To avoi...Hi,
in fortuneo module (woob 3.1), I have the following error :
2022-04-19 11:16:39,810:ERROR:woob:3.1:woob.py:503:load_backends Unable to load module "fortuneo": type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'
To avoid this error, I have modify the code in woob/modules/3.1/woob_modules/fortuneo/pages/transfer.py
line 395 : 'Semestrielle': TransferFrequency.SEMIANNUALLY,
to : 'Semestrielle': TransferFrequency.BIANNUAL,
Best regards,
Thierry