[CIC] Solde pas mis à jour avec une synchronisation manuelle
Rapport de bug
Bonjour,
Version de Woob que j'utilise : 3.6
Version de Kresus que j'utilise : 21.2
Les étapes à faire pour reproduire le bug : Faire une synchronisation manuelle avec un compte CIC
Ce que je m'attends à voir : Le solde doit être mis à jour
Ce que j'observe en pratique : Le solde n'est pas mis à jour
Mes logs :
[2024-06-28T08:02:23.316] [INFO] HTTP - GET / - 200 (19 ms)
[2024-06-28T08:02:23.403] [INFO] HTTP - GET /assets/index.7ae1d892.js - 200 (15 ms)
[2024-06-28T08:02:23.411] [INFO] HTTP - GET /assets/index.993f04e7.css - 200 (5 ms)
[2024-06-28T08:02:23.878] [INFO] providers/woob - Calling woob: command version...
[2024-06-28T08:02:23.896] [INFO] HTTP - GET /assets/favicon-192x192.bacde796.png - 200 (21 ms)
[2024-06-28T08:02:24.589] [INFO] providers/woob - exited with code 0.
[2024-06-28T08:02:24.590] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2024-06-28T08:02:24.647] [INFO] HTTP - GET /api/all/ - 200 (997 ms)
[2024-06-28T08:02:24.887] [INFO] HTTP - GET /assets/OpenSans-Regular.2e158738.woff - 200 (4 ms)
[2024-06-28T08:02:24.901] [INFO] HTTP - GET /assets/OpenSans-Semibold.b0390aa3.woff - 200 (18 ms)
[2024-06-28T08:02:24.929] [INFO] HTTP - GET /assets/OpenSans-Bold.7d7a1a8e.woff - 200 (7 ms)
[2024-06-28T08:02:24.931] [INFO] HTTP - GET /assets/fontawesome-webfont.2adefcbc.woff2?v=4.7.0 - 200 (9 ms)
[2024-06-28T08:02:24.936] [INFO] HTTP - GET /assets/bank-sprite.png - 200 (10 ms)
[2024-06-28T08:06:31.996] [INFO] providers/woob - Calling woob: command transactions...
[2024-06-28T08:06:35.031] [INFO] providers/woob - exited with code 0.
[2024-06-28T08:06:35.032] [INFO] providers/woob - Saving session for access from bank cic with login xxxxxxxxxxxxx
[2024-06-28T08:06:35.047] [INFO] providers/woob - Browser question is required; propagating question to the user.
[2024-06-28T08:06:35.049] [INFO] HTTP - POST /api/accesses/1/fetch/transactions - 200 (3092 ms)
[2024-06-28T08:06:43.701] [INFO] providers/woob - Calling woob: command transactions...
[2024-06-28T08:07:19.805] [INFO] providers/woob - exited with code 0.
[2024-06-28T08:07:19.805] [WARN] providers/woob - stderr: /home/kresus/.local/lib/python3.11/site-packages/woob/browser/elements.py:503: AttributeCreationWarning: Creating a non-field attribute deferred. Please prefix it with _
setattr(self.obj, key, value)
2024-06-28 08:07:00,161:WARNING:woob.cic.browser.newaccountspage.item_loan:pages.py:847:obj_start_repayment_date Loan Cic Immo Prêt Modulable seems to be a deferred loan but no start_repayment_date has been found
/home/kresus/.local/lib/python3.11/site-packages/woob/browser/elements.py:503: AttributeCreationWarning: Creating a non-field attribute start_repayment_date. Please prefix it with _
setattr(self.obj, key, value)
[2024-06-28T08:07:19.806] [INFO] providers/woob - Saving session for access from bank cic with login xxxxxxxxxxxxx
[2024-06-28T08:07:19.823] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2024-06-28T08:07:19.823] [INFO] accounts-manager - Normalizing source information...
[2024-06-28T08:07:19.832] [ERROR] accounts-manager - Transaction with invalid amount, skipping
[2024-06-28T08:07:19.832] [ERROR] accounts-manager - Transaction with invalid amount, skipping
[2024-06-28T08:07:19.832] [INFO] accounts-manager - 53 transactions retrieved from source.
[2024-06-28T08:07:19.833] [INFO] accounts-manager - Comparing with database to ignore already known transactions…
[2024-06-28T08:07:19.833] [INFO] accounts-manager - Checking missing recurring transactions for account 75…
[2024-06-28T08:07:19.837] [INFO] accounts-manager - 0 recurring transaction(s) created for account 75…
[2024-06-28T08:07:19.837] [INFO] accounts-manager - Checking missing recurring transactions for account 23…
[2024-06-28T08:07:19.838] [INFO] accounts-manager - 0 recurring transaction(s) created for account 23…
[2024-06-28T08:07:19.838] [INFO] accounts-manager - Checking missing recurring transactions for account 2…
[2024-06-28T08:07:19.840] [INFO] accounts-manager - 0 recurring transaction(s) created for account 2…
[2024-06-28T08:07:19.850] [INFO] accounts-manager - Checking missing recurring transactions for account 29…
[2024-06-28T08:07:19.851] [INFO] accounts-manager - 0 recurring transaction(s) created for account 29…
[2024-06-28T08:07:19.852] [INFO] accounts-manager - Checking missing recurring transactions for account 28…
[2024-06-28T08:07:19.853] [INFO] accounts-manager - 0 recurring transaction(s) created for account 28…
[2024-06-28T08:07:19.858] [INFO] accounts-manager - Checking missing recurring transactions for account 1…
[2024-06-28T08:07:19.859] [INFO] accounts-manager - 0 recurring transaction(s) created for account 1…
[2024-06-28T08:07:19.889] [INFO] accounts-manager - 2 new transactions found!
[2024-06-28T08:07:19.890] [INFO] accounts-manager - Creating new transactions…
[2024-06-28T08:07:19.926] [INFO] accounts-manager - Done.
[2024-06-28T08:07:19.927] [INFO] accounts-manager - Adjusting account balances...
[2024-06-28T08:07:19.927] [INFO] accounts-manager - Retrieve all accounts from access cic with login xxxxxxxxxxxxx
[2024-06-28T08:07:19.932] [INFO] providers/woob - Calling woob: command accounts...
[2024-06-28T08:07:44.175] [INFO] providers/woob - exited with code 0.
[2024-06-28T08:07:44.175] [WARN] providers/woob - stderr: /home/kresus/.local/lib/python3.11/site-packages/woob/browser/elements.py:503: AttributeCreationWarning: Creating a non-field attribute deferred. Please prefix it with _
setattr(self.obj, key, value)
2024-06-28 08:07:37,754:WARNING:woob.cic.browser.newaccountspage.item_loan:pages.py:847:obj_start_repayment_date Loan Cic Immo Prêt Modulable seems to be a deferred loan but no start_repayment_date has been found
/home/kresus/.local/lib/python3.11/site-packages/woob/browser/elements.py:503: AttributeCreationWarning: Creating a non-field attribute start_repayment_date. Please prefix it with _
setattr(self.obj, key, value)
[2024-06-28T08:07:44.176] [INFO] providers/woob - Saving session for access from bank cic with login xxxxxxxxxxxxx
[2024-06-28T08:07:44.196] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2024-06-28T08:07:44.198] [INFO] accounts-manager - -> 6 bank account(s) found
[2024-06-28T08:07:44.234] [INFO] accounts-manager - Checking alerts based on accounts balances...
[2024-06-28T08:07:44.256] [INFO] emailer - Reinitializing email recipient...
[2024-06-28T08:07:44.259] [INFO] emailer - Done!
[2024-06-28T08:07:44.259] [INFO] emailer - About to send email. Metadata: *******@****.*** *******@****.*** Kresus - Alerte sur solde de compte
[2024-06-28T08:07:44.923] [INFO] emailer - Message sent: 250 2.0.0 Ok: queued as B22DA60391
[2024-06-28T08:07:44.923] [INFO] alert-manager - Notifications have been sent.
[2024-06-28T08:07:44.924] [INFO] accounts-manager - Checking alerts based on transactions amounts...
[2024-06-28T08:07:44.936] [INFO] emailer - About to send email. Metadata: *******@****.*** *******@****.*** Kresus - Alerte sur transaction
[2024-06-28T08:07:45.469] [INFO] emailer - Message sent: 250 2.0.0 Ok: queued as 45E7A6FCD3
[2024-06-28T08:07:45.469] [INFO] alert-manager - Notifications have been sent.
[2024-06-28T08:07:45.479] [INFO] accounts-manager - Post process: done.
[2024-06-28T08:07:45.481] [INFO] HTTP - POST /api/accesses/1/fetch/transactions - 200 (61814 ms)
[2024-06-28T08:10:13.927] [INFO] providers/woob - Calling woob: command version...
[2024-06-28T08:10:14.640] [INFO] providers/woob - exited with code 0.
[2024-06-28T08:10:14.640] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2024-06-28T08:10:14.648] [INFO] HTTP - GET /api/instance/woob - 200 (726 ms)
Les logs lors de la resynchronisation du solde :
[2024-06-28T08:19:18.180] [INFO] HTTP - DELETE /api/logs - 200 (7 ms)
[2024-06-28T08:19:42.862] [INFO] accounts-manager - Retrieve all accounts from access cic with login xxxxxxxxxxxxx
[2024-06-28T08:19:42.865] [INFO] providers/woob - Calling woob: command accounts...
[2024-06-28T08:20:03.198] [INFO] providers/woob - exited with code 0.
[2024-06-28T08:20:03.201] [WARN] providers/woob - stderr: /home/kresus/.local/lib/python3.11/site-packages/woob/browser/elements.py:503: AttributeCreationWarning: Creating a non-field attribute deferred. Please prefix it with _
setattr(self.obj, key, value)
2024-06-28 08:19:57,457:WARNING:woob.cic.browser.newaccountspage.item_loan:pages.py:847:obj_start_repayment_date Loan Cic Immo Prêt Modulable seems to be a deferred loan but no start_repayment_date has been found
/home/kresus/.local/lib/python3.11/site-packages/woob/browser/elements.py:503: AttributeCreationWarning: Creating a non-field attribute start_repayment_date. Please prefix it with _
setattr(self.obj, key, value)
[2024-06-28T08:20:03.207] [INFO] providers/woob - Saving session for access from bank cic with login xxxxxxxxxxxxx
[2024-06-28T08:20:03.277] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2024-06-28T08:20:03.277] [INFO] accounts-manager - -> 6 bank account(s) found
[2024-06-28T08:20:03.543] [INFO] accounts-manager - Updating real balance for xxxxxxxxxxxxx
[2024-06-28T08:20:03.551] [INFO] HTTP - POST /api/accounts/1/resync-balance - 200 (20705 ms)
[2024-06-28T08:21:01.834] [INFO] providers/woob - Calling woob: command version...
[2024-06-28T08:21:02.512] [INFO] providers/woob - exited with code 0.
[2024-06-28T08:21:02.513] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2024-06-28T08:21:02.514] [INFO] HTTP - GET /api/instance/woob - 304 (681 ms)
Depuis que le CIC force l'utilisation d'un code à chaque connexion, je suis obligé de synchroniser Kresus manuellement (merci le CIC...) et depuis que je fonctionne en synchronisation manuelle je me rends compte que les opérations sont bien récupérées mais mon solde n'est jamais mis à jour. Je suis obligé après chaque synchronisation d'aller dans le menu accès bancaires et lancer "resynchroniser le solde du compte" pour avoir mon solde à jour.
Merci