woob issueshttps://gitlab.com/woob/woob/-/issues2024-03-18T21:00:19Zhttps://gitlab.com/woob/woob/-/issues/687Bug(amazon): 'DocumentsPage' object has no attribute 'has_form_verify'2024-03-18T21:00:19ZDGA45Bug(amazon): 'DocumentsPage' object has no attribute 'has_form_verify'### With which module do you encounter problems?
Amazon backend in the woob bill application
### Describe the problem you encounter
After installing amazon and anticaptcha backends, try the list command in the woob bill application.
Res...### With which module do you encounter problems?
Amazon backend in the woob bill application
### Describe the problem you encounter
After installing amazon and anticaptcha backends, try the list command in the woob bill application.
Result:
Bug(amazon): 'DocumentsPage' object has no attribute 'has_form_verify'
### Paste here the stacktrace or error message you observe
Bug(amazon): 'DocumentsPage' object has no attribute 'has_form_verify'
(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.
### What are the steps to reproduce the problem?
woob bill
> list
### What woob version are you using?
Output of `woob config --version` command:
Woob config v3.6 Copyright(C) 2010-2024 Christophe Benz, Romain Bignon
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
.------------------------------------------------------------------------------.
| Module amazon |
+-----------------.------------------------------------------------------------'
| Version | 202401111616
| Maintainer | Théo Dorée <tdoree@budget-insight.com>
| License | LGPLv3+
| Description | Amazon
| Capabilities | CapCollection, CapCredentialsCheck, CapDocument
| Installed | yes
| Location | https://updates.woob.tech/3/main/amazon.tar.gz
| |
| Configuration | website: Website (default: www.amazon.com)
| | email: Username (default: )
| | password: Password (default: )
'-----------------'
.------------------------------------------------------------------------------.
| Module anticaptcha |
+-----------------.------------------------------------------------------------'
| Version | 202305231553
| Maintainer | Vincent A <dev@indigo.re>
| License | AGPLv3+
| Description | Anti-Captcha website
| Capabilities | CapCaptchaSolver
| Installed | yes
| Location | https://updates.woob.tech/3/main/anticaptcha.tar.gz
| |
| Configuration | api_key: API key (default: )
'-----------------'
### How did you install woob?
pip
### Additional info you'd like to mentionLudovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/686[bp] Error(bp): Action needed on website: Veuillez activer votre service grat...2024-03-21T20:29:38Zwlallemand[bp] Error(bp): Action needed on website: Veuillez activer votre service gratuit d'authentification forte sur votre site bancaire.Can't connect anymore with the bp module since a few days.
Woob version is 0c494ed3d7af7 from master.
I got the `[bp] Error(bp): Action needed on website: Veuillez activer votre service gratuit d'authentification forte sur votre site b...Can't connect anymore with the bp module since a few days.
Woob version is 0c494ed3d7af7 from master.
I got the `[bp] Error(bp): Action needed on website: Veuillez activer votre service gratuit d'authentification forte sur votre site bancaire.` error. Certicode is activated on the website with the android app, but I don't get any notification nor errors.
I tried to remove `~/.config/woob/bank.storage` without any success.
Debug:
```
(woob) wla@kikyo:~% woob bank --debug list
2024-03-14 14:18:19,536:DEBUG:woob.config:3.6:yamlconfig.py:72:load Loading configuration file: /home/wla/.config/woob/bank.storage.
2024-03-14 14:18:19,536:DEBUG:woob.config:3.6:yamlconfig.py:76:load Configuration file loaded: /home/wla/.config/woob/bank.storage.
/home/wla/projects/others/woob/modules/bp/pages/login.py:24: DeprecationWarning: 'NoAccountsException' is deprecated. Use 'woob.capabilities.bank.NoAccountsException' instead.
from woob.exceptions import (
2024-03-14 14:18:19,580:DEBUG:woob.core.modules.loader:3.6:modules.py:255:load_module Loaded module "bp" from /home/wla/projects/others/woob/modules/bp
/home/wla/projects/others/woob/woob/tools/backend.py:355: DeprecationWarning: Class attribute BPModule.VERSION is now unused and deprecated, you can remove it. If you do so, do not forget to increase the woob version to at least 3.4 in requirements.txt.
warnings.warn(
2024-03-14 14:18:19,932:DEBUG:woob.backend:3.6:modules.py:163:create_instance Created backend "bp" for module "bp"
2024-03-14 14:18:19,933:DEBUG:woob.config:3.6:iniconfig.py:43:load Loading application configuration file: /home/wla/.config/woob/bank.
2024-03-14 14:18:19,933:DEBUG:woob.config:3.6:iniconfig.py:60:load Application configuration file loaded: /home/wla/.config/woob/bank.
Account Balance Coming
---------------------------------------------------------+----------+----------
2024-03-14 14:18:19,934:DEBUG:woob.core.bcall:3.6:bcall.py:86:backend_process <Backend bp>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7ff45d80a650>>
2024-03-14 14:18:19,934:DEBUG:urllib3.util.retry:3.6:retry.py:282:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2024-03-14 14:18:19,935:DEBUG:urllib3.util.retry:3.6:retry.py:282:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2024-03-14 14:18:19,937:DEBUG:urllib3.util.retry:3.6:retry.py:282:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2024-03-14 14:18:19,937:DEBUG:urllib3.util.retry:3.6:retry.py:282:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2024-03-14 14:18:19,938:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:1055:_new_conn Starting new HTTPS connection (1): voscomptesenligne.labanquepostale.fr:443
2024-03-14 14:18:20,057:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers HTTP/1.1" 200 None
2024-03-14 14:18:20,062:DEBUG:woob.backend.bp.browser:3.6:browsers.py:1040:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers with LoginPage
2024-03-14 14:18:20,064:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:1055:_new_conn Starting new HTTPS connection (1): d21j9nkdg2p3wo.cloudfront.net:443
2024-03-14 14:18:20,160:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://d21j9nkdg2p3wo.cloudfront.net:443 "GET /321226/dasti.js HTTP/1.1" 200 None
2024-03-14 14:18:20,196:DEBUG:woob.backend.bp.browser:3.6:browsers.py:1054:internal_callback Unable to handle https://d21j9nkdg2p3wo.cloudfront.net/321226/dasti.js
2024-03-14 14:18:20,209:DEBUG:charset_normalizer:3.6:api.py:439:from_bytes Encoding detection: utf_8 is most likely the one.
2024-03-14 14:18:21,214:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://voscomptesenligne.labanquepostale.fr:443 "POST /wsost/OstBrokerWeb/auth HTTP/1.1" 302 261
2024-03-14 14:18:21,307:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/identif.ea?origin=particuliers HTTP/1.1" 302 0
2024-03-14 14:18:21,353:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/securite/authentification/repositionnerCheminCourant-identif.ea HTTP/1.1" 200 None
2024-03-14 14:18:21,357:DEBUG:woob.backend.bp.browser:3.6:browsers.py:1040:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/securite/authentification/repositionnerCheminCourant-identif.ea with repositionnerCheminCourant
2024-03-14 14:18:21,394:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/securite/authentification/initialiser-identif.ea HTTP/1.1" 302 0
2024-03-14 14:18:21,448:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/comptesCommun/synthese_assurancesEtComptes/verifierPresenceCompte-synthese.ea HTTP/1.1" 302 0
2024-03-14 14:18:21,488:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/securite/authentification/verifierPresenceCompteOK-identif.ea HTTP/1.1" 200 None
2024-03-14 14:18:21,495:DEBUG:woob.backend.bp.browser:3.6:browsers.py:1054:internal_callback Unable to handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/securite/authentification/verifierPresenceCompteOK-identif.ea
2024-03-14 14:18:22,409:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:549:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/securite/gestionAuthentificationForte/init-gestionAuthentificationForte.ea HTTP/1.1" 200 None
2024-03-14 14:18:22,413:DEBUG:woob.backend.bp.browser:3.6:browsers.py:1040:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/securite/gestionAuthentificationForte/init-gestionAuthentificationForte.ea with TwoFAPage
2024-03-14 14:18:22,415:DEBUG:woob.core.bcall:3.6:bcall.py:92:backend_process <Backend bp>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7ff45d80a650>> raised an error: ActionNeeded("Veuillez activer votre service gratuit d'authentification forte sur votre site bancaire.")
Error(bp): Action needed on website: Veuillez activer votre service gratuit d'authentification forte sur votre site bancaire.
---------------------------------------------------------+----------+----------
2024-03-14 14:18:22,445:DEBUG:woob.backend.bp.browser:3.6:browsers.py:1292:dump_state Stored cookies into storage
2024-03-14 14:18:22,446:DEBUG:woob.config:3.6:yamlconfig.py:90:save Configuration file saved: /home/wla/.config/woob/bank.storage.
```Ludovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/685To add CCF bank2024-03-13T23:10:15ZklorydrykTo add CCF bankRecently, HSBC individuals bank has been rebought in France by CCF. But CCF is not proposed by woob 3.6. Could you add it in the bank list?
Thanks by advance!Recently, HSBC individuals bank has been rebought in France by CCF. But CCF is not proposed by woob 3.6. Could you add it in the bank list?
Thanks by advance!Ludovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/684[boursorama] Transaction details truncated2024-03-13T07:34:34ZRoland Mas[boursorama] Transaction details truncated`woob bank -b boursorama -f csv history XXX` yields truncated data; in particular the `raw` field doesn't contain the whole data that the website displays under the "Voir les infos complémentaires" tab.`woob bank -b boursorama -f csv history XXX` yields truncated data; in particular the `raw` field doesn't contain the whole data that the website displays under the "Voir les infos complémentaires" tab.Ludovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/683[question]What would it take to implement market orders?2024-03-06T17:24:32ZEaru[question]What would it take to implement market orders?I'd like to automate some of my finances on my Boursorama PEA, I've skimmed through all the doc, and some of the code, but I can't see anything that lets you submit market orders/purchase/make investments from woob.
If you can already d...I'd like to automate some of my finances on my Boursorama PEA, I've skimmed through all the doc, and some of the code, but I can't see anything that lets you submit market orders/purchase/make investments from woob.
If you can already do that an example would be greatly appreciated.
If not, what would it take to implement? Is it even possible?
My understanding is that woob actually spins up a browser in the background that acts like some RPA process, theoretically if there is an interface to do market orders, shouldn't it be possible?https://gitlab.com/woob/woob/-/issues/682[bill][societegenerale] fail to get list of available bank statements2024-03-02T16:44:50ZsinopsysHK[bill][societegenerale] fail to get list of available bank statements### With which module do you encounter problems?
societegenerale bill management
### Describe the problem you encounter
It seems that Societe Generale portal has changed its APIs therefor the only document that we can find is the Accoun...### With which module do you encounter problems?
societegenerale bill management
### Describe the problem you encounter
It seems that Societe Generale portal has changed its APIs therefor the only document that we can find is the Account RIB.
When it woob tries to query the list of available bank statements for each accounts the api call fails
### Paste here the stacktrace or error message you observe
```
(woobdev) admin@650458d7f308:/tmp/sg$ woob bill -b societegenerale --debug documents XXXXXXXXXXXX@societegenerale
2024-02-25 13:28:28,508:WARNING:woob:3.6:woob.py:548:load_backends Backend "ccf" is referenced in /home/admin/.config/woob/backends but was not found. Perhaps a missing repository or a removed module?
2024-02-25 13:28:28,529:DEBUG:woob.config:3.6:yamlconfig.py:72:load Loading configuration file: /home/admin/.config/woob/bill.storage.
2024-02-25 13:28:28,530:DEBUG:woob.config:3.6:yamlconfig.py:76:load Configuration file loaded: /home/admin/.config/woob/bill.storage.
2024-02-25 13:28:28,592:DEBUG:woob.core.modules.loader:3.6:modules.py:255:load_module Loaded module "societegenerale" from /home/admin/dev/weboob/modules/societegenerale
/home/admin/dev/weboob/woob/tools/backend.py:355: DeprecationWarning: Class attribute SocieteGeneraleModule.VERSION is now unused and deprecated, you can remove it. If you do so, do not forget to increase the woob version to at least 3.4 in requirements.txt.
warnings.warn(
2024-02-25 13:28:28,593:DEBUG:woob.backend:3.6:modules.py:163:create_instance Created backend "societegenerale" for module "societegenerale"
2024-02-25 13:28:28,593:DEBUG:woob.config:3.6:iniconfig.py:43:load Loading application configuration file: /home/admin/.config/woob/bill.
2024-02-25 13:28:28,593:DEBUG:woob.config:3.6:iniconfig.py:60:load Application configuration file loaded: /home/admin/.config/woob/bill.
2024-02-25 13:28:28,595:DEBUG:woob.core.bcall:3.6:bcall.py:86:backend_process <Backend societegenerale>: Calling function <bound method Application._do_complete of <woob.applications.bill.bill.AppBill object at 0x7f9b34f93e80>>
2024-02-25 13:28:28,595:DEBUG:urllib3.util.retry:3.6:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2024-02-25 13:28:28,596:DEBUG:urllib3.util.retry:3.6:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2024-02-25 13:28:28,598:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1231:_load_cookies Reloaded cookies from storage
2024-02-25 13:28:28,600:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:1019:_new_conn Starting new HTTPS connection (1): particuliers.sg.fr:443
2024-02-25 13:28:30,482:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /icd/cbo/data/liste-prestations-authsec.json?n10_avecMontant=1 HTTP/1.1" 200 None
2024-02-25 13:28:30,490:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1040:internal_callback Handle https://particuliers.sg.fr/icd/cbo/data/liste-prestations-authsec.json?n10_avecMontant=1 with AccountsPage
2024-02-25 13:28:30,831:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /restitution/cns_listeprestation.html HTTP/1.1" 302 0
2024-02-25 13:28:31,488:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /icd/cbo/index-authsec.html HTTP/1.1" 200 None
2024-02-25 13:28:31,501:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1040:internal_callback Handle https://particuliers.sg.fr/icd/cbo/index-authsec.html#cbo/ with AccountsMainPage
2024-02-25 13:28:32,143:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /com/dcr-web/dcr/dcr-coordonnees.html HTTP/1.1" 200 None
2024-02-25 13:28:32,477:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1040:internal_callback Handle https://particuliers.sg.fr/com/dcr-web/dcr/dcr-coordonnees.html with HTMLProfilePage
2024-02-25 13:28:33,045:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /icd/cbo/data/liste-prestations-authsec.json?n10_avecMontant=1 HTTP/1.1" 200 None
2024-02-25 13:28:33,047:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1040:internal_callback Handle https://particuliers.sg.fr/icd/cbo/data/liste-prestations-authsec.json?n10_avecMontant=1 with AccountsPage
2024-02-25 13:28:33,049:DEBUG:woob.core.bcall:3.6:bcall.py:95:backend_process <Backend societegenerale>: Called function <bound method Application._do_complete of <woob.applications.bill.bill.AppBill object at 0x7f9b34f93e80>> returned: <generator object Application._do_complete_iter at 0x7f9b32fa1540>
2024-02-25 13:28:33,466:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /icd/cbo-edocument/data/get-all-prestations-edocument-authsec.json?b64e200_prestationIdTechnique=###############&dt10_dateDebut=01%2F12%2F2023&dt10_dateFin=25%2F02%2F2024 HTTP/1.1" 400 223
Bug(societegenerale): 400 Client Error: Bad Request
Traceback (most recent call last):
File "/home/admin/dev/weboob/woob/core/bcall.py", line 100, in backend_process
for subresult in result:
File "/home/admin/dev/weboob/woob/tools/application/base.py", line 327, in _do_complete_iter
for i, sub in enumerate(res):
File "/home/admin/dev/weboob/modules/societegenerale/browser.py", line 975, in iter_documents
for doc in self._iter_statements(subscription):
File "/home/admin/dev/weboob/modules/societegenerale/browser.py", line 956, in _iter_statements
self.documents.go(params=params)
File "/home/admin/dev/weboob/woob/browser/url.py", line 193, in go
r = self.browser.location(
File "/home/admin/dev/weboob/woob/browser/browsers.py", line 1071, in location
response = self.open(*args, **kwargs)
File "/home/admin/dev/weboob/woob/browser/browsers.py", line 1058, in open
return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
File "/home/admin/dev/weboob/woob/browser/browsers.py", line 915, in open
return super().open(url, *args, **kwargs)
File "/home/admin/dev/weboob/woob/browser/browsers.py", line 566, in open
response = self.session.send(preq,
File "/home/admin/dev/weboob/woob/browser/sessions.py", line 161, in send
return func(*args, **kwargs)
File "/home/admin/dev/weboob/woob/browser/sessions.py", line 154, in func
return callback(self, resp)
File "/home/admin/dev/weboob/woob/browser/browsers.py", line 561, in inner_callback
self.raise_for_status(response)
File "/home/admin/dev/weboob/woob/browser/browsers.py", line 626, in raise_for_status
raise ClientError(http_error_msg, response=response)
woob.browser.exceptions.ClientError: 400 Client Error: Bad Request
┌──────────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────┬───────┬──────┬──────────────┬──────────┐
│ Id │ Url │ Format │ Label │ Type │ Transactions │ Has file │
├──────────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────┼───────┼──────┼──────────────┼──────────┤
│ XXXXXXXXXXXX_RIB@societegenerale │ https://particuliers.sg.fr/com/icd-web/cbo/pdf/rib-authsec.pdf?b64e200_prestationIdTechnique=################# │ pdf │ RIB │ RIB │ │ True │
└──────────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────┴───────┴──────┴──────────────┴──────────┘
2024-02-25 13:28:33,556:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1292:dump_state Stored cookies into storage
2024-02-25 13:28:33,558:DEBUG:woob.config:3.6:yamlconfig.py:90:save Configuration file saved: /home/admin/.config/woob/bill.storage.
(woobdev) admin@650458d7f308:/tmp/sg$
```
### What are the steps to reproduce the problem?
Just run 'woob bill -b societegenerale --debug documents ACCOUNTIS'
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.6 Copyright(C) 2010-2024 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module societegenerale |
+-----------------.------------------------------------------------------------'
| Version | 202401241354
| Maintainer | Jocelyn Jaubert <jocelyn.jaubert@gmail.com>
| License | LGPLv3+
| Description | Société Générale
| Capabilities | CapBank, CapDocument, CapTransfer, CapProfile, CapCredentialsCheck, CapContact, CapCollection, CapBankTransferAddRecipient, CapBankTransfer, CapBankMatching, CapBankWealth
| Installed | yes
| Location | /home/admin/dev/weboob/modules/societegenerale
| |
| Configuration | login: Code client (default: )
| | password: Code secret (default: )
| | website: Type de compte (default: par)
'-----------------'
```
### How did you install woob?
from source with git
### Additional info you'd like to mentionLudovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/681Boursobank/Boursorama stopped working2024-03-03T23:32:16ZToXiC ToXiCBoursobank/Boursorama stopped workingHello,
I'm facing the below error trying to sync my boursobank account.
It's been like that since 6th of february, was even the case before that for over a week, but magically one sync got completed on 6th of february...
I'm running wo...Hello,
I'm facing the below error trying to sync my boursobank account.
It's been like that since 6th of february, was even the case before that for over a week, but magically one sync got completed on 6th of february...
I'm running woob 3.6 inside the docker bnjbvr/kresus:latest image, kresus guys seem to believe it's a woob issue.
Any help would be welcome !
```
[2024-02-09T11:15:51.937] [INFO] HTTP - GET / - 200 (5 ms)
[2024-02-09T11:15:52.113] [INFO] HTTP - GET /assets/index.32b90ad4.js - 200 (13 ms)
[2024-02-09T11:15:52.165] [INFO] HTTP - GET /assets/index.0a0d4d4a.css - 200 (6 ms)
[2024-02-09T11:15:52.668] [INFO] HTTP - GET /api/all/ - 200 (241 ms)
[2024-02-09T11:15:52.670] [INFO] HTTP - GET /assets/favicon-192x192.bacde796.png - 200 (63 ms)
[2024-02-09T11:15:54.671] [INFO] HTTP - GET /assets/OpenSans-Semibold.b0390aa3.woff - 200 (5 ms)
[2024-02-09T11:15:54.672] [INFO] HTTP - GET /assets/fontawesome-webfont.2adefcbc.woff2?v=4.7.0 - 200 (8 ms)
[2024-02-09T11:15:54.762] [INFO] HTTP - GET /assets/bank-sprite.png - 200 (8 ms)
[2024-02-09T11:16:16.939] [INFO] providers/woob - Calling woob: command transactions...
[2024-02-09T11:16:48.830] [INFO] providers/woob - exited with code 1.
[2024-02-09T11:16:48.830] [WARN] providers/woob - stderr: 2024-02-09 11:16:48,719:WARNING:woob.boursorama.browser.historypage.item:elements.py:496:handle_attr Attribute id (in /data/woob-data/modules/3.6/woob_modules/boursorama/pages.py:748) raises TypeError("'NoneType' object is not subscriptable")
[2024-02-09T11:16:48.831] [INFO] providers/woob - Command returned an error code.
[2024-02-09T11:16:48.832] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2024-02-09T11:16:48.832] [INFO] providers/woob - Calling woob: command test...
[2024-02-09T11:16:49.279] [INFO] providers/woob - exited with code 0.
[2024-02-09T11:16:49.280] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2024-02-09T11:16:49.280] [ERROR] providers/woob - Got error while running command "2": Unknown error: 'NoneType' object is not subscriptable.
Traceback (most recent call last):
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
results['values'] = self.get_transactions(from_date)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 593, in get_transactions
for hist_tr in self.backend.iter_history(account):
File "/data/woob-data/modules/3.6/woob_modules/boursorama/module.py", line 72, in iter_history
for tr in self.browser.get_history(account):
File "/usr/local/lib/python3.11/dist-packages/woob/browser/retry.py", line 168, in __next__
obj = next(self.it)
^^^^^^^^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/browser.py", line 895, in get_card_transactions
for tr in self.open(account.url).page.iter_history(is_card=True):
File "/data/woob-data/modules/3.6/woob_modules/boursorama/pages.py", line 659, in inner
for r in func(page, *args, **kwargs):
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 281, in __iter__
for obj in item:
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 470, in __iter__
self.handle_attr(attr, getattr(self, 'obj_%s' % attr))
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 489, in handle_attr
value = self.use_selector(func, key=key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 177, in use_selector
value = func()
^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/pages.py", line 776, in obj_id
if Field('_is_coming')(self):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/filters/standard.py", line 563, in __call__
return item.use_selector(getattr(item, 'obj_%s' % self.name), key=self._key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 177, in use_selector
value = func()
^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/pages.py", line 837, in obj__is_coming
or self.obj_date() > datetime.date.today()
^^^^^^^^^^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/pages.py", line 861, in obj_date
closest = self.page.browser.get_debit_date(date)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/browser.py", line 781, in get_debit_date
for i, j in zip(self.deferred_card_calendar, self.deferred_card_calendar[1:]):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
TypeError: 'NoneType' object is not subscriptable
[2024-02-09T11:16:49.280] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
[2024-02-09T11:16:49.307] [ERROR] helpers - when fetching transactions: Unknown error: 'NoneType' object is not subscriptable.
Traceback (most recent call last):
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
results['values'] = self.get_transactions(from_date)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 593, in get_transactions
for hist_tr in self.backend.iter_history(account):
File "/data/woob-data/modules/3.6/woob_modules/boursorama/module.py", line 72, in iter_history
for tr in self.browser.get_history(account):
File "/usr/local/lib/python3.11/dist-packages/woob/browser/retry.py", line 168, in __next__
obj = next(self.it)
^^^^^^^^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/browser.py", line 895, in get_card_transactions
for tr in self.open(account.url).page.iter_history(is_card=True):
File "/data/woob-data/modules/3.6/woob_modules/boursorama/pages.py", line 659, in inner
for r in func(page, *args, **kwargs):
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 281, in __iter__
for obj in item:
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 470, in __iter__
self.handle_attr(attr, getattr(self, 'obj_%s' % attr))
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 489, in handle_attr
value = self.use_selector(func, key=key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 177, in use_selector
value = func()
^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/pages.py", line 776, in obj_id
if Field('_is_coming')(self):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/filters/standard.py", line 563, in __call__
return item.use_selector(getattr(item, 'obj_%s' % self.name), key=self._key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/elements.py", line 177, in use_selector
value = func()
^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/pages.py", line 837, in obj__is_coming
or self.obj_date() > datetime.date.today()
^^^^^^^^^^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/pages.py", line 861, in obj_date
closest = self.page.browser.get_debit_date(date)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/woob-data/modules/3.6/woob_modules/boursorama/browser.py", line 781, in get_debit_date
for i, j in zip(self.deferred_card_calendar, self.deferred_card_calendar[1:]):
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
TypeError: 'NoneType' object is not subscriptable
[2024-02-09T11:16:49.308] [INFO] helpers - Error
at new KError (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:62:22)
at callWoob (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:234:15)
at async _fetchHelper (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:291:16)
at async Object.fetchTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:315:12)
at async pollTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:214:34)
at async AccountManager.syncTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:336:24)
at async fetchTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:209:37)
[2024-02-09T11:16:49.309] [ERROR] HTTP - POST /api/accesses/1/fetch/transactions - 500 (32399 ms)
[2024-02-09T11:16:55.114] [INFO] providers/woob - Calling woob: command version...
[2024-02-09T11:16:55.646] [INFO] providers/woob - exited with code 0.
[2024-02-09T11:16:55.646] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2024-02-09T11:16:55.649] [INFO] HTTP - GET /api/instance/woob - 200 (538 ms)
```Ludovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/680[freemobile] website authentication changed, 2FA added, current module needs ...2024-03-17T22:42:02ZLudovic LANGE[freemobile] website authentication changed, 2FA added, current module needs updateFree Mobile changed its authentication : Cf https://www.universfreebox.com/article/560087/nouveau-free-mobile-securise-fortement-lacces-a-son-espace-abonne
The current module needs to be updated.Free Mobile changed its authentication : Cf https://www.universfreebox.com/article/560087/nouveau-free-mobile-securise-fortement-lacces-a-son-espace-abonne
The current module needs to be updated.Ludovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/679[caissedepargne] part sociale account not properly detected when getting history2024-02-11T22:27:26ZThéo Le Calvar[caissedepargne] part sociale account not properly detected when getting historyThis 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
When accessing history of my `PARTS SOCIALES` account woob crashes instead of ignoring the account
### Paste here the stacktrace or error message you observe
```
Bug(caissedepargne): 400 Client Error: Bad Request
Traceback (most recent call last):
File "/tmp/woob/woob/core/bcall.py", line 88, in backend_process
result = function(backend, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/tools/application/base.py", line 348, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/modules/caissedepargne/module.py", line 84, in iter_history
return self.browser.iter_history(account)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/switch.py", line 98, in wrapper
return val(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/browsers.py", line 1157, in inner
return func(browser, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/modules/caissedepargne/browser.py", line 1252, in iter_history
self.go_to_secondary_space('linebourse', account)
File "/tmp/woob/modules/caissedepargne/browser.py", line 1171, in go_to_secondary_space
self.prepare_rerouting.go(json=data, website_id=account._website_id)
File "/tmp/woob/woob/browser/url.py", line 193, in go
r = self.browser.location(
^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/browsers.py", line 1071, in location
response = self.open(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/browsers.py", line 1058, in open
return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/browsers.py", line 915, in open
return super().open(url, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/browsers.py", line 566, in open
response = self.session.send(preq,
^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/sessions.py", line 161, in send
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/sessions.py", line 154, in func
return callback(self, resp)
^^^^^^^^^^^^^^^^^^^^
File "/tmp/woob/woob/browser/browsers.py", line 561, in inner_callback
self.raise_for_status(response)
File "/tmp/woob/woob/browser/browsers.py", line 626, in raise_for_status
raise ClientError(http_error_msg, response=response)
woob.browser.exceptions.ClientError: 400 Client Error: Bad Request
```
### What are the steps to reproduce the problem?
Try to get the history of my `PARTS SOCIALES` account.
### What woob version are you using?
Output of `woob config --version` command:
latest version on main branch
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module caissedepargne |
+-----------------.------------------------------------------------------------'
| Version | 202402071446
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | Caisse d'Épargne
| Capabilities | CapDocument, CapBankWealth, CapCredentialsCheck, CapCollection, CapBank
| Installed | yes
| Location | /tmp/woob/modules/caissedepargne
| |
| Configuration | login: Identifiant client (default: )
| | password: Mot de passe (default: )
| | nuser: User ID (optional) (default: )
| | auth_type: Type de compte (default: )
'-----------------'
```
### How did you install woob?
Cloned the main branch from gitlab and used the `./tools/local_run.sh` script.
### Additional info you'd like to mention
It looks like the test in [browser.py](https://gitlab.com/woob/woob/-/blob/master/modules/caissedepargne/browser.py?ref_type=heads#L1248) to prevent fetching history of `PARTS SOCIALES` account is not met in my case because my account label is `PARTS SOCIALES` and not `CPT PARTS SOCIALES`.
I fixed the issue locally by changing the condition to only check for `PARTS SOCIALES` in the label instead of an exact match.
```python
if account.type in (Account.TYPE_PEA, Account.TYPE_MARKET) and not account._is_cash_pea:
if 'PARTS SOCIALES' in account.label:
# TODO Investigate how to retrieve history
self.logger.warning('"CPT PARTS SOCIALES" account to investigate')
return []
self.go_to_secondary_space('linebourse', account)
history = self.linebourse.iter_history(account.id)
self.leave_linebo
```eraby-freraby-frhttps://gitlab.com/woob/woob/-/issues/678bank - amundi (ee) : Site requires solving a CAPTCHA but no CapCaptchaSolver ...2024-02-21T13:28:50ZYoann Cbank - amundi (ee) : Site requires solving a CAPTCHA but no CapCaptchaSolver backends were configured### With which module do you encounter problems?
bank > amundi
### Describe the problem you encounter
command "list" does not work
### Paste here the stacktrace or error message you observe
```
Loaded backends: amundi
bank> list
...### With which module do you encounter problems?
bank > amundi
### Describe the problem you encounter
command "list" does not work
### Paste here the stacktrace or error message you observe
```
Loaded backends: amundi
bank> list
Account Balance Coming
------------------------------------------+----------+----------
[amundi] Identifiant (hidden input):
[amundi] Mot de passe (hidden input):
Error(amundi): Site requires solving a CAPTCHA but no CapCaptchaSolver backends were configured
```
### What are the steps to reproduce the problem?
```
$woob bank
bank> list
```
### What woob version are you using?
v3.6
Output of `woob config --version` command:
```
woob config --version
=== [ 0%] Getting https://updates.woob.tech/3/main/
The repository https://updates.woob.tech/3/main/ isn't trusted yet.
Fingerprint of keyring is b5fc136c2d500b8483696a0ee722865842a4cc45
Are you sure you want to continue? (Y/n): *** ASSUMING YES ***
=== [ 0%] Keyring version 202103171007, checksum b5fc136c2d500b8483696a0ee722865842a4cc45
=== [100%] All modules are up-to-date.
Woob config v3.6 Copyright(C) 2010-2024 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
woob config info amundi
.------------------------------------------------------------------------------.
| Module amundi |
+-----------------.------------------------------------------------------------'
| Version | 202310191405
| Maintainer | James GALT <james.galt.bi@gmail.com>
| License | LGPLv3+
| Description | Amundi
| Capabilities | CapBankWealth, CapBank, CapCredentialsCheck, CapCollection
| Installed | no
| Location | https://updates.woob.tech/3/main/amundi.tar.gz
'-----------------'
```
### How did you install woob?
docker kresus image (v0.20.1)Ludovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/677bank - Nalo : 404 Client Error Not Found2024-03-17T20:57:27ZYoann Cbank - Nalo : 404 Client Error Not Found### With which module do you encounter problems?
bank > nalo
### Describe the problem you encounter
command "list" does not work
### Paste here the stacktrace or error message you observe
```
Loaded backends: nalo
bank> list
...### With which module do you encounter problems?
bank > nalo
### Describe the problem you encounter
command "list" does not work
### Paste here the stacktrace or error message you observe
```
Loaded backends: nalo
bank> list
Account Balance Coming
------------------------------------------+----------+----------
[nalo] E-mail (hidden input):
[nalo] Mot de passe (hidden input):
Bug(nalo): 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.
```
### What are the steps to reproduce the problem?
```
$woob bank
bank> list
```
### What woob version are you using?
v3.6
Output of `woob config --version` command:
```
woob config --version
=== [ 0%] Getting https://updates.woob.tech/3/main/
The repository https://updates.woob.tech/3/main/ isn't trusted yet.
Fingerprint of keyring is b5fc136c2d500b8483696a0ee722865842a4cc45
Are you sure you want to continue? (Y/n): *** ASSUMING YES ***
=== [ 0%] Keyring version 202103171007, checksum b5fc136c2d500b8483696a0ee722865842a4cc45
=== [100%] All modules are up-to-date.
Woob config v3.6 Copyright(C) 2010-2024 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
woob config info nalo
.------------------------------------------------------------------------------.
| Module nalo |
+-----------------.------------------------------------------------------------'
| Version | 202305231553
| Maintainer | Vincent A <dev@indigo.re>
| License | LGPLv3+
| Description | Nalo
| Capabilities | CapBankWealth, CapBank, CapCredentialsCheck, CapCollection
| Installed | no
| Location | https://updates.woob.tech/3/main/nalo.tar.gz
'-----------------'
```
### How did you install woob?
docker kresus image (v0.20.1)https://gitlab.com/woob/woob/-/issues/676unable to load: No module named 'woob_applications' in a `pipx` install - dep...2024-02-06T19:51:35ZLudovic LANGEunable to load: No module named 'woob_applications' in a `pipx` install - dependency on setuptools ?When installing `woob` with `pipx`, the tool partially works with an error message:
```
# woob
usage: woob [--version] <command> [<args>]
Use one of this commands:
bands (unable to load: No module named 'woob_applications')...When installing `woob` with `pipx`, the tool partially works with an error message:
```
# woob
usage: woob [--version] <command> [<args>]
Use one of this commands:
bands (unable to load: No module named 'woob_applications')
bank (unable to load: No module named 'woob_applications')
...
video (unable to load: No module named 'woob_applications')
weather (unable to load: No module named 'woob_applications')
For more information about a command, use:
$ man woob-<command>
or
$ woob <command> --help
```
or
```
# woob config
Traceback (most recent call last):
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/launcher.py", line 52, in load_app
app_module = importlib.import_module("woob.applications.%s" % app)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
File "<frozen importlib._bootstrap>", line 1325, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 929, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 994, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/applications/config/__init__.py", line 19, in <module>
from .config import AppConfig
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/applications/config/config.py", line 23, in <module>
from woob.tools.application.repl import ReplApplication
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/tools/application/repl.py", line 33, in <module>
from woob.core import CallErrors
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/core/__init__.py", line 21, in <module>
from .woob import Woob, WoobBase
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/core/woob.py", line 31, in <module>
from woob.core.modules import ModulesLoader, RepositoryModulesLoader
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/core/modules.py", line 26, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.local/share/pipx/venvs/woob/bin/woob", line 8, in <module>
sys.exit(Launcher.run())
^^^^^^^^^^^^^^
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/launcher.py", line 106, in run
return cls.run_app(sys.argv[1], sys.argv[2:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/launcher.py", line 60, in run_app
app_class = cls.load_app(app)
^^^^^^^^^^^^^^^^^
File "/root/.local/share/pipx/venvs/woob/lib/python3.12/site-packages/woob/launcher.py", line 54, in load_app
app_module = importlib.import_module("woob_applications.%s" % app)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
File "<frozen importlib._bootstrap>", line 1304, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
File "<frozen importlib._bootstrap>", line 1318, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'woob_applications'
```
It seems that `pkg_resources` (which can be provided by `setuptools`) is mandatory.
We should make this dependency explicit.
A working fix (except for `smtp` module) is to inject `setuptools` in the `pipx` environment:
```
# pipx install woob
# pipx inject woob setuptools
# woob
usage: woob [--version] <command> [<args>]
Use one of this commands:
bands display bands and suggestions
...
smtp (unable to load: No module named 'woob_applications')
...
video search and play videos
weather display weather and forecasts
For more information about a command, use:
$ man woob-<command>
or
$ woob <command> --help
```Ludovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/675[cmb] ReadTimeoutError2024-02-15T23:00:50ZYann[cmb] ReadTimeoutErrorThis 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?
cmb
### Describe the problem you encounter
After configuration when listing accounts, it starts fetching the different accounts then eventually fails with ReadTimeoutError on `/creditapi/rest/oauth/v1/synthese`
### Paste here the stacktrace or error message you observe
```
2024-01-28 19:15:14,910:WARNING:woob.backend.cmb.browser:3.6:browser.py:402:iter_accounts replace <Account id='**********' label='PREVI-OPTIONS *** ***'> because it seems to be a duplicate of <Account id='**********' label='ASSURANCE VIE PREVI-OPTIONS *** ***'>
2024-01-28 19:15:18,053:WARNING:woob.backend.cmb.browser:3.6:browser.py:402:iter_accounts replace <Account id='**********' label='PREVI-OPTIONS *** ***'> because it seems to be a duplicate of <Account id='**********' label='ASSURANCE VIE PREVI-OPTIONS *** ***'>
2024-01-28 19:15:20,915:WARNING:woob.backend.cmb.browser:3.6:browser.py:418:iter_accounts replace <Account id='*********A' label='ASSURANCE VIE PREVI-OPTIONS *** ***'> because it seems to be a duplicate of <Account id='*********A' label='PREVI-OPTIONS'>
2024-01-28 19:15:22,251:WARNING:woob.backend.cmb.browser:3.6:browser.py:418:iter_accounts replace <Account id='*********A' label='ASSURANCE VIE PREVI-OPTIONS *** ***'> because it seems to be a duplicate of <Account id='*********A' label='PREVI-OPTIONS'>
2024-01-28 19:15:33,602:WARNING:urllib3.connectionpool:3.6:connectionpool.py:871:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='api.cmb.fr', port=443): Read timed out. (read timeout=10.0)")': /creditapi/rest/oauth/v1/synthese
2024-01-28 19:15:43,739:WARNING:urllib3.connectionpool:3.6:connectionpool.py:871:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='api.cmb.fr', port=443): Read timed out. (read timeout=10.0)")': /creditapi/rest/oauth/v1/synthese
```
### What are the steps to reproduce the problem?
Stock install of last master
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.6 Copyright(C) 2010-2024 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module cmb |
+-----------------.------------------------------------------------------------'
| Version | 202401281805
| Maintainer | Edouard Lambert <elambert@budget-insight.com>
| License | LGPLv3+
| Description | Crédit Mutuel de Bretagne
| Capabilities | CapCollection, CapContact, CapProfile, CapTransfer, CapBankWealth, CapCredentialsCheck, CapBank, CapBankTransfer
| Installed | yes
| Location | /Users/yann/Archives/Developpement/woob/modules/cmb
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | website: Type de compte (default: par)
'-----------------'
```
### How did you install woob?
pip from local directory
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/674[bank][hsbc] migration to ccf2024-02-21T02:50:46ZsinopsysHK[bank][hsbc] migration to ccfHello,
With the closing of HSBC France and the take over from CCF, web access to hsbc french web site is now turned off.
Unfortunately it seems that CCF is not already a supported bank from woob :disappointed:
Is there anyone working ...Hello,
With the closing of HSBC France and the take over from CCF, web access to hsbc french web site is now turned off.
Unfortunately it seems that CCF is not already a supported bank from woob :disappointed:
Is there anyone working on a new ccf module or planning to?
Thank you in advance for your feedback.
Eric.https://gitlab.com/woob/woob/-/issues/673[banquepopulaire]init_login() fail with 'Should be on login2 page'2024-03-06T21:23:26Zeraby-fr[banquepopulaire]init_login() fail with 'Should be on login2 page'### With which module do you encounter problems?
banquepopulaire (Grand Ouest)
### Describe the problem you encounter
I think new homepage is published by BPGO : https://www.banquepopulaire.fr/bpgo/
so
`if self.new_login.is_here():
...### With which module do you encounter problems?
banquepopulaire (Grand Ouest)
### Describe the problem you encounter
I think new homepage is published by BPGO : https://www.banquepopulaire.fr/bpgo/
so
`if self.new_login.is_here():
self.do_new_login()`
fail and go back to old login way which result an assert "Should be on login2 page"
### Paste here the stacktrace or error message you observe
```
Bug(banquepopulaire): Should be on login2 page
Traceback (most recent call last):
File "/home/stun/Dev/woob/woob/core/bcall.py", line 88, in backend_process
result = function(backend, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/stun/Dev/woob/woob/tools/application/base.py", line 348, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/stun/Dev/woob/modules/banquepopulaire/module.py", line 163, in iter_resources
return self.iter_accounts()
^^^^^^^^^^^^^^^^^^^^
File "/home/stun/Dev/woob/modules/banquepopulaire/module.py", line 113, in iter_accounts
return self.browser.iter_accounts()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/stun/Dev/woob/modules/banquepopulaire/browser.py", line 91, in wrapper
ret = cb()
^^^^
File "/home/stun/Dev/woob/modules/banquepopulaire/browser.py", line 87, in cb
return func(browser, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/stun/Dev/woob/woob/browser/browsers.py", line 1154, in inner
browser.do_login()
File "/home/stun/Dev/woob/woob/browser/mfa.py", line 201, in do_double_authentication
self.init_login()
File "/home/stun/Dev/woob/modules/banquepopulaire/browser.py", line 426, in init_login
self.do_old_login()
File "/home/stun/Dev/woob/modules/banquepopulaire/browser.py", line 573, in do_old_login
assert self.login2_page.is_here(), 'Should be on login2 page'
AssertionError: Should be on login2 page
```
### What are the steps to reproduce the problem?
### What woob version are you using?
Git HEAD
### Additional info you'd like to mention
I try to investigate (I retried to fix #624 but I faced that new issue)eraby-freraby-frhttps://gitlab.com/woob/woob/-/issues/672[ImpotGouv] Not working anymore2024-02-20T21:07:01ZLirone[ImpotGouv] Not working anymoreHi,
I tried to run the module ImpotGouvFrPar but it's not working anymore.
I get this error
```
Traceback (most recent call last):
File "main.py", line 44, in <module>
first_subscription = next(backend.iter_subscription())
File...Hi,
I tried to run the module ImpotGouvFrPar but it's not working anymore.
I get this error
```
Traceback (most recent call last):
File "main.py", line 44, in <module>
first_subscription = next(backend.iter_subscription())
File "/Users/Documents/dev/woob/modules/impotsgouvfrpar/module.py", line 71, in iter_subscription
return self.browser.iter_subscription()
File "/Users/Documents/dev/woob/browser/browsers.py", line 1122, in inner
browser.do_login()
File "/Users/Documents/dev/woob/modules/impotsgouvfrpar/browser.py", line 106, in do_login
if not self.page.logged:
AttributeError: 'NoneType' object has no attribute 'logged'
```
It seems that the page got None. It worked before.
Any insights ?
thank youLudovic LANGELudovic LANGEhttps://gitlab.com/woob/woob/-/issues/671[boursobank] can't login into my account since last update of woob2023-12-14T22:44:48ZShikiryu[boursobank] can't login into my account since last update of woobI'm using kresus, and after an update on both kresus and woob, since 28th september 2023, I have this error:
```
Unknown error: Unhandled error message : "Les connexions utilisant des services de relais ou d'anonymisation ne sont plus p...I'm using kresus, and after an update on both kresus and woob, since 28th september 2023, I have this error:
```
Unknown error: Unhandled error message : "Les connexions utilisant des services de relais ou d'anonymisation ne sont plus possibles. Merci d'utiliser votre accès internet personnel et direct pour vous connecter à Boursobank.".
Erreur inconnue de Kresus : essayez de mettre à jour Woob, et si cela ne règle pas votre problème, merci de signaler l'erreur aux auteurs de Kresus.
Veuillez vous référer à la console développeurs pour plus d'informations.
```
I'm using woob 3.6 on master, commit 8ab313fbf473823d35858b5ba732f7c2244c28ba and Kresus 0.20.0 (if that matters)
Error stack trace:
```
Traceback (most recent call last):
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 702, in fetch
results['values'] = self.get_accounts()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 552, in get_accounts
for account in list(self.backend.iter_accounts()):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/data/woob-data/modules/3.6/woob_modules/boursorama/module.py", line 69, in iter_accounts
return self.browser.get_accounts_list()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/retry.py", line 75, in wrapper
ret = cb()
^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/retry.py", line 71, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/browsers.py", line 1118, in inner
browser.do_login()
File "/usr/local/lib/python3.11/dist-packages/woob/browser/retry.py", line 43, in wrapper
return func(browser, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/data/woob-data/modules/3.6/woob_modules/boursorama/browser.py", line 500, in do_login
return super(BoursoramaBrowser, self).do_login()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/woob/browser/mfa.py", line 201, in do_double_authentication
self.init_login()
File "/home/user/data/woob-data/modules/3.6/woob_modules/boursorama/browser.py", line 471, in init_login
raise AssertionError('Unhandled error message : "%s"' % error)
AssertionError: Unhandled error message : "Les connexions utilisant des services de relais ou d'anonymisation ne so
```
I already opened [an issue on kresus' repo](https://framagit.org/kresusapp/kresus/-/issues/1241) but it seems to come from a security update on BoursoBank's side which impacts woob.https://gitlab.com/woob/woob/-/issues/670[creditcooperatif] RegexpError on `list` command2023-12-09T12:10:39ZAeris1One[creditcooperatif] RegexpError on `list` commandThis 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?
Bank -> Credit Coopératif
### Describe the problem you encounter
Listing accounts does not work.
### Paste here the stacktrace or error message you observe
```
bank> list
Account Balance Coming
------------------------------------------+----------+----------
2023-12-09 12:48:48,592:DEBUG:woob.core.bcall:3.6:bcall.py:86:backend_process <Backend creditcooperatif>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fed45129880>>
2023-12-09 12:48:48,638:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-cooperatif.coop:443 "GET /se-connecter/sso?service=dei HTTP/1.1" 200 1652
2023-12-09 12:48:48,669:DEBUG:woob.backend.creditcooperatif.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-cooperatif.coop/se-connecter/sso?service=dei with LoginPage
2023-12-09 12:48:48,693:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-cooperatif.coop:443 "GET /se-connecter/main.95a7c3d1be088d08.js HTTP/1.1" 200 None
2023-12-09 12:48:48,811:DEBUG:woob.backend.creditcooperatif.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-cooperatif.coop/se-connecter/main.95a7c3d1be088d08.js with JsFilePage
2023-12-09 12:48:48,813:DEBUG:charset_normalizer:3.6:api.py:439:from_bytes Encoding detection: ascii is most likely the one.
2023-12-09 12:48:48,819:DEBUG:woob.core.bcall:3.6:bcall.py:92:backend_process <Backend creditcooperatif>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fed45129880>> raised an error: RegexpError('Unable to find 1st e.CE="(\\d+)" in \'(self.webpackChunkaccessecurite=self.webpackChunkaccessecurite||[]).push([[179],{3181:(Ne,ie,o)=>{"use strict";o.d(ie,{L:()=>t});var t=(()=>{return(e=t||(t={}))[e.LEVEL_0=0]="LEVEL_0",e[e.LEVEL_1=1]="LEVEL_1",e[e.LEVEL_2=2]="LEVEL_2",e[e.LEVEL_3=3]="LEVEL_3",t;var e})()},7774:(Ne,ie,o)=>{"use strict";o.d(ie,{D:()=>t});var t=(()=>{return(e=t||(t={}))[e.CODE_101=101]="CODE_101",e[e.CODE_102=102]="CODE_102",e[e.CODE_103=103]="CODE_103",e[e.CODE_104=104]="CODE_104",e[e.CODE_105=105]="CODE_105",e[e.CODE_201=201]="CODE_201",t;var e})()},5312:(Ne,ie,o)=>{"use strict";o.d(ie,{s:()=>t});class t extends Error{constructor(a,m,u,d){super(a),this.code=m,this.location=u,this.cause=d??""}}},2188:(Ne,ie,o)=>{"use strict";o.d(ie,{E_:()=>Hi,BQ:()=>xi,xr:()=>fi,fZ:()=>gi,R1:()=>_r,W0:()=>It,sl:()=>In,nI:()=>Dn,Jn:()=>je,og:()=>Xn,rn:()=>Te,JX:()=>di});var t={};o.r(t),o.d(t,{DatalayerServiceType:()=>lt});var e=(()=>{return(He=e||(e={})).CANT_READ_VALUE="90",He.WRONG_TYPE="91",He.ALREADY_EXISTS="92",He.GUARD_ERROR="93",He.NOT_...\'')
Bug(creditcooperatif): Unable to find 1st e.CE="(\d+)" in '(self.webpackChunkaccessecurite=self.webpackChunkaccessecurite||[]).push([[179],{3181:(Ne,ie,o)=>{"use strict";o.d(ie,{L:()=>t});var t=(()=>{return(e=t||(t={}))[e.LEVEL_0=0]="LEVEL_0",e[e.LEVEL_1=1]="LEVEL_1",e[e.LEVEL_2=2]="LEVEL_2",e[e.LEVEL_3=3]="LEVEL_3",t;var e})()},7774:(Ne,ie,o)=>{"use strict";o.d(ie,{D:()=>t});var t=(()=>{return(e=t||(t={}))[e.CODE_101=101]="CODE_101",e[e.CODE_102=102]="CODE_102",e[e.CODE_103=103]="CODE_103",e[e.CODE_104=104]="CODE_104",e[e.CODE_105=105]="CODE_105",e[e.CODE_201=201]="CODE_201",t;var e})()},5312:(Ne,ie,o)=>{"use strict";o.d(ie,{s:()=>t});class t extends Error{constructor(a,m,u,d){super(a),this.code=m,this.location=u,this.cause=d??""}}},2188:(Ne,ie,o)=>{"use strict";o.d(ie,{E_:()=>Hi,BQ:()=>xi,xr:()=>fi,fZ:()=>gi,R1:()=>_r,W0:()=>It,sl:()=>In,nI:()=>Dn,Jn:()=>je,og:()=>Xn,rn:()=>Te,JX:()=>di});var t={};o.r(t),o.d(t,{DatalayerServiceType:()=>lt});var e=(()=>{return(He=e||(e={})).CANT_READ_VALUE="90",He.WRONG_TYPE="91",He.ALREADY_EXISTS="92",He.GUARD_ERROR="93",He.NOT_...'
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/var/home/charlesp/Documents/woob/venv/lib64/python3.12/site-packages/woob/core/bcall.py", line 88, in backend_process
result = function(backend, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/Documents/woob/venv/lib64/python3.12/site-packages/woob/tools/application/base.py", line 348, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/.local/share/woob/modules/3.6/woob_modules/caissedepargne/module.py", line 74, in iter_resources
return self.iter_accounts()
^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/.local/share/woob/modules/3.6/woob_modules/caissedepargne/module.py", line 81, in iter_accounts
return self.browser.iter_accounts()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/Documents/woob/venv/lib64/python3.12/site-packages/woob/browser/switch.py", line 98, in wrapper
return val(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/Documents/woob/venv/lib64/python3.12/site-packages/woob/browser/browsers.py", line 1118, in inner
browser.do_login()
File "/var/home/charlesp/Documents/woob/venv/lib64/python3.12/site-packages/woob/browser/mfa.py", line 201, in do_double_authentication
self.init_login()
File "/var/home/charlesp/.local/share/woob/modules/3.6/woob_modules/caissedepargne/browser.py", line 201, in init_login
self.do_api_pre_login()
File "/var/home/charlesp/.local/share/woob/modules/3.6/woob_modules/caissedepargne/browser.py", line 227, in do_api_pre_login
self.snid = self.page.get_snid()
^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/.local/share/woob/modules/3.6/woob_modules/caissedepargne/pages.py", line 105, in get_snid
return Regexp(pattern=r'e.CE="(\d+)"').filter(self.text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/Documents/woob/venv/lib64/python3.12/site-packages/woob/browser/filters/base.py", line 136, in wrapper
res = function(self, value)
^^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/Documents/woob/venv/lib64/python3.12/site-packages/woob/browser/filters/standard.py", line 646, in filter
return self.default_or_raise(RegexpError(msg))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/charlesp/Documents/woob/venv/lib64/python3.12/site-packages/woob/browser/filters/base.py", line 71, in default_or_raise
raise exception
woob.browser.filters.standard.RegexpError: Unable to find 1st e.CE="(\d+)" in '(self.webpackChunkaccessecurite=self.webpackChunkaccessecurite||[]).push([[179],{3181:(Ne,ie,o)=>{"use strict";o.d(ie,{L:()=>t});var t=(()=>{return(e=t||(t={}))[e.LEVEL_0=0]="LEVEL_0",e[e.LEVEL_1=1]="LEVEL_1",e[e.LEVEL_2=2]="LEVEL_2",e[e.LEVEL_3=3]="LEVEL_3",t;var e})()},7774:(Ne,ie,o)=>{"use strict";o.d(ie,{D:()=>t});var t=(()=>{return(e=t||(t={}))[e.CODE_101=101]="CODE_101",e[e.CODE_102=102]="CODE_102",e[e.CODE_103=103]="CODE_103",e[e.CODE_104=104]="CODE_104",e[e.CODE_105=105]="CODE_105",e[e.CODE_201=201]="CODE_201",t;var e})()},5312:(Ne,ie,o)=>{"use strict";o.d(ie,{s:()=>t});class t extends Error{constructor(a,m,u,d){super(a),this.code=m,this.location=u,this.cause=d??""}}},2188:(Ne,ie,o)=>{"use strict";o.d(ie,{E_:()=>Hi,BQ:()=>xi,xr:()=>fi,fZ:()=>gi,R1:()=>_r,W0:()=>It,sl:()=>In,nI:()=>Dn,Jn:()=>je,og:()=>Xn,rn:()=>Te,JX:()=>di});var t={};o.r(t),o.d(t,{DatalayerServiceType:()=>lt});var e=(()=>{return(He=e||(e={})).CANT_READ_VALUE="90",He.WRONG_TYPE="91",He.ALREADY_EXISTS="92",He.GUARD_ERROR="93",He.NOT_...'
------------------------------------------+----------+----------
```
### What are the steps to reproduce the problem?
- Fresh Woob install
- `woob bank`
- Configure Credit Cooperatif account
- Use `logging debug`
- Use `list` command
- See the stacktrace above
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.6 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module creditcooperatif |
+-----------------.------------------------------------------------------------'
| Version | 202308251212
| Maintainer | Kevin Pouget <weboob@kevin.pouget.me>
| License | LGPLv3+
| Description | Crédit Coopératif
| Capabilities | CapTransfer, CapProfile, CapDocument, CapCollection, CapBankTransferAddRecipient, CapBankTransfer, CapBank, CapCredentialsCheck, CapBankWealth
| Installed | yes
| Location | https://updates.woob.tech/3/main/creditcooperatif.tar.gz
| |
| Configuration | login: Identifiant client (default: )
| | password: Mot de passe (default: )
| | nuser: User ID (optional) (default: )
| | auth_type: Type de compte (default: )
'-----------------'
```
### How did you install woob?
pip
### Additional info you'd like to mention
`auth_type = part`, might be of importancehttps://gitlab.com/woob/woob/-/issues/669[cragr] updating not working anymore2024-02-20T20:21:08ZBenjamin Port[cragr] updating not working anymoreThis 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?
cragr
### Describe the problem you encounter
Listing my credit agricole is not working anymore. Worked the days before.
### Paste here the stacktrace or error message you observe
```
2023-12-08 11:20:41,932:DEBUG:woob.core.bcall:3.6:bcall.py:86:backend_process <Backend cragr>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fd9f7ca4710>>
2023-12-08 11:20:41,932:DEBUG:urllib3.util.retry:3.6:retry.py:282:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-12-08 11:20:41,932:DEBUG:urllib3.util.retry:3.6:retry.py:282:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-12-08 11:20:41,935:DEBUG:urllib3.util.retry:3.6:retry.py:282:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-12-08 11:20:41,935:DEBUG:urllib3.util.retry:3.6:retry.py:282:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-12-08 11:20:41,936:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:1052:_new_conn Starting new HTTPS connection (1): www.credit-agricole.fr:443
2023-12-08 11:20:42,008:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-agricole.fr:443 "GET /ca-paris/particulier/acceder-a-mes-comptes.html HTTP/1.1" 200 None
2023-12-08 11:20:42,016:DEBUG:woob.backend.cragr.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-agricole.fr/ca-paris/particulier/acceder-a-mes-comptes.html with LoginPage
2023-12-08 11:20:42,075:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-agricole.fr:443 "POST /ca-paris/particulier/acceder-a-mes-comptes.authenticationKeypad.json HTTP/1.1" 200 105
2023-12-08 11:20:42,077:DEBUG:woob.backend.cragr.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-agricole.fr/ca-paris/particulier/acceder-a-mes-comptes.authenticationKeypad.json with KeypadPage
2023-12-08 11:20:42,105:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-agricole.fr:443 "GET /ca-paris/particulier/acceder-a-mes-comptes.html HTTP/1.1" 200 None
2023-12-08 11:20:42,113:DEBUG:woob.backend.cragr.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-agricole.fr/ca-paris/particulier/acceder-a-mes-comptes.html with LoginPage
2023-12-08 11:20:42,498:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-agricole.fr:443 "POST /ca-paris/particulier/acceder-a-mes-comptes.html/j_security_check HTTP/1.1" 200 74
2023-12-08 11:20:42,502:DEBUG:woob.backend.cragr.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-agricole.fr/ca-paris/particulier/acceder-a-mes-comptes.html/j_security_check with SecurityPage
2023-12-08 11:20:42,992:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-agricole.fr:443 "GET /ca-paris/particulier/operations/synthese.html HTTP/1.1" 200 None
2023-12-08 11:20:43,022:DEBUG:woob.backend.cragr.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-agricole.fr/ca-paris/particulier/operations/synthese.html with AccountsPage
2023-12-08 11:20:43,022:DEBUG:woob.core.bcall:3.6:bcall.py:95:backend_process <Backend cragr>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fd9f7ca4710>> returned: <generator object Application._do_complete_iter at 0x7fd9f591c160>
2023-12-08 11:20:43,360:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-agricole.fr:443 "GET /ca-paris/particulier/operations/synthese.html HTTP/1.1" 200 None
2023-12-08 11:20:43,385:DEBUG:woob.backend.cragr.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-agricole.fr/ca-paris/particulier/operations/synthese.html with AccountsPage
2023-12-08 11:20:43,386:INFO:woob.backend.cragr.browser:3.6:browser.py:631:iter_spaces The total number of spaces on this connection is 1.
2023-12-08 11:20:43,757:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:546:_make_request https://www.credit-agricole.fr:443 "GET /ca-paris/particulier/operations/synthese.html HTTP/1.1" 200 None
2023-12-08 11:20:43,781:DEBUG:woob.backend.cragr.browser:3.6:browsers.py:1004:internal_callback Handle https://www.credit-agricole.fr/ca-paris/particulier/operations/synthese.html with AccountsPage
2023-12-08 11:20:43,787:WARNING:woob.backend.cragr.browser.accountspage.item:3.6:pages.py:513:obj_type There is an untyped account: please add "PROT.JURID" to ACCOUNT_TYPES.
2023-12-08 11:20:43,787:WARNING:woob.backend.cragr.browser.accountspage.item:3.6:pages.py:513:obj_type There is an untyped account: please add "PROT.JURID" to ACCOUNT_TYPES.
Bug(cragr): There are two objects with the same ID! 650xxxxxx
(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/bpo/venv/bank4me-Ai_8bRXD-py3.11/lib/python3.11/site-packages/woob/core/bcall.py", line 100, in backend_process
for subresult in result:
File "/home/bpo/venv/bank4me-Ai_8bRXD-py3.11/lib/python3.11/site-packages/woob/tools/application/base.py", line 327, in _do_complete_iter
for i, sub in enumerate(res):
File "/home/bpo/.local/share/woob/modules/3.6/woob_modules/cragr/browser.py", line 680, in iter_accounts
accounts_list = list(self.page.iter_accounts())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bpo/venv/bank4me-Ai_8bRXD-py3.11/lib/python3.11/site-packages/woob/browser/elements.py", line 282, in __iter__
obj = self.store(obj)
^^^^^^^^^^^^^^^
File "/home/bpo/venv/bank4me-Ai_8bRXD-py3.11/lib/python3.11/site-packages/woob/browser/elements.py", line 319, 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! 650xxxxxx
---------------------------------------------------------+----------+----------
2023-12-08 11:20:43,835:DEBUG:woob.backend.cragr.browser:3.6:browsers.py:1256:dump_state Stored cookies into storage
2023-12-08 11:20:43,836:DEBUG:woob.config:3.6:yamlconfig.py:90:save Configuration file saved: /home/bpo/.config/woob/bank.storage.
```
### What are the steps to reproduce the problem?
woob bank list -b cragr --debug
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.6 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module cragr |
+-----------------.------------------------------------------------------------'
| Version | 202310191405
| Maintainer | Quentin Defenouillère <quentin.defenouillere@budget-insight.com>
| License | LGPLv3+
| Description | Crédit Agricole
| Capabilities | CapTransfer, CapProfile, CapDocument, CapCollection, CapBankTransferAddRecipient, CapBankTransfer, CapBank, CapCredentialsCheck, CapBankWealth
| Installed | yes
| Location | https://updates.woob.tech/3/main/cragr.tar.gz
| |
| Configuration | website: Caisse Régionale
| | login: Identifiant à 11 chiffres (default: )
| | password: Code personnel à 6 chiffres (default: )
'-----------------'
```
### How did you install woob?
pip
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/668[bill][cragr] Unable to download document2024-02-20T20:21:25ZMatthieu Helleboid[bill][cragr] Unable to download document### With which module do you encounter problems?
CrAgr
### Describe the problem you encounter
Exception when downloading a document (bill)
### Paste here the stacktrace or error message you observe
```
2023-12-06 19:08:16,526:DEBUG:...### With which module do you encounter problems?
CrAgr
### Describe the problem you encounter
Exception when downloading a document (bill)
### Paste here the stacktrace or error message you observe
```
2023-12-06 19:08:16,526:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:456:_make_request https://www.credit-agricole.fr:443 "GET /ca-norddefrance/particulier/operations/documents/edocuments/_jcr_content.bam.pj.html/stb/collecteNI?zzzz&typeaction=telechargement HTTP/1.1" 200 None
encoding error : input conversion failed due to input error, bytes 0x81 0x82 0x83 0x84
encoding error : input conversion failed due to input error, bytes 0x81 0x82 0x83 0x84
I/O error : encoder error
2023-12-06 19:08:16,559:DEBUG:woob.core.bcall:3.6:bcall.py:92:backend_process <Backend ca>: Called function <bound method Application._do_complete of <woob.applications.bill.bill.AppBill object at 0x7f5293c56f50>> raised an error: XMLSyntaxError('Growing input buffer, line 1, column 1')
Bug(ca): Growing input buffer, line 1, column 1 (collecteNI?zzzz&typeaction=telechargement, line 1)
Traceback (most recent call last):
File "/home/xxxx/yyyy/woob/core/bcall.py", line 88, in backend_process
result = function(backend, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/tools/application/base.py", line 348, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/modules/cragr/module.py", line 245, in download_document
return self.browser.download_document(document)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/browsers.py", line 1121, in inner
return func(browser, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/modules/cragr/browser.py", line 1643, in download_document
response = self.open(document.url, params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/browsers.py", line 1022, in open
return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/browsers.py", line 879, in open
return super().open(url, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/browsers.py", line 530, in open
response = self.session.send(preq,
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/sessions.py", line 161, in send
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/sessions.py", line 154, in func
return callback(self, resp)
^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/browsers.py", line 526, in inner_callback
return callback(response)
^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/browsers.py", line 1002, in internal_callback
response.page = url.handle(response)
^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/url.py", line 278, in handle
page = self.klass(self.browser, response, m.groupdict())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/pages.py", line 627, in __init__
super().__init__(*args, **kwargs)
File "/home/xxxx/yyyy/woob/browser/pages.py", line 199, in __init__
self.doc = self.build_doc(self.data)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxx/yyyy/woob/browser/pages.py", line 742, in build_doc
doc = html.parse(io, parser, base_url=self.url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/lxml/html/__init__.py", line 937, in parse
return etree.parse(filename_or_url, parser, base_url=base_url, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/lxml/etree.pyx", line 3541, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1896, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1916, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1803, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1144, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 618, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 728, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 657, in lxml.etree._raiseParseError
File "https://www.credit-agricole.fr/ca-norddefrance/particulier/operations/documents/edocuments/_jcr_content.bam.pj.html/stb/collecteNI?zzzz&typeaction=telechargement", line 1
lxml.etree.XMLSyntaxError: Growing input buffer, line 1, column 1
2023-12-06 19:08:16,640:DEBUG:woob.backend.ca.browser:3.6:browsers.py:1256:dump_state Stored cookies into storage
```
### What are the steps to reproduce the problem?
Download a document from woob bill with module cragr
```
bill --debug -b ca download xxxxxxxxxxx_yyyyyyyyyy@cragr
```
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.6 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module cragr |
+-----------------.------------------------------------------------------------'
| Version | 202310191405
| Maintainer | Quentin Defenouillère <quentin.defenouillere@budget-insight.com>
| License | LGPLv3+
| Description | Crédit Agricole
| Capabilities | CapTransfer, CapProfile, CapDocument, CapCollection, CapBankTransferAddRecipient, CapBankTransfer, CapBank, CapCredentialsCheck, CapBankWealth
| Installed | yes
| Location | https://updates.woob.tech/3/main/cragr.tar.gz
| |
| Configuration | website: Caisse Régionale
| | login: Identifiant à 11 chiffres (default: )
| | password: Code personnel à 6 chiffres (default: )
'-----------------'
```
### How did you install woob?
yay/pacman on arch
### Additional info you'd like to mention
When downloading the document, the module seems to try to determine the document encoding by parsing it with an xml parser
adding the following to class SubscriptionsDocumentsPage in modules/cragr/document_pages.py seems to workaround the problem:
```
def detect_encoding(self):
return None
```