[cragr] updating not working anymore
This is a template for submitting an issue, fill the blanks and remove non-applicable stuff.
First, read the frequently asked questions.
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