[bank](boursorama) Fails with "there are two obejcts wit the same ID!" when trying to sync the accounts in Kresus.
Here's the error:
- code: GENERIC_EXCEPTION
- short message: Unknown error: There are two objects with the same ID! eyJpZCI6IjA1NDBkODhlMTA3NzY3MDc3OWE2YzM3MmQwMjBiMjQ1IiwiZCI6IjIwMjItMDctMDEiLCJhYyI6IjFiOWFhMGE2ZDRmYTMwMDc2NzljYTMwZWU1MTdhN2VhIiwibSI6ZmFsc2V9.
- stack: no stack
- message: Unknown error: There are two objects with the same ID! eyJpZCI6IjA1NDBkODhlMTA3NzY3MDc3OWE2YzM3MmQwMjBiMjQ1IiwiZCI6IjIwMjItMDctMDEiLCJhYyI6IjFiOWFhMGE2ZDRmYTMwMDc2NzljYTMwZWU1MTdhN2VhIiwibSI6ZmFsc2V9.
Traceback (most recent call last):
File "/var/www/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/var/www/kresus/build/server/providers/woob/py/main.py", line 595, in get_operations
for histop in self.backend.iter_history(account):
File "/var/www/kresus/data/woob-data/modules/3.0/boursorama/module.py", line 81, in iter_history
for tr in self.browser.get_history(account):
File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 170, in __next__
obj = next(self.it)
File "/var/www/kresus/data/woob-data/modules/3.0/boursorama/browser.py", line 657, in get_regular_transactions
for transaction in self.page.iter_history():
File "/var/www/kresus/data/woob-data/modules/3.0/boursorama/pages.py", line 568, in inner
for r in func(page, *args, **kwargs):
File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/elements.py", line 222, in __iter__
obj = self.store(obj)
File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/elements.py", line 259, in store
raise DataError('There are two objects with the same ID! %s' % obj.id)
woob.browser.elements.DataError: There are two objects with the same ID! eyJpZCI6IjA1NDBkODhlMTA3NzY3MDc3OWE2YzM3MmQwMjBiMjQ1IiwiZCI6IjIwMjItMDctMDEiLCJhYyI6IjFiOWFhMGE2ZDRmYTMwMDc2NzljYTMwZWU1MTdhN2VhIiwibSI6ZmFsc2V9
I really don't know what I can tell more than that :( Feel free to ask me questions !
Edited by Félix Piédallu