[boobank][societegenerale] AttributeError: 'MainPage' object has no attribute 'is_accounts'
With which module do you encounter problems?
societegenerale
Describe the problem you encounter
Issuing the list
command raises an error
AttributeError: 'MainPage' object has no attribute 'is_accounts'
Paste here the stacktrace or error message you observe
C:\> D:\Dropbox\Projets\boomoney\scripts\boobank -debug -b societegenerale
2021-01-20 21:37:26,478:DEBUG:weboob.config:2.1:yamlconfig.py:69:load Loading configuration file: C:\Users\Bruno\.config\weboob\boobank.storage.
2021-01-20 21:37:26,524:DEBUG:weboob.config:2.1:yamlconfig.py:73:load Configuration file loaded: C:\Users\Bruno\.config\weboob\boobank.storage.
2021-01-20 21:37:27,129:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "societegenerale" from d:/Dropbox/Projets/boomoney/modules/societegenerale
2021-01-20 21:37:37,199:DEBUG:backend:2.1:modules.py:97:create_instance Created backend "societegenerale" for module "societegenerale"
2021-01-20 21:37:37,205:DEBUG:weboob.config:2.1:iniconfig.py:53:load Loading application configuration file: C:\Users\Bruno\.config\weboob\boobank.
2021-01-20 21:37:37,206:DEBUG:weboob.config:2.1:iniconfig.py:73:load Application configuration file loaded: C:\Users\Bruno\.config\weboob\boobank.
Welcome to boobank v2.1
Copyright(C) 2010-2021 Romain Bignon, Christophe Benz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Type "help" to display available commands.
Loaded backends: societegenerale
boobank> list
Account Balance Coming
------------------------------------------+----------+----------
2021-01-20 21:37:44,385:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'societegenerale'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x039D0B80>>
2021-01-20 21:37:44,386:DEBUG:bcall:2.1:bcall.py:101:backend_process <Backend 'societegenerale'>: Called function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x039D0B80>> returned: <generator object Application._do_complete_iter at 0x04931F40>
2021-01-20 21:37:44,387:DEBUG:urllib3.util.retry:2.1:retry.py:230:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2021-01-20 21:37:44,388:DEBUG:urllib3.util.retry:2.1:retry.py:230:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2021-01-20 21:37:44,395:INFO:backend.societegenerale.browser:2.1:browsers.py:1060:load_state State expired, not reloading it from storage
2021-01-20 21:37:44,400:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:937:_new_conn Starting new HTTPS connection (1): particuliers.societegenerale.fr:443
2021-01-20 21:37:48,291:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:433:_make_request https://particuliers.societegenerale.fr:443 "GET / HTTP/1.1" 200 23778
2021-01-20 21:37:48,921:DEBUG:backend.societegenerale.browser:2.1:browsers.py:880:internal_callback Handle https://particuliers.societegenerale.fr/ with MainPage
2021-01-20 21:37:49,245:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:433:_make_request https://particuliers.societegenerale.fr:443 "GET //sec/vkm/gen_crypto?estSession=0 HTTP/1.1" 200 1595
2021-01-20 21:37:49,254:DEBUG:backend.societegenerale.browser:2.1:browsers.py:880:internal_callback Handle https://particuliers.societegenerale.fr//sec/vkm/gen_crypto?estSession=0 with MainPage
2021-01-20 21:37:49,619:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:433:_make_request https://particuliers.societegenerale.fr:443 "GET //sec/vkm/gen_ui?modeClavier=0&cryptogramme=AAAAAJQCAAALMDAxNjE2MTExNzUwNjkAAAAAAAAMMDU1MgAAAIAIwJXRp_NDjbvXGsGi0WIVeJZN8NObfiLSvyGolclmfkl6Kg14Ab5iZj02shq_01WeqbQzFSfRV9zsAcqAKMOCD9n2RQ5_zBvL_w46rqguy6bP-cGqWsjeb_ZnOPxCQdMNk_OEElV-Hsrl9vpPM9THnEnLXmLTjW7ej26Bp86cnAAAAAiOFcZcHJ8WJmyJoVxNCkE_LWHwxyb4rJm_EDmiigWuFBSgEzmGSM2HHHZiwHmEnQerjFHFOZo0Q7kW3N2-0Un489kDBw9eCyByLGnAWH17j2WEOKO6JwTYG6fm87PAIyh1vNlVodPSoEkk41LSpKnp3lpMnHpsKRpOHbqjnu2yEOSu_yvyq1qOGWEvcMoUZ18QvlOAi4u3YQNsQD_xLhkybwIbAREUVtVlChZyA4GFBJtzE_aJu6OY_0a9n-ckvL-21QiY7nLBRaby8ffDvklH-Rux-aW1MRs0Rr4M5WvAseZJ2h00u-AbmwoMtjDzIkK9RHfiDI5LKa-6Up-UEvldidvjg55W1iLw3wHUWi6OV--EpzJroaBtnWHgmU34W_q1hmeeUtNOkh6fq-xWagf3TrzpzcVRkrPeB1QZBWHL5h-PwIlxS61FeZ-3tofpjLUW6HZFmM7pNvDKHzEj4-V0hf_FEKHgw0t4bNg6NqvJ9OnFBL3teseNMcMxEZ-Da6U4TwrN1vbippG6IYyNdO1ubhlGJ7RLkRck0aJTgSUbDgIwMDAyMDEFMDAyMBQRYz1MFftdX8CEk_Ex2esniIntBjAwMjBMXaZRoc6PuM-EWv_LhE-ymCnZNAcwMDIwSbTaSjp13WXtjnUwyNpTsElla_YdEFAovozy2FxLvtTt3pRKaf42-1D9dSJvbKpc2O05LRZD32vtoBX4l1K1std2xO1Z-1aPRm-tfDRLrFrfGeJGw_a8pDmf6U3sHUqwxktR8TWgpTBYbLFKDajIxrUHwNGz90QvHY5t2sgj88GtGzH3sDRbfuCsNMaYVHj1O4ZTIQ== HTTP/1.1" 200 4688
encoding error : input conversion failed due to input error, bytes 0x81 0x5A 0x2D 0x1D
encoding error : input conversion failed due to input error, bytes 0x81 0x5A 0x2D 0x1D
I/O error : encoder error
2021-01-20 21:37:49,634:DEBUG:backend.societegenerale.browser:2.1:browsers.py:880:internal_callback Handle https://particuliers.societegenerale.fr//sec/vkm/gen_ui?modeClavier=0&cryptogramme=AAAAAJQCAAALMDAxNjE2MTExNzUwNjkAAAAAAAAMMDU1MgAAAIAIwJXRp_NDjbvXGsGi0WI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-01-20 21:37:49,691:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:153:call STREAM b'IDAT' 41 4631
2021-01-20 21:37:50,714:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:433:_make_request https://particuliers.societegenerale.fr:443 "POST //sec/vk/authent.json HTTP/1.1" 200 544
2021-01-20 21:37:50,723:DEBUG:backend.societegenerale.browser:2.1:browsers.py:880:internal_callback Handle https://particuliers.societegenerale.fr//sec/vk/authent.json with LoginPage
2021-01-20 21:37:51,320:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:433:_make_request https://particuliers.societegenerale.fr:443 "GET /restitution/cns_listeprestation.html HTTP/1.1" 302 0
2021-01-20 21:37:51,726:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:433:_make_request https://particuliers.societegenerale.fr:443 "GET /icd/cbo/index-authsec.html HTTP/1.1" 200 None
2021-01-20 21:37:52,469:DEBUG:backend.societegenerale.browser:2.1:browsers.py:880:internal_callback Handle https://particuliers.societegenerale.fr/icd/cbo/index-authsec.html#cbo/ with MainPage
Bug(societegenerale): 'MainPage' object has no attribute 'is_accounts'
Traceback (most recent call last):
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\core\bcall.py", line 106, in backend_process
for subresult in result:
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\application\base.py", line 297, in _do_complete_iter
for i, sub in enumerate(res):
File "d:/Dropbox/Projets/boomoney/modules/societegenerale\module.py", line 86, in iter_accounts
for account in self.browser.get_accounts_list():
File "d:/Dropbox/Projets/boomoney/modules/societegenerale\browser.py", line 382, in get_accounts_list
self.page.is_accounts()
AttributeError: 'MainPage' object has no attribute 'is_accounts'
------------------------------------------+----------+----------
boobank>
What are the steps to reproduce the problem?
Run the list
command in boobank
What weboob version are you using?
Output of weboob-config --version
command:
C:\> weboob-config --version
weboob-config v2.1 Copyright(C) 2010-2021 Christophe Benz, Romain Bignon
What module version are you using?
Output of weboob-config info MODULE_NAME
command:
C:\> weboob-config info societegenerale
.------------------------------------------------------------------------------.
| Module societegenerale |
+-----------------.------------------------------------------------------------'
| Version | 202101181927
| Maintainer | Jocelyn Jaubert <jocelyn.jaubert@gmail.com>
| License | LGPLv3+
| Description | Société Générale
| Capabilities | CapProfile, CapContact, CapTransfer, CapDocument, CapBankTransfer, CapBankWealth, CapCollection, CapBank, CapBankTransferAddRecipient
| Installed | yes
| Location | d:/Dropbox/Projets/boomoney/modules/societegenerale
| |
| Configuration | login: Code client (default: )
| | password: Code secret (default: )
| | website: Type de compte (default: par)
| | code: None
| | resume: None
| | request_information: None
'-----------------'
How did you install weboob?
Windows installation through git clone