woob issueshttps://gitlab.com/woob/woob/-/issues2022-09-21T08:13:09Zhttps://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/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/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/548[bank][caissed'epargne] ItemNotFound("Element ['dateTraitement'] not found")2022-03-30T10:16:10Zkoanya[bank][caissed'epargne] ItemNotFound("Element ['dateTraitement'] not found")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...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?
caissedepargne
### Describe the problem you encounter
I use Kresus and when I try to fetch my caisse d'epargne account, I have the error "WARNING:woob.caissedepargne.browser.lifeinsurancehistory.item:elements.py:387:handle_attr Attribute date (in /home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/pages.py:1920) raises ItemNotFound("Element ['dateTraitement'] not found")". I have this problem since 10 days
### Paste here the stacktrace or error message you observe
```
[2022-03-29T08:37:27.261] [INFO] HTTP - DELETE /api/logs - 200 (67 ms)
[2022-03-29T08:37:36.979] [INFO] providers/woob - Calling woob: command operations...
[2022-03-29T08:38:02.779] [INFO] providers/woob - exited with code 1.
[2022-03-29T08:38:02.779] [WARN] providers/woob - stderr: 2022-03-29 08:38:02,644:WARNING:woob.caissedepargne.browser.lifeinsurancehistory.item:elements.py:387:handle_attr Attribute date (in /home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/pages.py:1920) raises ItemNotFound("Element ['dateTraitement'] not found")
[2022-03-29T08:38:02.780] [INFO] providers/woob - Command returned an error code.
[2022-03-29T08:38:02.822] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-03-29T08:38:02.823] [INFO] providers/woob - Calling woob: command test...
[2022-03-29T08:38:03.437] [INFO] providers/woob - exited with code 0.
[2022-03-29T08:38:03.438] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-03-29T08:38:03.438] [ERROR] providers/woob - Got error while running command "operations": Unknown error: Element ['dateTraitement'] not found.
Traceback (most recent call last):
File "/home/kresus/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/home/kresus/kresus/build/server/providers/woob/py/main.py", line 595, in get_operations
for histop in self.backend.iter_history(account):
File "/home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/module.py", line 95, in iter_history
return self.browser.get_history(account)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/browser.py", line 1826, in get_history
return self._get_history_invests(account)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/browser.py", line 1798, in _get_history_invests
return sorted_transactions(self.page.iter_history())
File "/home/kresus/.local/lib/python3.9/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 "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/elements.py", line 221, in __iter__
for obj in item:
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/elements.py", line 363, in __iter__
self.handle_attr(attr, getattr(self, 'obj_%s' % attr))
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/elements.py", line 380, in handle_attr
value = self.use_selector(func, key=key)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/elements.py", line 136, in use_selector
value = func()
File "/home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/pages.py", line 1931, in obj_date
date = Dict('dateTraitement')(self)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/filters/base.py", line 184, in __call__
return self.filter(self.select(self.selector, item))
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/filters/base.py", line 133, in print_debug
res = function(self, value)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/filters/json.py", line 55, in filter
return self.default_or_raise(ItemNotFound('Element %r not found' % self.selector))
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/filters/base.py", line 71, in default_or_raise
raise exception
woob.browser.filters.base.ItemNotFound: Element ['dateTraitement'] not found
[2022-03-29T08:38:03.439] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
[2022-03-29T08:38:03.510] [ERROR] helpers - when fetching operations: Unknown error: Element ['dateTraitement'] not found.
Traceback (most recent call last):
File "/home/kresus/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/home/kresus/kresus/build/server/providers/woob/py/main.py", line 595, in get_operations
for histop in self.backend.iter_history(account):
File "/home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/module.py", line 95, in iter_history
return self.browser.get_history(account)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/browser.py", line 1826, in get_history
return self._get_history_invests(account)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/browser.py", line 1798, in _get_history_invests
return sorted_transactions(self.page.iter_history())
File "/home/kresus/.local/lib/python3.9/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 "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/elements.py", line 221, in __iter__
for obj in item:
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/elements.py", line 363, in __iter__
self.handle_attr(attr, getattr(self, 'obj_%s' % attr))
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/elements.py", line 380, in handle_attr
value = self.use_selector(func, key=key)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/elements.py", line 136, in use_selector
value = func()
File "/home/kresus/kresus/database/woob-data/modules/3.0/caissedepargne/pages.py", line 1931, in obj_date
date = Dict('dateTraitement')(self)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/filters/base.py", line 184, in __call__
return self.filter(self.select(self.selector, item))
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/filters/base.py", line 133, in print_debug
res = function(self, value)
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/filters/json.py", line 55, in filter
return self.default_or_raise(ItemNotFound('Element %r not found' % self.selector))
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/filters/base.py", line 71, in default_or_raise
raise exception
woob.browser.filters.base.ItemNotFound: Element ['dateTraitement'] not found
[2022-03-29T08:38:03.510] [INFO] helpers - Error
at new KError (/home/kresus/kresus/build/server/helpers.js:60:22)
at callWoob (/home/kresus/kresus/build/server/providers/woob/index.js:184:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async _fetchHelper (/home/kresus/kresus/build/server/providers/woob/index.js:241:16)
at async Object.fetchOperations (/home/kresus/kresus/build/server/providers/woob/index.js:265:12)
at async AccountManager.retrieveOperationsByAccess (/home/kresus/kresus/build/server/lib/accounts-manager.js:228:38)
at async fetchOperations (/home/kresus/kresus/build/server/controllers/accesses.js:199:37)
[2022-03-29T08:38:03.525] [ERROR] HTTP - POST /api/accesses/2/fetch/operations - 500 (26578 ms)
[2022-03-29T08:38:31.584] [INFO] providers/woob - Calling woob: command version...
[2022-03-29T08:38:32.241] [INFO] providers/woob - exited with code 0.
[2022-03-29T08:38:32.242] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-03-29T08:38:32.245] [INFO] HTTP - GET /api/instance/woob - 200 (675 ms)
```
### What are the steps to reproduce the problem?
### What woob version are you using?
Output of `woob config --version` command:
```
=== [ 0%] Getting https://updates.woob.tech/3.0/main/
The repository https://updates.woob.tech/3.0/main/ isn't trusted yet.
Fingerprint of keyring is b5fc136c2d500b8483696a0ee722865842a4cc45
Are you sure you want to continue? (Y/n): *** ASSUMING YES ***
=== [ 0%] Keyring version 202104111455, checksum b5fc136c2d500b8483696a0ee722865842a4cc45
=== [100%] All modules are up-to-date.
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 caissedepargne |
+-----------------.------------------------------------------------------------'
| Version | 202203101458
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | Caisse d'Épargne
| Capabilities | CapBankWealth, CapBankTransferAddRecipient, CapCollection, CapDocument, CapContact, CapTransfer, CapProfile, CapBankTransfer, CapBank
| Installed | no
| Location | https://updates.woob.tech/3.0/main/caissedepargne.tar.gz
'-----------------'
```
### How did you install woob?
pip
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/546[hsbc] 404 when submitting SCA (regression)2022-04-08T10:28:23ZLudovic LANGE[hsbc] 404 when submitting SCA (regression)### With which module do you encounter problems?
hsbc
### Describe the problem you encounter
When submitting the SCA, a 404 error is thrown.
Commit b539a4ef4048a4922f6b638d079a78e6d2234c40 seems to have introduced a regression:
```patch...### With which module do you encounter problems?
hsbc
### Describe the problem you encounter
When submitting the SCA, a 404 error is thrown.
Commit b539a4ef4048a4922f6b638d079a78e6d2234c40 seems to have introduced a regression:
```patch
@ modules/hsbc/browser.py:221 @ def check_login_error(self):
raise AssertionError('Unhandled error at login: %s' % error_msg)
+ def get_otp_validation_url(self, otp_url):
+ # This method is useful for children modules that don't share the same validation url for otp
+ return self.BASEURL + otp_url
+
def init_login(self):
self.session.cookies.clear()
@ modules/hsbc/browser.py:252 @ def init_login(self):
otp_form = self.page.get_form(nr=0)
self.otp_form_data = dict(otp_form)
- self.otp_validation_url = 'https://www.hsbc.fr' + otp_form.url
+ self.otp_validation_url = self.get_otp_validation_url(otp_form.url)
raise BrowserQuestion(
Value(
'otp',
```
As `self.BASEURL` is not `https://www.hsbc.fr` but `https://clients.hsbc.fr`
### Paste here the stacktrace or error message you observe
```
2022-03-06 20:14:54,112:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:393:_make_request https://clients.hsbc.fr:443 "POST /1/2/!ut/p/z1/***********************************-*****************************-****************************-****************!/dz/d5/***************/?idv_cmd=idv.Authentication HTTP/1.1" 404 1528
```
In a browser, the SCA is POSTed, as with other authentication steps, to `https://www.hsbc.fr`.
### What are the steps to reproduce the problem?
I don't have a way to reproduce the SCA prompt (other than waiting multiple days).
Command used:
```shell
WOOB_USE_OBSOLETE_RESPONSES_DIR=1 woob bank -b hsbc ls --debug --save-response
```
### 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:
```
.------------------------------------------------------------------------------.
| Module hsbc |
+-----------------.------------------------------------------------------------'
| Version | 202104162240
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | HSBC France
| Capabilities | CapBank, CapBankWealth, CapCollection, CapProfile, CapDocument
| Installed | yes
| Location | /*********************/weboob/modules/hsbc
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | secret: Réponse secrète (default: )
| | otp: None
| | request_information: None
'-----------------'
```
### How did you install woob?
git + pip
### Additional info you'd like to mention
(no thanks :-))https://gitlab.com/woob/woob/-/issues/545Bug(swisslife): Element ['estResilie'] not found2022-02-28T17:30:44ZArthur HuilletBug(swisslife): Element ['estResilie'] not foundTrying to connect to my Swisslife life insurance, I get the following:
Bug(swisslife): Element ['estResilie'] not found
```
2022-02-25 09:22:37,854:DEBUG:woob.core.bcall:3.1:bcall.py:92:backend_process <Backend 'swisslife'>: Calling fu...Trying to connect to my Swisslife life insurance, I get the following:
Bug(swisslife): Element ['estResilie'] not found
```
2022-02-25 09:22:37,854:DEBUG:woob.core.bcall:3.1:bcall.py:92:backend_process <Backend 'swisslife'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fe98ba125f0>>
2022-02-25 09:22:37,854:DEBUG:woob.core.bcall:3.1:bcall.py:101:backend_process <Backend 'swisslife'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fe98ba125f0>> returned: <generator object Application._do_complete_iter at 0x7fe9880811c0>
Bug(swisslife): Element ['estResilie'] not found
Traceback (most recent call last):
File "/mnt/data/src/woob/woob/core/bcall.py", line 106, in backend_process
for subresult in result:
File "/mnt/data/src/woob/woob/tools/application/base.py", line 328, in _do_complete_iter
for i, sub in enumerate(res):
File "/mnt/data/src/woob/modules/swisslife/browser.py", line 138, in iter_accounts
for account in wealth_accounts:
File "/mnt/data/src/woob/woob/browser/elements.py", line 226, in __iter__
if item.condition is not None and not item.condition():
File "/mnt/data/src/woob/modules/swisslife/pages.py", line 124, in condition
if Dict('estBanque')(self) or Dict('estResilie')(self):
File "/mnt/data/src/woob/woob/browser/filters/base.py", line 191, in __call__
return self.filter(self.select(self.selector, item))
File "/mnt/data/src/woob/woob/browser/filters/base.py", line 139, in wrapper
res = function(self, value)
File "/mnt/data/src/woob/woob/browser/filters/json.py", line 55, in filter
return self.default_or_raise(ItemNotFound('Element %r not found' % self.selector))
File "/mnt/data/src/woob/woob/browser/filters/base.py", line 71, in default_or_raise
raise exception
woob.browser.filters.base.ItemNotFound: Element ['estResilie'] not found
------------------------------------------+----------+----------
```https://gitlab.com/woob/woob/-/issues/544[bank][fortuneo] Unable to load module "fortuneo"2022-02-23T08:33:26ZCarlos GOMES[bank][fortuneo] Unable to load module "fortuneo"`woob config add fortuneo`
Unable to load module "fortuneo": type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'`woob config add fortuneo`
Unable to load module "fortuneo": type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'https://gitlab.com/woob/woob/-/issues/543[boursorama] type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'2022-02-27T21:39:34ZCamille Huot[boursorama] type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'### With which module do you encounter problems?
boursorama
### Describe the problem you encounter
The module does not load due to the following error:
### Paste here the stacktrace or error message you observe
```
Select a backend ...### With which module do you encounter problems?
boursorama
### Describe the problem you encounter
The module does not load due to the following error:
### Paste here the stacktrace or error message you observe
```
Select a backend to create (q to stop): 21
2022-02-20 21:16:13,826:ERROR:modules:3.1:modules.py:158:load_module type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/woob/core/modules.py", line 152, in load_module
module = LoadedModule(imp.load_module(module_name, fp, pathname, description))
File "/usr/lib/python3.8/imp.py", line 244, in load_module
return load_package(name, filename)
File "/usr/lib/python3.8/imp.py", line 216, in load_package
return _load(spec)
File "<frozen importlib._bootstrap>", line 702, in _load
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/data/modules/3.1/boursorama/__init__.py", line 22, in <module>
from .module import BoursoramaModule
File "/data/modules/3.1/boursorama/module.py", line 42, in <module>
from .browser import BoursoramaBrowser
File "/data/modules/3.1/boursorama/browser.py", line 67, in <module>
from .transfer_pages import TransferListPage, TransferInfoPage
File "/data/modules/3.1/boursorama/transfer_pages.py", line 108, in <module>
class TransferInfoPage(LoggedPage, HTMLPage):
File "/data/modules/3.1/boursorama/transfer_pages.py", line 115, in TransferInfoPage
class fill_periodic_transfer(ItemElement):
File "/data/modules/3.1/boursorama/transfer_pages.py", line 120, in fill_periodic_transfer
'Semestrielle': TransferFrequency.SEMIANNUALLY,
AttributeError: type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'
Unable to load module "boursorama": type object 'TransferFrequency' has no attribute 'SEMIANNUALLY'
2022-02-20 21:16:13,831:INFO:root:3.1:base.py:301:load_backends No backend loaded
```
### What woob version are you using?
Output of `woob config --version` command:
```
$ woob config --version
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 boursorama
.------------------------------------------------------------------------------.
| Module boursorama |
+-----------------.------------------------------------------------------------'
| Version | 202202182006
| Maintainer | Gabriel Kerneis <gabriel@kerneis.info>
| License | LGPLv3+
| Description | Boursorama
| Capabilities | CapBankTransfer, CapProfile, CapContact, CapCurrencyRate, CapBank, CapCollection, CapTransfer, CapBankWealth, CapDocument, CapBankTransferAddRecipient
| Installed | no
| Location | https://updates.woob.tech/3.1/main/boursorama.tar.gz
'-----------------'
```
### How did you install woob?
pip
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/541[bank][nef] no history available ?2023-04-08T15:58:13Zchoss trentehuit[bank][nef] no history available ?Hi, I'm a new user of the NEF module and I can't get history of my account, only the balance.
Is it normal or I've got a problem with my setup ?
I use bank v3.0 and all is up to date.Hi, I'm a new user of the NEF module and I can't get history of my account, only the balance.
Is it normal or I've got a problem with my setup ?
I use bank v3.0 and all is up to date.https://gitlab.com/woob/woob/-/issues/538allow for specifying IPv4 or IPv6 only when calling woob2022-07-03T14:03:53ZRaphael Jacquotallow for specifying IPv4 or IPv6 only when calling woobin certain cases, there are issues with certain hosters with MTU on ipv6.
thus forcing IPv4 or IPv6 is an interesting option.
this enhancement request to propose adding a '-4' and a '-6' option so that
$ woob -4 <blah>
$ woob -6 <blah>...in certain cases, there are issues with certain hosters with MTU on ipv6.
thus forcing IPv4 or IPv6 is an interesting option.
this enhancement request to propose adding a '-4' and a '-6' option so that
$ woob -4 <blah>
$ woob -6 <blah>
would use either IPv4 or IPv6 exclusively during this session.https://gitlab.com/woob/woob/-/issues/537Error(allrecipes): 401 Client Error: Unauthorized2022-04-12T12:53:35ZmetcalfepeteError(allrecipes): 401 Client Error: UnauthorizedWhen I use: woob recipes (with allrecipes backend) I get:
Welcome to recipes v3.0
...
Loaded backends: allrecipes
recipes> search tofu
Error(allrecipes): 401 Client Error: Unauthorized
I was hoping that I could help solve the problem ...When I use: woob recipes (with allrecipes backend) I get:
Welcome to recipes v3.0
...
Loaded backends: allrecipes
recipes> search tofu
Error(allrecipes): 401 Client Error: Unauthorized
I was hoping that I could help solve the problem but I was unable to find the code piece in woob.
I noticed in weboob:
class AllrecipesBrowser(PagesBrowser):
BASEURL = 'https://apps.allrecipes.com'
results = URL('/v1/recipes\?(?P<query>.*)', ResultsPage)
recipe = URL('/v1/recipes/(?P<_id>.*)/', RecipePage)
home = URL('http://allrecipes.com', HomePage)
A URL call with:
https://apps.allrecipes.com/v1/recipes/?IngIncl=tofu&IngIncl=mango
{"message":"Authorization has been denied for this request."}
I believe that correct URLs should be:
BASEURL = 'https://allrecipes.com'
results = URL('/search/results\?(?P<query>.*)', ResultsPage)
recipe = URL('/search/results/(?P<_id>.*)/', RecipePage)
home = URL('http://allrecipes.com', HomePage)
print("recipe URL:" + recipe)
A call with:
https://www.allrecipes.com/search/results/?IngIncl=tofu&IngIncl=mango
...a page of results...
Again I'm sorry that I wasn't able to fix the base code.
Petehttps://gitlab.com/woob/woob/-/issues/534ERROR:woob:3.0:ouiboube.py:487:load_backends Repositories are not consistent ...2022-02-08T14:25:25ZmetcalfepeteERROR:woob:3.0:ouiboube.py:487:load_backends Repositories are not consistent with the sources.listYou've come up have an awesome concept, thanks for putting it out.
Tonight I tried installing and I'll come up with errors.
Did the install via: pip3 install woob
I had a missing requirement of prettytable, so I did a: pip3 install p...You've come up have an awesome concept, thanks for putting it out.
Tonight I tried installing and I'll come up with errors.
Did the install via: pip3 install woob
I had a missing requirement of prettytable, so I did a: pip3 install prettytable.
All the options give me the same error:
```
$ woob weather
2022-01-17 22:27:33,800:ERROR:woob:3.0:ouiboube.py:487:load_backends Repositories are not consistent with the sources.list
Configuration error: Versions mismatch, please run "woob config update"
```
Then...
```
$ woob config update
=== [ 0%] Getting https://updates.woob.tech/3.0/main/
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/models.py", line 379, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 392, in parse_url
return six.raise_from(LocationParseError(source_url), None)
File "<string>", line 2, in raise_from
urllib3.exceptions.LocationParseError: Failed to parse: https://updates.woob.tech/3.0/main/modules.list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pete/.local/bin/woob", line 8, in <module>
sys.exit(WoobMain.run())
File "/home/pete/.local/lib/python3.8/site-packages/woob/applications/main/main.py", line 89, in run
return cls.run_app(sys.argv[1], sys.argv[2:])
File "/home/pete/.local/lib/python3.8/site-packages/woob/applications/main/main.py", line 48, in run_app
return app_class.run([app] + args)
File "/home/pete/.local/lib/python3.8/site-packages/woob/tools/application/console.py", line 225, in run
super(ConsoleApplication, klass).run(args)
File "/home/pete/.local/lib/python3.8/site-packages/woob/tools/application/base.py", line 544, in run
sys.exit(app.main(args))
File "/home/pete/.local/lib/python3.8/site-packages/woob/tools/application/repl.py", line 325, in main
ret = self.onecmd(cmd)
File "/home/pete/.local/lib/python3.8/site-packages/woob/tools/application/repl.py", line 536, in onecmd
return super(ReplApplication, self).onecmd(line)
File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "/home/pete/.local/lib/python3.8/site-packages/woob/applications/config/config.py", line 296, in do_update
self.woob.update(ConsoleProgress(self))
File "/home/pete/.local/lib/python3.8/site-packages/woob/core/ouiboube.py", line 431, in update
self.repositories.update(progress)
File "/home/pete/.local/lib/python3.8/site-packages/woob/core/repositories.py", line 660, in update
self.update_repositories(progress)
File "/home/pete/.local/lib/python3.8/site-packages/woob/core/repositories.py", line 623, in update_repositories
repository.retrieve_index(self.browser, repo_path)
File "/home/pete/.local/lib/python3.8/site-packages/woob/core/repositories.py", line 194, in retrieve_index
fp = StringIO(browser.open(posixpath.join(self.url, self.INDEX)).text)
File "/home/pete/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 502, in open
preq = self.prepare_request(req)
File "/home/pete/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 615, in prepare_request
return self.session.prepare_request(req)
File "/home/pete/.local/lib/python3.8/site-packages/woob/browser/sessions.py", line 90, in prepare_request
p.prepare(
File "/usr/lib/python3/dist-packages/requests/models.py", line 313, in prepare
self.prepare_url(url, params)
File "/usr/lib/python3/dist-packages/requests/models.py", line 381, in prepare_url
raise InvalidURL(*e.args)
requests.exceptions.InvalidURL: Failed to parse: https://updates.woob.tech/3.0/main/modules.list
```https://gitlab.com/woob/woob/-/issues/533[bank][Hellobank] 404 error - https://connexion-mabanque.bnpparibas/login-2022-01-21T05:40:01ZPaul Hochon[bank][Hellobank] 404 error - https://connexion-mabanque.bnpparibas/login-Dear all
Time to time Hellobank module is not working because https://connexion-mabanque.bnpparibas is not responding. This site belong to Bnp so why it is involved in the code ?
Thank you
> list
Account ...Dear all
Time to time Hellobank module is not working because https://connexion-mabanque.bnpparibas is not responding. This site belong to Bnp so why it is involved in the code ?
Thank you
> list
Account Balance Coming
------------------------------------------+----------+----------
Bug(bnporc): 404 Client Error: Not Found
(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.
------------------------------------------+----------+----------
bank> loggin debug
bank> list
Account Balance Coming
------------------------------------------+----------+----------
2022-01-17 08:34:35,956:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'bnporc'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7feacb24a400>>
2022-01-17 08:34:35,962:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:266:_get_conn Resetting dropped connection: www.hellobank.fr
2022-01-17 08:34:36,068:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:428:_make_request https://www.hellobank.fr:443 "GET /serviceinfosclient-wspl/rpc/InfosClient?modeAppel=0 HTTP/1.1" 200 63
2022-01-17 08:34:36,071:DEBUG:backend.bnporc.browser:3.0:browsers.py:880:internal_callback Handle https://www.hellobank.fr/serviceinfosclient-wspl/rpc/InfosClient?modeAppel=0 with InfoClientPage
2022-01-17 08:34:36,108:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:428:_make_request https://connexion-mabanque.bnpparibas:443 "GET /oidc/authorize?client_id=0e0fe16f-4e44-4138-9c46-fdf077d56087&scope=openid++bnpp_mabanque+ikpi&response_type=code&redirect_uri=https%3A%2F%2Fmabanque.bnpparibas%2Ffr%2Fconnexion&ui=classic+part&ui_locales=fr&wcm_referer=mabanque.bnpparibas%2F HTTP/1.1" 302 0
2022-01-17 08:34:36,166:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "GET /fr/connexion?code=OC-3194423--n2tvsTlMbE-V-WpIp-1d5DE2Jmm3U3g HTTP/1.1" 200 373
2022-01-17 08:34:36,168:DEBUG:backend.bnporc.browser:3.0:browsers.py:880:internal_callback Handle https://mabanque.bnpparibas/fr/connexion?code=OC-3194423--n2tvsTlMbE-V-WpIp-1d5DE2Jmm3U3g with LoginRedirectPage
2022-01-17 08:34:36,215:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:428:_make_request https://www.hellobank.fr:443 "POST /SEEA-pa01/devServer/seeaserver HTTP/1.1" 404 64
2022-01-17 08:34:36,216:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'bnporc'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7feacb24a400>> raised an error: HTTPNotFound('404 Client Error: Not Found')
Bug(bnporc): 404 Client Error: Not Found
(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/bnp/module.py", line 101, in iter_resources
return self.iter_accounts()
File "/home/jpm/.local/share/woob/modules/3.0/bnp/module.py", line 107, 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 233, in do_login
self.location(
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 911, in location
response = self.open(*args, **kwargs)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/tools/decorators.py", line 38, in f_retry
return f(*args, **kwargs)
File "/home/jpm/.local/share/woob/modules/3.0/bnp/pp/browser.py", line 185, in open
return super(BNPParibasBrowser, self).open(*args, **kwargs)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 898, in open
return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 790, in open
return super(DomainBrowser, self).open(req, *args, **kwargs)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 531, in open
response = self.session.send(preq,
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/sessions.py", line 165, in send
return func(*args, **kwargs)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/sessions.py", line 158, in func
return callback(self, resp)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 527, in inner_callback
self.raise_for_status(response)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 559, in raise_for_status
raise HTTPNotFound(http_error_msg, response=response)
woob.browser.exceptions.HTTPNotFound: 404 Client Error: Not Foundhttps://gitlab.com/woob/woob/-/issues/532[googletranslate] doesn't work with locales with hyphens2022-01-17T12:00:44ZShai Coleman[googletranslate] doesn't work with locales with hyphensWhen running `woob translate translate en pt-BR Hello`
```
Traceback (most recent call last):
File "/home/shai/.local/bin/woob", line 8, in <module>
sys.exit(WoobMain.run())
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/...When running `woob translate translate en pt-BR Hello`
```
Traceback (most recent call last):
File "/home/shai/.local/bin/woob", line 8, in <module>
sys.exit(WoobMain.run())
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/woob/applications/main/main.py", line 89, in run
return cls.run_app(sys.argv[1], sys.argv[2:])
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/woob/applications/main/main.py", line 48, in run_app
return app_class.run([app] + args)
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/woob/tools/application/console.py", line 226, in run
super(ConsoleApplication, klass).run(args)
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/woob/tools/application/base.py", line 545, in run
sys.exit(app.main(args))
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/woob/tools/application/repl.py", line 325, in main
ret = self.onecmd(cmd)
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/woob/tools/application/repl.py", line 536, in onecmd
return super(ReplApplication, self).onecmd(line)
File "/home/shai/.pyenv/versions/3.8.5/lib/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/woob/applications/translate/translate.py", line 112, in do_translate
lan_to = self.parse_lang(lan_to)
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/woob/applications/translate/translate.py", line 66, in parse_lang
locale = Locale.parse(s)
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/babel/core.py", line 268, in parse
parts = parse_locale(identifier, sep=sep)
File "/home/shai/.local/pipx/venvs/woob/lib/python3.8/site-packages/babel/core.py", line 1094, in parse_locale
raise ValueError('expected only letters, got %r' % lang)
ValueError: expected only letters, got 'pt-br'
```
Module googletranslate version 202108281114
woob master, commit: b9af50ehttps://gitlab.com/woob/woob/-/issues/531Axa Banque no longer working2022-05-03T08:39:20ZBenoit 'BoD' LubekAxa Banque no longer working### With which module do you encounter problems?
axabanque
### Describe the problem you encounter
Axa Banque recently changed their login system, and it looks like it's no longer compatible with Woob Bank.
I get this message:
```
Er...### With which module do you encounter problems?
axabanque
### Describe the problem you encounter
Axa Banque recently changed their login system, and it looks like it's no longer compatible with Woob Bank.
I get this message:
```
Error(axabanque): Action needed on website:
```
### Paste here the stacktrace or error message you observe
A few logs, please tell me if I can provide more useful info
```
bank> list
Account Balance Coming
------------------------------------------+----------+----------
2022-01-15 13:44:32,464:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'axabanque'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fed0
d816790>>
2022-01-15 13:44:32,465:DEBUG:requests.packages.urllib3.util.retry:3.0:retry.py:166:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2022-01-15 13:44:32,466:DEBUG:requests.packages.urllib3.util.retry:3.0:retry.py:166:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2022-01-15 13:44:32,467:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'axabanque'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fed0d
816790>> raised an error: ActionNeeded()
2022-01-15 13:44:32,467: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 0x7fed
0d816790>>
2022-01-15 13:44:32,469:DEBUG:requests.packages.urllib3.util.retry:3.0:retry.py:166:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2022-01-15 13:44:32,469:DEBUG:requests.packages.urllib3.util.retry:3.0:retry.py:166:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
```
### What are the steps to reproduce the problem?
`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 MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module axabanque |
+-----------------.------------------------------------------------------------'
| Version | 202110141007
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | AXA Banque
| Capabilities | CapBankTransferAddRecipient, CapBank, CapDocument, CapTransfer, CapBankWealth, CapCollection, CapProfile, CapBankTransfer
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/axabanque.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Code (default: )
'-----------------'
```
### How did you install woob?
I'm very sorry, but I forgot. Probably apt.
### Additional info you'd like to mention
Don't hesitate if I can help understand/resolve the issue by providing logs or otherwise.https://gitlab.com/woob/woob/-/issues/528[bank][bnporc] 404 Client Error: Not Found2022-01-16T16:11:40ZCarlos GOMES[bank][bnporc] 404 Client Error: Not FoundBonjour,
On a régulièrement cette erreur puis des fois ça fonctionne.
Je suppose un problème sur le site de la bnp ?
Merci pour votre aide.
File ".local/lib/python3.9/site-packages/woob/browser/browsers.py", line 567, in raise_for_sta...Bonjour,
On a régulièrement cette erreur puis des fois ça fonctionne.
Je suppose un problème sur le site de la bnp ?
Merci pour votre aide.
File ".local/lib/python3.9/site-packages/woob/browser/browsers.py", line 567, in raise_for_status
raise HTTPNotFound(http_error_msg, response=response)
woob.browser.exceptions.HTTPNotFound: 404 Client Error: Not Foundhttps://gitlab.com/woob/woob/-/issues/525[BNP] [Hello Bank] : AssertionError: Not on the authorization redirection page2022-05-12T05:28:49ZOlivier Galy[BNP] [Hello Bank] : AssertionError: Not on the authorization redirection page
### Describe the problem you encounter
I'm using kresus (docker container) and i got this error : AssertionError: Not on the authorization redirection page
### Paste here the stacktrace or error message you observe
```
[2022-01-02T20...
### Describe the problem you encounter
I'm using kresus (docker container) and i got this error : AssertionError: Not on the authorization redirection page
### Paste here the stacktrace or error message you observe
```
[2022-01-02T20:19:35.924] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
[2022-01-02T20:19:35.975] [ERROR] helpers - when fetching operations: Unknown error: Not on the authorization redirection page.
Traceback (most recent call last):
File "/home/user/app/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/home/user/app/build/server/providers/woob/py/main.py", line 589, in get_operations
for account in list(self.backend.iter_accounts()):
File "/home/user/data/woob-data/modules/3.1/woob_modules/bnp/module.py", line 107, in iter_accounts
return self.browser.iter_accounts()
File "/woob/woob/browser/browsers.py", line 989, in inner
browser.do_login()
File "/home/user/data/woob-data/modules/3.1/woob_modules/bnp/pp/browser.py", line 212, in do_login
assert self.login_redirect.is_here(), "Not on the authorization redirection page"
AssertionError: Not on the authorization redirection page
```
### What woob version are you using?
```
3.1
```
### What module version are you using?
```
bnp
```
### How did you install woob?
clone the repo in a specific volume, pull the last commit. The repo is using directly by the kresus app.
## woob bank error stacktrace
```
------------------------------------------+----------+----------
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)
Use "logging debug" option to print backtraces.
------------------------------------------+----------+----------
bank> logging debug
bank> list
Account Balance Coming
------------------------------------------+----------+----------
2022-01-08 18:36:23,952:DEBUG:woob.core.bcall:3.1:bcall.py:92:backend_process <Backend 'hellobank'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fd6a6375d30>>
2022-01-08 18:36:23,989:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:452:_make_request https://www.hellobank.fr:443 "GET /serviceinfosclient-wspl/rpc/InfosClient?modeAppel=0 HTTP/1.1" 200 63
2022-01-08 18:36:23,990:DEBUG:woob.backend.hellobank.browser:3.1:browsers.py:888:internal_callback Handle https://www.hellobank.fr/serviceinfosclient-wspl/rpc/InfosClient?modeAppel=0 with InfoClientPage
2022-01-08 18:36:24,294:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:452:_make_request https://www.hellobank.fr:443 "GET /auth/login HTTP/1.1" 200 65
2022-01-08 18:36:24,295:DEBUG:woob.backend.hellobank.browser:3.1:browsers.py:888:internal_callback Handle https://www.hellobank.fr/auth/login with InitLoginPage
2022-01-08 18:36:24,295:DEBUG:woob.core.bcall:3.1:bcall.py:98:backend_process <Backend 'hellobank'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fd6a6375d30>> raised an error: AssertionError('Not on the authorization redirection page')
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/olivier/.local/lib/python3.9/site-packages/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/olivier/.local/lib/python3.9/site-packages/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/olivier/.local/share/woob/modules/3.1/woob_modules/hellobank/module.py", line 74, in iter_resources
return self.iter_accounts()
File "/home/olivier/.local/share/woob/modules/3.1/woob_modules/hellobank/module.py", line 80, in iter_accounts
return self.browser.iter_accounts()
File "/home/olivier/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 989, in inner
browser.do_login()
File "/home/olivier/.local/share/woob/modules/3.1/woob_modules/bnp/pp/browser.py", line 212, in do_login
assert self.login_redirect.is_here(), "Not on the authorization redirection page"
AssertionError: Not on the authorization redirection page
------------------------------------------+----------+----------
```