woob issueshttps://gitlab.com/woob/woob/-/issues2020-12-22T08:25:31Zhttps://gitlab.com/woob/woob/-/issues/448[boobank][banquepopulaire] Bug(banquepopulaire): 'NoneType' object has no att...2020-12-22T08:25:31ZWoob Import[boobank][banquepopulaire] Bug(banquepopulaire): 'NoneType' object has no attribute 'get_status'For a few days, I got this error with all my BPALC accounts (I have 3 IDs)
```
$ boobank -b banquepopulaire
Welcome to boobank v2.0
...
Loaded backends: banquepopulaire
boobank> list
Account Balance ...For a few days, I got this error with all my BPALC accounts (I have 3 IDs)
```
$ boobank -b banquepopulaire
Welcome to boobank v2.0
...
Loaded backends: banquepopulaire
boobank> list
Account Balance Coming
------------------------------------------+----------+----------
Bug(banquepopulaire): 'NoneType' object has no attribute 'get_status'
(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.
------------------------------------------+----------+----------
```
I use weboob on Archlinux , installed through AUR (yay)
```
Linux rdc2010 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64 GNU/Linux
weboob-config v2.0 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
```
```
.------------------------------------------------------------------------------.
| Module banquepopulaire |
+-----------------.------------------------------------------------------------'
| Version | 202012071419
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | Banque Populaire
| Capabilities | CapProfile, CapBankWealth, CapBank, CapContact, CapCollection, CapDocument
| Installed | yes
| Location | http://updates.weboob.org/2.0/main/banquepopulaire.tar.gz
| |
| Configuration | website: Région
| | login: Identifiant (default: )
| | password: Mot de passe (default: )
'-----------------'
```https://gitlab.com/woob/woob/-/issues/447[freemobile] New website launched, current module not working ('Response' obj...2020-12-26T20:53:13ZWoob Import[freemobile] New website launched, current module not working ('Response' object has no attribute 'login')### With which module do you encounter problems?
freemobile
### Describe the problem you encounter
A new website launched [(Cf this article for example)](https://www.universfreebox.com/article/59541/free-mobile-lance-une-nouvelle-versio...### With which module do you encounter problems?
freemobile
### Describe the problem you encounter
A new website launched [(Cf this article for example)](https://www.universfreebox.com/article/59541/free-mobile-lance-une-nouvelle-version-de-son-espace-abonne-ca-vaut-le-coup) and it seems that the current module is not compatible with it. Some changes may be needed.
### Paste here the stacktrace or error message you observe
```
2020-12-13 00:15:02,419:DEBUG:weboob.config:2.1:yamlconfig.py:69:load Loading configuration file: <homedir>/.config/weboob/boobill.storage.
2020-12-13 00:15:02,421:DEBUG:weboob.config:2.1:yamlconfig.py:73:load Configuration file loaded: <homedir>/.config/weboob/boobill.storage.
2020-12-13 00:15:02,515:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "freemobile" from <homedir>/Projects/WEBOOB/weboob/modules/freemobile
2020-12-13 00:15:02,824:DEBUG:backend:2.1:modules.py:97:create_instance Created backend "freemobile" for module "freemobile"
2020-12-13 00:15:02,825:DEBUG:weboob.config:2.1:iniconfig.py:53:load Loading application configuration file: <homedir>/.config/weboob/boobill.
2020-12-13 00:15:02,825:DEBUG:weboob.config:2.1:iniconfig.py:73:load Application configuration file loaded: <homedir>/.config/weboob/boobill.
2020-12-13 00:15:02,841:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'freemobile'>: Calling function <bound method Application._do_complete of <weboob.applications.boobill.boobill.Boobill object at 0x10300a710>>
2020-12-13 00:15:02,848:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-12-13 00:15:02,848:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-12-13 00:15:02,851:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:813:_new_conn Starting new HTTPS connection (1): mobile.free.fr:443
2020-12-13 00:15:02,878:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:393:_make_request https://mobile.free.fr:443 "GET /moncompte/index.php HTTP/1.1" 301 None
2020-12-13 00:15:02,935:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:393:_make_request https://mobile.free.fr:443 "GET /account/index.php HTTP/1.1" 200 None
2020-12-13 00:15:02,941:DEBUG:backend.freemobile.browser:2.1:browsers.py:898:internal_callback Unable to handle https://mobile.free.fr/account/index.php
2020-12-13 00:15:02,941:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'freemobile'>: Called function <bound method Application._do_complete of <weboob.applications.boobill.boobill.Boobill object at 0x10300a710>> raised an error: AttributeError("'Response' object has no attribute 'login'")
Bug(freemobile): 'Response' object has no attribute 'login'
Traceback (most recent call last):
File "<homedir>/Projects/WEBOOB/weboob/weboob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "<homedir>/Projects/WEBOOB/weboob/weboob/tools/application/base.py", line 318, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "<homedir>/Projects/WEBOOB/weboob/weboob/capabilities/bill.py", line 325, in iter_resources
return self.iter_subscription()
File "<homedir>/Projects/WEBOOB/weboob/modules/freemobile/module.py", line 56, in iter_subscription
return self.browser.get_subscription_list()
File "<homedir>/Projects/WEBOOB/weboob/weboob/browser/browsers.py", line 985, in inner
browser.do_login()
File "<homedir>/Projects/WEBOOB/weboob/modules/freemobile/browser.py", line 45, in do_login
self.loginpage.stay_or_go().login(self.username, self.password)
AttributeError: 'Response' object has no attribute 'login'
```
### What are the steps to reproduce the problem?
Just try to use freemobile with `boobill` for example.
### What weboob version are you using?
Git current.
Output of `weboob-config --version` command:
```
weboob-config v2.1 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `weboob-config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module freemobile |
+-----------------.------------------------------------------------------------'
| Version | 202008112126
| Maintainer | Florent Fourcot <weboob@flo.fourcot.fr>
| License | LGPLv3+
| Description | Free Mobile website
| Capabilities | CapMessages, CapMessagesPost, CapProfile, CapCollection, CapDocument
| Installed | yes
| Location | <homedir>/Projects/WEBOOB/weboob/modules/freemobile
| |
| Configuration | login: Account ID (default: )
| | password: Password (default: )
'-----------------'
```
### How did you install weboob?
```
pip install -e .
```
### Additional info you'd like to mention
I'll try to have a look at it.https://gitlab.com/woob/woob/-/issues/446Boobank degiro "history" amounts are all 02023-04-08T15:54:46ZWoob ImportBoobank degiro "history" amounts are all 0This reproduces with degiro module in 2.1 a well as current git.
Amounts of the "history" command seem wrong. Example:
```
boobank> history 1
Date Category Label Amount
---...This reproduces with degiro module in 2.1 a well as current git.
Amounts of the "history" command seem wrong. Example:
```
boobank> history 1
Date Category Label Amount
------------+------------+---------------------------------------------------+-----------
2020-12-01 Bank Processed Flatex Withdrawal 0.00
2020-12-01 Bank Retrait flatex 0.00
2020-12-01 Bank Transfert de fonds Flatex 0.00
2020-12-01 Bank Degiro Cash Sweep Transfer 0.00
2020-11-30 Bank Processed Flatex Withdrawal 0.00
2020-11-30 Bank Frais de courtage 0.00
2020-11-30 Bank Frais de courtage 0.00
2020-11-30 Order Achat 1 Vanguard FTSE All-World UCITS ETF - (USD) 0.00
2020-11-30 Bank Dépôt flatex 0.00
2020-10-31 Bank Processed Flatex Withdrawal 0.00
```https://gitlab.com/woob/woob/-/issues/445[boobank][creditcooperatif]2023-04-08T15:54:45ZWoob Import[boobank][creditcooperatif]`Creditcooperatif` backend (`v2.1`) stopped working yesterday, maybe because of a website update:
```500 Server Error: Internal Server Error```
```
2020-12-03 18:54:30,519:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'creditcoo...`Creditcooperatif` backend (`v2.1`) stopped working yesterday, maybe because of a website update:
```500 Server Error: Internal Server Error```
```
2020-12-03 18:54:30,519:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'creditcooperatif'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f2e41f384f0>>
2020-12-03 18:54:30,519:DEBUG:bcall:2.1:bcall.py:101:backend_process <Backend 'creditcooperatif'>: Called function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f2e41f384f0>> returned: <generator object Application._do_complete_iter at 0x7f2e01c0a200>
2020-12-03 18:54:30,521:DEBUG:urllib3.util.retry:2.1:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-12-03 18:54:30,521:DEBUG:urllib3.util.retry:2.1:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-12-03 18:54:30,530:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "linebourse" from /home/kevin/vayrac/tools/weboob/modules/linebourse
2020-12-03 18:54:30,530:DEBUG:urllib3.util.retry:2.1:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-12-03 18:54:30,530:DEBUG:urllib3.util.retry:2.1:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-12-03 18:54:30,530:INFO:backend.creditcooperatif.browser:2.1:switch.py:81:set_browser using 'main' browser
2020-12-03 18:54:30,533:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:955:_new_conn Starting new HTTPS connection (1): www.credit-cooperatif.coop:443
2020-12-03 18:54:30,960:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:428:_make_request https://www.credit-cooperatif.coop:443 "GET /authentification/manage?step=identification&identifiant=... HTTP/1.1" 500 313
2020-12-03 18:54:30,977:INFO:backend.creditcooperatif.browser:2.1:browsers.py:212:save_response Response saved to /tmp/weboob_session_fwmdzt9r/creditcooperatif/01-500-manage.html
Error(creditcooperatif): 500 Server Error: Internal Server Error
---------------------------------------------------------+----------+----------
2020-12-03 18:54:31,021:INFO:backend.creditcooperatif.browser:2.1:browsers.py:909:dump_state Stored cookies into storage
2020-12-03 18:54:31,025:DEBUG:weboob.config:2.1:yamlconfig.py:90:save Configuration file saved: /home/kevin/.config/weboob/boobank.storage.
```
and
```
# cat /tmp/weboob_session_fwmdzt9r/creditcooperatif/01-500-manage.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>An Error Occurred: Internal Server Error</title>
</head>
<body>
<h1>Oops! An Error Occurred</h1>
<h2>The server returned a "500 Internal Server Error".</h2>
<div>
Something is broken. Please let us know what you were doing when this error occurred.
We will fix it as soon as possible. Sorry for any inconvenience caused.
</div>
</body>
</html>
```https://gitlab.com/woob/woob/-/issues/444Ganassurances module depends on ganpatrimoine but ganpatrimoine's installatio...2022-03-21T08:42:32ZWoob ImportGanassurances module depends on ganpatrimoine but ganpatrimoine's installation failed with: Module "ganpatrimoine" does not existThis is a template for submitting an issue, fill the blanks and remove non-applicable stuff.
First, read the [frequently asked questions](https://git.weboob.org/weboob/weboob/-/wikis/faq#common-problems).
### With which module do you e...This is a template for submitting an issue, fill the blanks and remove non-applicable stuff.
First, read the [frequently asked questions](https://git.weboob.org/weboob/weboob/-/wikis/faq#common-problems).
### With which module do you encounter problems?
### Describe the problem you encounter
Account creation is impossible
### Paste here the stacktrace or error message you observe
```
Traceback (most recent call last):
File "/usr/local/lib/node_modules/kresus/build/server/providers/weboob/py/main.py", line 921, in <module>
main()
File "/usr/local/lib/node_modules/kresus/build/server/providers/weboob/py/main.py", line 897, in main
weboob_connector.create_backend(bank_module, params, session)
File "/usr/local/lib/node_modules/kresus/build/server/providers/weboob/py/main.py", line 508, in create_backend
self.backend = self.weboob.build_backend(
File "/usr/local/lib/python3.9/site-packages/weboob/core/ouiboube.py", line 430, in build_backend
return super(Weboob, self).build_backend(module_name, params, storage, name, nofail)
File "/usr/local/lib/python3.9/site-packages/weboob/core/ouiboube.py", line 118, in build_backend
backend_instance = module.create_instance(self, name or module_name, params or {}, storage, nofail, logger=logger or self.logger)
File "/usr/local/lib/python3.9/site-packages/weboob/core/modules.py", line 96, in create_instance
backend_instance = self.klass(weboob, backend_name, config, storage, logger=logger or self.logger, nofail=nofail)
File "/usr/local/lib/python3.9/site-packages/weboob/tools/backend.py", line 544, in __new__
parent = cls._resolve_abstract(weboob=weboob, name=name)
File "/usr/local/lib/python3.9/site-packages/weboob/tools/backend.py", line 529, in _resolve_abstract
raise ModuleInstallError('The module %s depends on %s module but %s\'s installation failed with: %s' % (name, cls.PARENT, cls.PARENT, err))
weboob.exceptions.ModuleInstallError: The module ganassurances depends on ganpatrimoine module but ganpatrimoine's installation failed with: Module "ganpatrimoine" does not exist
```
### What are the steps to reproduce the problem?
Create a an account for gan assurance
### What weboob version are you using?
Output of `weboob-config --version` command:
```
weboob-config v2.0 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `weboob-config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module ganassurances |
+-----------------.------------------------------------------------------------'
| Version | 202009140931
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | Gan Assurances
| Capabilities | CapBank, CapCollection
| Installed | yes
| Location | https://updates.weboob.org/2.0/main/ganassurances.tar.gz
| |
| Configuration | login: Numéro client (default: )
| | password: Code d'accès (default: )
'-----------------'
```
### How did you install weboob?
Example: apt, brew, distro packages, pip, setup.py
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/443[boobank][ing] Bug(ingBruno): type object 'BourseDirectBrowser' has no attrib...2023-04-08T15:54:45ZWoob Import[boobank][ing] Bug(ingBruno): type object 'BourseDirectBrowser' has no attribute 'PARENT_ATTR'### With which module do you encounter problems?
ing
### Describe the problem you encounter
I am using several instances of the `ing` backend, as I retrieve the accounts of my wife and mother in law in addition to mine - yes I should ge...### With which module do you encounter problems?
ing
### Describe the problem you encounter
I am using several instances of the `ing` backend, as I retrieve the accounts of my wife and mother in law in addition to mine - yes I should get a reward for this ;-b
Doing so, I get the following error when doing the `list` command in `boobank`:
`Bug(ingBruno): type object 'BourseDirectBrowser' has no attribute 'PARENT_ATTR'`
### Paste here the stacktrace or error message you observe
```
Bug(ingBruno): type object 'BourseDirectBrowser' has no attribute 'PARENT_ATTR'
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/ing\module.py", line 79, in iter_accounts
for account in self.browser.iter_accounts():
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\backend.py", line 343, in browser
self._browser = self.create_default_browser()
File "d:/Dropbox/Projets/boomoney/modules/ing\module.py", line 61, in create_default_browser
return self.create_browser(
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\backend.py", line 383, in create_browser
browser = klass(*args, **kwargs)
File "d:/Dropbox/Projets/boomoney/modules/ing\api_browser.py", line 130, in __init__
self.bourse = BourseDirectBrowser(None, None, **kwargs)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\browser\browsers.py", line 1188, in __new__
cls._resolve_abstract(weboob)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\browser\browsers.py", line 1171, in _resolve_abstract
if cls.PARENT_ATTR is None:
AttributeError: type object 'BourseDirectBrowser' has no attribute 'PARENT_ATTR'
```
### What are the steps to reproduce the problem?
Use several times the ing backend, as in:
```
[ingBruno]
_module = ing
birthday = XXXXX
login = XXXXX
password = XXXXX
[ingWife]
_module = ing
birthday = XXXXX
login = XXXXX
password = XXXXX
[ingMotherInlaw]
_module = ing
birthday = XXXXX
login = XXXXX
password = XXXXX
```
### What weboob version are you using?
Output of `weboob-config --version` command:
```
weboob-config v2.1 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `weboob-config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module ing |
+-----------------.------------------------------------------------------------'
| Version | 202011212314
| Maintainer | Florent Fourcot <weboob@flo.fourcot.fr>
| License | LGPLv3+
| Description | ING France
| Capabilities | CapDocument, CapProfile, CapBankTransferAddRecipient, CapBankTransfer, CapBankWealth, CapBank, CapCollection, CapTransfer
| Installed | yes
| Location | d:/Dropbox/Projets/boomoney/modules/ing
| |
| Configuration | login: Numéro client (default: )
| | password: Code secret (default: )
| | birthday: Date de naissance
'-----------------'
```
### How did you install weboob?
Windows manual installation with git clone
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/442[boobank][creditcooperatif] Connection failure wrong password2020-12-04T10:36:21ZWoob Import[boobank][creditcooperatif] Connection failure wrong passwordThe same issue as reported for caisseepargne here #427 is now happening since today on credit cooperatif as well...The same issue as reported for caisseepargne here #427 is now happening since today on credit cooperatif as well...https://gitlab.com/woob/woob/-/issues/441[boobank][ing] boobank ls doesn't return the right account number2023-04-08T15:54:45ZWoob Import[boobank][ing] boobank ls doesn't return the right account numberVersion of boobank used: boobank v2.0 Copyright(C) 2010-2020 Romain Bignon, Christophe Benz
Scenario:
* Enable a ing backend
* Login on ING web site to avoid issue with double authentication
* Launch "boobank ls"
Result:
The output will...Version of boobank used: boobank v2.0 Copyright(C) 2010-2020 Romain Bignon, Christophe Benz
Scenario:
* Enable a ing backend
* Login on ING web site to avoid issue with double authentication
* Launch "boobank ls"
Result:
The output will be something like this:
```
Account Balance Coming
---------------------------------------------------------+----------+----------
5bq64epBPWrndBEEN1FeqQ@ing Livret A 50.00
9WE7s7tmXcauyO1IYyWhCw@ing Livret Epargne Orange 50.00
_LA9wMUXwz8ZbHWqmEWZqQ@ing Livret Epargne Orange 50.00
---------------------------------------------------------+----------+----------
```
5bq64epBPWrndBEEN1FeqQ is NOT the real account number.
Expected result:
Like for all other backend, the ID must be based on account numberhttps://gitlab.com/woob/woob/-/issues/440[boobank][bnporc] Exceeded 30 redirects2020-11-02T17:30:14ZWoob Import[boobank][bnporc] Exceeded 30 redirectsHello,
Since this morning when i want to consult History I have this message :
Bug(bnporc): Exceeded 30 redirects.
note : it seems that is only to extract history in csv or json file.Hello,
Since this morning when i want to consult History I have this message :
Bug(bnporc): Exceeded 30 redirects.
note : it seems that is only to extract history in csv or json file.https://gitlab.com/woob/woob/-/issues/439[boobank] Unable to load formatter "table": No module named 'prettytable' Fal...2023-02-21T12:23:22ZWoob Import[boobank] Unable to load formatter "table": No module named 'prettytable' Falling back to "multiline".
### With which module do you encounter problems?
boobank
### Describe the problem you encounter
Got an error message
### Paste here the stacktrace or error message you observe
~ $ boobank
Unable to load formatter "table": No module...
### With which module do you encounter problems?
boobank
### Describe the problem you encounter
Got an error message
### Paste here the stacktrace or error message you observe
~ $ boobank
Unable to load formatter "table": No module named 'prettytable'
Falling back to "multiline".
Welcome to boobank v2.0
...
### What are the steps to reproduce the problem?
### What weboob version are you using?
2.0
Output of `weboob-config --version` command:
weboob-config v2.0 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
### What module version are you using?
Output of `weboob-config info MODULE_NAME` command:
weboob-config info bp
.------------------------------------------------------------------------------.
| Module bp |
+-----------------.------------------------------------------------------------'
| Version | 202010111104
| Maintainer | Nicolas Duhamel <nicolas@jombi.fr>
| License | LGPLv3+
| Description | La Banque Postale
| Capabilities | CapBankWealth, CapContact, CapCollection, CapDocument, CapBank, CapBankTransfer, CapProfile, CapBankTransferAddRecipient
| Installed | yes
| Location | http://updates.weboob.org/2.0/main/bp.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | website: Type de compte (default: par)
| | request_information: None
| | code: None
| | resume: None
'-----------------'
weboob-config info ing
.------------------------------------------------------------------------------.
| Module ing |
+-----------------.------------------------------------------------------------'
| Version | 202010111104
| Maintainer | Florent Fourcot <weboob@flo.fourcot.fr>
| License | LGPLv3+
| Description | ING France
| Capabilities | CapBankWealth, CapCollection, CapDocument, CapBank, CapBankTransfer, CapProfile, CapBankTransferAddRecipient
| Installed | yes
| Location | http://updates.weboob.org/2.0/main/ing.tar.gz
| |
| Configuration | login: Numéro client (default: )
| | password: Code secret (default: )
| | birthday: Date de naissance
'-----------------'
### How did you install weboob?
pip3 install --user weboob
pip3 install pdfminer.six
### Additional info you'd like to mention
Boobank write bad account number for ing bank with strange characters
```
boobank ls -q -f csv -s id,label,balance
id;label;balance
xxxxxxxxxx@bp;LIVRET A;yyyy.yy
8B4TPfxxxxxxx@ing;Livret Développement Durable et Solidaire;yyyy.yy
b_Gkmsdxxxxxxxxxxxx@ing;Compte Courant;yyy.yy
```
But others informations and banking operations seem to be ok.https://gitlab.com/woob/woob/-/issues/438[creditmutuel] expected string or bytes-like object2020-11-17T14:57:18ZWoob Import[creditmutuel] expected string or bytes-like objectI can't use boobank in interactive
<pre>
17:00:18 [root@xxxxxxx-srv .bin]# ./boobank -v list --auto-update
Account Balance Coming
-------------------------------------------------...I can't use boobank in interactive
<pre>
17:00:18 [root@xxxxxxx-srv .bin]# ./boobank -v list --auto-update
Account Balance Coming
---------------------------------------------------------+----------+----------
2020-10-22 17:09:18,826:INFO:backend.creditmutuel.browser:2.1:browsers.py:1055:_load_cookies Reloaded cookies from storage
2020-10-22 17:09:20,086:INFO:backend.creditmutuel.browser:2.1:browser.py:361:check_redirections Checking redirections
2020-10-22 17:09:32,424:WARNING:backend.creditmutuel.browser.porpage.item:2.1:elements.py:387:handle_attr Attribute _link_id (in /root/.local/share/weboob/modules/2.1/creditmutuel/pages.py:1603) raises TypeError('expected string or bytes-like object')
Bug(creditmutuel): expected string or bytes-like object
=== [ 0%] Getting https://updates.weboob.org/2.1/main/
Use --debug option to print backtraces
---------------------------------------------------------+----------+----------
2020-10-22 17:09:32,970:INFO:backend.creditmutuel.browser:2.1:browsers.py:1094:dump_state Stored cookies into storage
</pre>
But with a prompt a have the samed error only one twice
<pre>
17:09:33 [root@xxxxxxxx-srv .bin]# ./boobank
Welcome to boobank v2.1
Copyright(C) 2010-2020 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: creditmutuel
boobank> ls
Account Balance Coming
------------------------------------------+----------+----------
2020-10-22 17:09:52,521:WARNING:backend.creditmutuel.browser.porpage.item:2.1:elements.py:387:handle_attr Attribute _link_id (in /root/.local/share/weboob/modules/2.1/creditmutuel/pages.py:1603) raises TypeError('expected string or bytes-like object')
Bug(creditmutuel): expected string or bytes-like object
(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.
------------------------------------------+----------+----------
boobank> ls
Account Balance Coming
------------------------------------------+----------+----------
#1 (creditmutuel) Utilisation Auto Utilisat xxxxx.60
#2 (creditmutuel) Utilisation Projets Utili xxxxx.95
#3 (creditmutuel) Utilisation Projets Utili xxxxx.32
#4 (creditmutuel) Utilisation Projets Utili xxxxx.01
#5 (creditmutuel) Utilisation Projets Utili xxxxx.00
#6 (creditmutuel) C/C Eurocompte Serenite / xxxxx.81
#7 (creditmutuel) Livret De Developpement D xxxxx.00
#8 (creditmutuel) Livret De Developpement D xxxxx.00
#9 (creditmutuel) Livret Bleu / Epargne xxxxx.00
#10 (creditmutuel) Livret Bleu / Vacances xxxxx.00
#11 (creditmutuel) Etalis -xxxxx.54
#12 (creditmutuel) Pret Modulimmo -xxxxx.39
#13 (creditmutuel) Livret Bleu / xxxxxx xxxxx.00
#14 (creditmutuel) Livret Bleu / xxxxxx xxxxx.00
#15 (creditmutuel) Compte De Liquidite Pea M xxxxx.00
#16 (creditmutuel) xxxxx.00
#17 (creditmutuel) Compte De Liquidite Pea M xxxxx.00
#18 (creditmutuel) xxxxx.00
------------------------------------------+----------+----------
Total (EUR) -175.61 0.00
</pre>
Thank in advancedhttps://gitlab.com/woob/woob/-/issues/437[cragr] Bug with bank loan2022-03-10T13:17:53ZWoob Import[cragr] Bug with bank loan### With which module do you encounter problems?
Cragr
### Describe the problem you encounter
I made recently a loan from my bank. It created an account named "Prêt à consommer", and some operations of my main account are registered in ...### With which module do you encounter problems?
Cragr
### Describe the problem you encounter
I made recently a loan from my bank. It created an account named "Prêt à consommer", and some operations of my main account are registered in this account. Others are duplicated in the two accounts. Some are correctly assigned on my main account.
### Paste here the stacktrace or error message you observe
There is no error.
### What are the steps to reproduce the problem?
Take a loan from Crédit Agricole and try using the plugin (not very practical…).
### What weboob version are you using?
Output of `weboob-config --version` command:
weboob-config v2.0 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
### What module version are you using?
Output of `weboob-config info MODULE_NAME` command:
I’m using Kresus, modules are in `~/.kresus/weboob-data/modules/2.0/cragr/` how can I get modules version from this?
### How did you install weboob?
With `pacman` on Arch Linux as a Kresus dependency.
Thanks.https://gitlab.com/woob/woob/-/issues/436[boobank][Boursorama] ERROR:weboob:2.1 Cannot import name 'MarketOrderPayment...2023-04-08T15:54:46ZWoob Import[boobank][Boursorama] ERROR:weboob:2.1 Cannot import name 'MarketOrderPayment' from 'weboob.Hi
I recently updated weboob and boursorama module. I get now this new error :
2020-10-05 10:21:11,760:ERROR:weboob:2.1:ouiboube.py:482:load_backends Unable to load module "boursorama": cannot import name 'MarketOrderPayment' from 'webo...Hi
I recently updated weboob and boursorama module. I get now this new error :
2020-10-05 10:21:11,760:ERROR:weboob:2.1:ouiboube.py:482:load_backends Unable to load module "boursorama": cannot import name 'MarketOrderPayment' from 'weboob.capabilities.wealth' (/.../.local/venvs/weboob/lib/python3.8/site-packages/weboob/capabilities/wealth.py)
Can it be fixed manually or do we need a new module version ?https://gitlab.com/woob/woob/-/issues/435[bp] TypeError: expected string or bytes-like object2023-04-08T15:54:46ZWoob Import[bp] TypeError: expected string or bytes-like object### With which module do you encounter problems?
bp
### Describe the problem you encounter
I can't seem to get even a list of accounts.
### Paste here the stacktrace or error message you observe
```
2020-10-01 21:14:57,164:WARNING:b...### With which module do you encounter problems?
bp
### Describe the problem you encounter
I can't seem to get even a list of accounts.
### Paste here the stacktrace or error message you observe
```
2020-10-01 21:14:57,164:WARNING:backend.bp.browser.accountlist.item_account:2.0:elements.py:384:handle_attr Attribute iban (in /home/blagandzig/.local/share/weboob/modules/2.0/bp/pages/accountlist.py:246) raises TypeError('expected string or bytes-like object')
2020-10-01 21:14:57,164:DEBUG:bcall:2.0:bcall.py:98:backend_process <Backend 'bp'>: Called function iter_resources raised an error: TypeError('expected string or bytes-like object')
Bug(bp): expected string or bytes-like object
(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/blagandzig/.local/venvs/weboob/lib/python3.7/site-packages/weboob/core/bcall.py", line 96, in backend_process
result = getattr(backend, function)(*args, **kwargs)
File "/home/blagandzig/.local/share/weboob/modules/2.0/bp/module.py", line 181, in iter_resources
return self.iter_accounts()
File "/home/blagandzig/.local/share/weboob/modules/2.0/bp/module.py", line 78, in iter_accounts
return self.browser.get_accounts_list()
File "/home/blagandzig/.local/venvs/weboob/lib/python3.7/site-packages/weboob/browser/browsers.py", line 824, in inner
return func(browser, *args, **kwargs)
File "/home/blagandzig/.local/share/weboob/modules/2.0/bp/browser.py", line 555, in get_accounts_list
for account in self.page.iter_accounts(name=owner_name):
File "/home/blagandzig/.local/venvs/weboob/lib/python3.7/site-packages/weboob/browser/elements.py", line 218, in __iter__
for obj in item:
File "/home/blagandzig/.local/venvs/weboob/lib/python3.7/site-packages/weboob/browser/elements.py", line 360, in __iter__
self.handle_attr(attr, getattr(self, 'obj_%s' % attr))
File "/home/blagandzig/.local/venvs/weboob/lib/python3.7/site-packages/weboob/browser/elements.py", line 377, in handle_attr
value = self.use_selector(func, key=key)
File "/home/blagandzig/.local/venvs/weboob/lib/python3.7/site-packages/weboob/browser/elements.py", line 133, in use_selector
value = func()
File "/home/blagandzig/.local/share/weboob/modules/2.0/bp/pages/accountlist.py", line 163, in obj_iban
return response.page.get_iban()
File "/home/blagandzig/.local/share/weboob/modules/2.0/bp/pages/accountlist.py", line 497, in get_iban
m = re.search(self.iban_regexp, extract_text(self.data))
File "/home/blagandzig/.local/venvs/weboob/lib/python3.7/re.py", line 183, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object
---------------------------------------------------------+----------+----------
2020-10-01 21:14:57,241:INFO:backend.bp.browser:2.0:browsers.py:909:dump_state Stored cookies into storage
2020-10-01 21:14:57,271:DEBUG:weboob.config:2.0:yamlconfig.py:90:save Configuration file saved: /home/blagandzig/.config/weboob/boobank.storage.
```
### What are the steps to reproduce the problem?
```
p="$HOME/.local/venvs"
python3 /usr/bin/virtualenv --python=python3 "$p/weboob"
. "$p/weboob/bin/activate"
python3 $p/weboob/bin/pip -vv install git+https://git.weboob.org/weboob/devel.git@stable
python3 $p/weboob/bin/pip -vv install pdfminer.six
weboob-config update
boobank --debug -b bp list
```
### What weboob version are you using?
devel.git@stable apparently.
Output of `weboob-config --version` command:
```
weboob-config v2.0 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
### What module version are you using?
Output of `weboob-config info MODULE_NAME` command:
weboob-config info bp
.------------------------------------------------------------------------------.
| Module bp |
+-----------------.------------------------------------------------------------'
| Version | 202009242300
| Maintainer | Nicolas Duhamel <nicolas@jombi.fr>
| License | LGPLv3+
| Description | La Banque Postale
| Capabilities | CapContact, CapCollection, CapBankTransferAddRecipient, CapDocument, CapBankWealth, CapBank, CapProfile, CapBankTransfer
| Installed | yes
| Location | https://updates.weboob.org/2.0/main/bp.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | website: Type de compte (default: par)
| | request_information: None
| | code: None
| | resume: None
'-----------------'
```
### How did you install weboob?
See above.
### Additional info you'd like to mention
I'm willing to help debugging :-)https://gitlab.com/woob/woob/-/issues/434[bnpcards] on boobank not working2023-04-08T15:54:45ZWoob Import[bnpcards] on boobank not workingHi,
I want to use module bnpcards for my 'Carte Corporate' (previously 'Carte Entreprise').
But this module no longer works, it try to connect to old website https://www.cartesentreprise.bnpparibas.com and this fails as now correct site...Hi,
I want to use module bnpcards for my 'Carte Corporate' (previously 'Carte Entreprise').
But this module no longer works, it try to connect to old website https://www.cartesentreprise.bnpparibas.com and this fails as now correct site is https://connect.corporatecards.bnpparibas (or https://cartesentreprise-oidc.phenix.bnpparibas).
Can this module be updated?
Thankshttps://gitlab.com/woob/woob/-/issues/433[boobank][Boursorama]AttributeError: 'NoneType' object has no attribute 'ente...2023-04-08T15:54:38ZWoob Import[boobank][Boursorama]AttributeError: 'NoneType' object has no attribute 'enter_password'Hello all,
I got this error with version 2.1. Do anyone have same ?
Thank you.
```
jpm@SweetHome:~$ boobank --debug -b boursorama ls
Unable to load formatter "table": No module named 'prettytable'
Falling back to "multiline".
2020-09-...Hello all,
I got this error with version 2.1. Do anyone have same ?
Thank you.
```
jpm@SweetHome:~$ boobank --debug -b boursorama ls
Unable to load formatter "table": No module named 'prettytable'
Falling back to "multiline".
2020-09-30 11:50:37,152:DEBUG:weboob.config:2.1:yamlconfig.py:69:load Loading configuration file: /home/jpm/.config/weboob/boobank.storage.
2020-09-30 11:50:37,156:DEBUG:weboob.config:2.1:yamlconfig.py:73:load Configuration file loaded: /home/jpm/.config/weboob/boobank.storage.
2020-09-30 11:50:37,269:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "boursorama" from /home/jpm/.local/share/weboob/modules/2.1/boursorama
2020-09-30 11:50:37,562:DEBUG:backend:2.1:modules.py:97:create_instance Created backend "boursorama" for module "boursorama"
2020-09-30 11:50:37,564:DEBUG:weboob.config:2.1:iniconfig.py:53:load Loading application configuration file: /home/jpm/.config/weboob/boobank.
2020-09-30 11:50:37,564:DEBUG:weboob.config:2.1:iniconfig.py:73:load Application configuration file loaded: /home/jpm/.config/weboob/boobank.
Account Balance Coming
---------------------------------------------------------+----------+----------
2020-09-30 11:50:37,575:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'boursorama'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb405d70828>>
2020-09-30 11:50:37,577:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-30 11:50:37,577:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-30 11:50:37,580:INFO:backend.boursorama.browser:2.1:browsers.py:1038:_load_cookies Reloaded cookies from storage
2020-09-30 11:50:37,584:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): clients.boursorama.com
2020-09-30 11:50:37,982:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://clients.boursorama.com:443 "GET /connexion/saisie-mot-de-passe/ HTTP/1.1" 301 None
2020-09-30 11:50:38,236:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://clients.boursorama.com:443 "GET /connexion/saisie-mot-de-passe HTTP/1.1" 200 None
**2020-09-30 11:50:38,381:DEBUG:backend.boursorama.browser:2.1:browsers.py:876:internal_callback Unable to handle https://clients.boursorama.com/connexion/saisie-mot-de-passe**
2020-09-30 11:50:38,382:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'boursorama'>: Called function <bound method **Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb405d70828>> raised an error: AttributeError("'NoneType' object has no attribute 'enter_password'",)
Bug(boursorama): 'NoneType' object has no attribute 'enter_password'**
(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/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/tools/application/base.py", line 318, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/capabilities/bank.py", line 785, in iter_resources
return self.iter_accounts()
File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/module.py", line 61, in iter_accounts
return self.browser.get_accounts_list()
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/browsers.py", line 963, in inner
browser.do_login()
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 45, in wrapper
return func(browser, *args, **kwargs)
File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/browser.py", line 268, in do_login
return super(BoursoramaBrowser, self).do_login()
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/browsers.py", line 1443, in do_double_authentication
self.init_login()
** File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/browser.py", line 241, in init_login
self.page.enter_password(self.username, self.password)
AttributeError: 'NoneType' object has no attribute 'enter_password'**
---------------------------------------------------------+----------+----------
2020-09-30 11:50:38,482:INFO:backend.boursorama.browser:2.1:browsers.py:1077:dump_state Stored cookies into storage
2020-09-30 11:50:38,486:DEBUG:weboob.config:2.1:yamlconfig.py:90:save Configuration file saved: /home/jpm/.config/weboob/boobank.storage.
```https://gitlab.com/woob/woob/-/issues/432[boobank][cic] The loaded url hasn't been matched by an URL object2020-10-11T12:32:48ZWoob Import[boobank][cic] The loaded url hasn't been matched by an URL objectHello,
since 23th september. I have this error :
2020-09-28
```
13:22:38,192:WARNING:backend.cic.browser.newaccountspage.item_revolving_loan:2.1:elements.py:384:handle_attr Attribute total_amount (in /home/jdoe/.local/share/weboob/mo...Hello,
since 23th september. I have this error :
2020-09-28
```
13:22:38,192:WARNING:backend.cic.browser.newaccountspage.item_revolving_loan:2.1:elements.py:384:handle_attr Attribute total_amount (in /home/jdoe/.local/share/weboob/modules/2.1/creditmutuel/pages.py:611) raises AssertionError("The loaded url https://www.cic.fr/fr/banque/arrivee.asp?fam=CR&webid==****************************************************************&rib=*********************EUR hasn't been matched by an URL object",)
Bug(cic): The loaded url https://www.cic.fr/fr/banque/arrivee.asp?fam=CR&webid=****************************************************************&rib*********************EUR hasn't been matched by an URL object
```
I've installed weboob with pipsi.
I tested also on another machine and I've the same issue
weboob ver: 2.1
module cic ver: 202006032233
module creditmutuel ver: 202009242300
Otherwise, my account on this git was deleted and I had to recreate a new one... very strange
My old messages and issues appear with the user "Ghost User @ghost"https://gitlab.com/woob/woob/-/issues/431{boobank] Bug(boursorama): the JSON object must be str, not 'bytes'2020-09-26T18:08:17ZWoob Import{boobank] Bug(boursorama): the JSON object must be str, not 'bytes'Since few days, Boursorama module (last devel version) fails with bug: the JSON object must be str, not 'bytes'
Full debug message below:
```
boobank> list
Account Balance Coming
----------------...Since few days, Boursorama module (last devel version) fails with bug: the JSON object must be str, not 'bytes'
Full debug message below:
```
boobank> list
Account Balance Coming
------------------------------------------+----------+----------
2020-09-24 22:52:15,106:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'boursorama'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fcec7ad7b70>>
2020-09-24 22:52:15,119:DEBUG:requests.packages.urllib3.util.retry:2.1:retry.py:191:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2020-09-24 22:52:15,120:DEBUG:requests.packages.urllib3.util.retry:2.1:retry.py:191:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2020-09-24 22:52:15,127:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'boursorama'>: Called function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fcec7ad7b70>> raised an error: TypeError("the JSON object must be str, not 'bytes'",)
Bug(boursorama): the JSON object must be str, not 'bytes'
(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/weboob/.local/lib/python3.5/site-packages/weboob-2.1-py3.5.egg/weboob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/weboob/.local/lib/python3.5/site-packages/weboob-2.1-py3.5.egg/weboob/tools/application/base.py", line 318, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/weboob/.local/lib/python3.5/site-packages/weboob-2.1-py3.5.egg/weboob/capabilities/bank/base.py", line 365, in iter_resources
return self.iter_accounts()
File "/home/weboob/.local/share/weboob/modules/2.1/boursorama/module.py", line 61, in iter_accounts
return self.browser.get_accounts_list()
File "/home/weboob/.local/lib/python3.5/site-packages/weboob-2.1-py3.5.egg/weboob/tools/backend.py", line 343, in browser
self._browser = self.create_default_browser()
File "/home/weboob/.local/share/weboob/modules/2.1/boursorama/module.py", line 58, in create_default_browser
return self.create_browser(self.config)
File "/home/weboob/.local/lib/python3.5/site-packages/weboob-2.1-py3.5.egg/weboob/tools/backend.py", line 386, in create_browser
browser.load_state(self.storage.get('browser_state', default={}))
File "/home/weboob/.local/share/weboob/modules/2.1/boursorama/browser.py", line 218, in load_state
super(BoursoramaBrowser, self).load_state(state)
File "/home/weboob/.local/lib/python3.5/site-packages/weboob-2.1-py3.5.egg/weboob/browser/browsers.py", line 1062, in load_state
self._load_cookies(state['cookies'])
File "/home/weboob/.local/lib/python3.5/site-packages/weboob-2.1-py3.5.egg/weboob/browser/browsers.py", line 1044, in _load_cookies
jcookies = json.loads(uncompressed)
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
```
------------------------------------------+----------+----------
boobank>
Thanks if someone can help.https://gitlab.com/woob/woob/-/issues/430N26: Bad request on login2021-10-24T11:18:27ZWoob ImportN26: Bad request on loginHello,
I'm trying to list my account on n26, and get the following error:
```
boobank list --backends n26 --debug
```
```
2020-09-23 08:59:04,173:DEBUG:bcall:2.0:bcall.py:92:backend_process <Backend 'n26'>: Calling function iter_reso...Hello,
I'm trying to list my account on n26, and get the following error:
```
boobank list --backends n26 --debug
```
```
2020-09-23 08:59:04,173:DEBUG:bcall:2.0:bcall.py:92:backend_process <Backend 'n26'>: Calling function iter_resources
2020-09-23 08:59:04,178:DEBUG:urllib3.util.retry:2.0:retry.py:230:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-23 08:59:04,178:DEBUG:urllib3.util.retry:2.0:retry.py:230:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-23 08:59:04,180:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:939:_new_conn Starting new HTTPS connection (1): api.tech26.de:443
2020-09-23 08:59:04,345:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:433:_make_request https://api.tech26.de:443 "POST /oauth2/token HTTP/1.1" 400 303
2020-09-23 08:59:04,346:DEBUG:bcall:2.0:bcall.py:98:backend_process <Backend 'n26'>: Called function iter_resources raised an error: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
Bug(n26): Expecting value: line 1 column 1 (char 0)
(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/ro/.local/share/weboob/modules/2.0/n26/browser.py", line 141, in do_login
result = self.request('/oauth2/token', data=data)
File "/home/ro/.local/share/weboob/modules/2.0/n26/browser.py", line 61, in request
return self.open(*args, **kwargs).json()
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 630, in open
return super(DomainBrowser, self).open(req, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 374, in open
response = self.session.send(preq,
File "/usr/lib/python3.8/site-packages/weboob/browser/sessions.py", line 162, in send
return func(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/weboob/browser/sessions.py", line 155, in func
return callback(self, resp)
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 370, in inner_callback
self.raise_for_status(response)
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 410, in raise_for_status
raise cls(http_error_msg, response=response)
weboob.browser.exceptions.ClientError: 400 Client Error: Bad Request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/weboob/core/bcall.py", line 96, in backend_process
result = getattr(backend, function)(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/weboob/capabilities/bank.py", line 641, in iter_resources
return self.iter_accounts()
File "/home/ro/.local/share/weboob/modules/2.0/n26/module.py", line 61, in iter_accounts
return self.browser.get_accounts()
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 821, in inner
browser.do_login()
File "/home/ro/.local/share/weboob/modules/2.0/n26/browser.py", line 146, in do_login
json_response = ex.response.json()
File "/usr/lib/python3.8/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.8/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3.8/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```
By the way, there is another python project for interacting with n26 (https://github.com/femueller/python-n26/), maybe some development effort could be coordinated between the two ?
Thank you !https://gitlab.com/woob/woob/-/issues/429[boobank][ing] Erreur interne de Servlet2020-09-21T04:51:49ZWoob Import[boobank][ing] Erreur interne de Servlet### With which module do you encounter problems?
ing
### Describe the problem you encounter
I got `Error(ing): 500 Server Error: Erreur Interne de Servlet` and can’t use boobank on my ing account.
### Paste here the stacktrace or err...### With which module do you encounter problems?
ing
### Describe the problem you encounter
I got `Error(ing): 500 Server Error: Erreur Interne de Servlet` and can’t use boobank on my ing account.
### Paste here the stacktrace or error message you observe
```
2020-09-19 05:42:02,642:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'ing'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f761a0bcf60>>
2020-09-19 05:42:02,687:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "GET /secure/api-v1/session/context HTTP/1.1" 204 0
2020-09-19 05:42:02,690:DEBUG:backend.ing.browser:2.1:browsers.py:888:internal_callback Unable to handle https://m.ing.fr/secure/api-v1/session/context
2020-09-19 05:42:03,883:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "POST /secure/api-v1/login/cif HTTP/1.1" 200 None
2020-09-19 05:42:03,885:DEBUG:backend.ing.browser:2.1:browsers.py:874:internal_callback Handle https://m.ing.fr/secure/api-v1/login/cif with LoginPage
2020-09-19 05:42:04,201:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "POST /secure/api-v1/login/keypad HTTP/1.1" 200 None
2020-09-19 05:42:04,203:DEBUG:backend.ing.browser:2.1:browsers.py:874:internal_callback Handle https://m.ing.fr/secure/api-v1/login/keypad with LoginPage
2020-09-19 05:42:04,249:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "GET /secure/api-v1/keypad/keypad.png?rand=1001333020 HTTP/1.1" 200 None
2020-09-19 05:42:04,287:DEBUG:backend.ing.browser:2.1:browsers.py:888:internal_callback Unable to handle https://m.ing.fr/secure/api-v1/keypad/keypad.png?rand=1001333020
2020-09-19 05:42:04,290:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:153:call STREAM b'IHDR' 16 13
2020-09-19 05:42:04,291:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:153:call STREAM b'PLTE' 41 15
2020-09-19 05:42:04,292:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:153:call STREAM b'IDAT' 68 16533
2020-09-19 05:42:04,478:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "POST /secure/api-v1/login/sca/pin HTTP/1.1" 200 None
2020-09-19 05:42:04,482:DEBUG:backend.ing.browser:2.1:browsers.py:874:internal_callback Handle https://m.ing.fr/secure/api-v1/login/sca/pin with LoginPage
2020-09-19 05:42:04,715:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "GET /secure/api-v1/accounts HTTP/1.1" 200 None
2020-09-19 05:42:04,717:DEBUG:backend.ing.browser:2.1:browsers.py:874:internal_callback Handle https://m.ing.fr/secure/api-v1/accounts with AccountsPage
2020-09-19 05:42:04,717:DEBUG:bcall:2.1:bcall.py:101:backend_process <Backend 'ing'>: Called function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f761a0bcf60>> returned: <generator object Application._do_complete_iter at 0x7f7615f3dcf0>
2020-09-19 05:42:04,905:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "GET /secure/api-v1/accounts/[REDACTED]/bankRecord HTTP/1.1" 200 None
2020-09-19 05:42:04,908:DEBUG:backend.ing.browser:2.1:browsers.py:874:internal_callback Handle https://m.ing.fr/secure/api-v1/accounts/[REDACTED]/bankRecord with AccountInfoPage
2020-09-19 05:42:05,082:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "GET /secure/api-v1/accounts/[REDACTED]/bankRecord HTTP/1.1" 200 None
2020-09-19 05:42:05,085:DEBUG:backend.ing.browser:2.1:browsers.py:874:internal_callback Handle https://m.ing.fr/secure/api-v1/accounts/[REDACTED]/bankRecord with AccountInfoPage
2020-09-19 05:42:05,267:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "GET /secure/api-v1/accounts/[REDACTED]/bankRecord HTTP/1.1" 200 None
2020-09-19 05:42:05,269:DEBUG:backend.ing.browser:2.1:browsers.py:874:internal_callback Handle https://m.ing.fr/secure/api-v1/accounts/[REDACTED]/bankRecord with AccountInfoPage
2020-09-19 05:42:05,440:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "GET /secure/api-v1/accounts/[REDACTED]/bankRecord HTTP/1.1" 200 None
2020-09-19 05:42:05,442:DEBUG:backend.ing.browser:2.1:browsers.py:874:internal_callback Handle https://m.ing.fr/secure/api-v1/accounts/[REDACTED]/bankRecord with AccountInfoPage
2020-09-19 05:42:05,443:INFO:backend.ing.browser:2.1:api_browser.py:242:redirect_to_old_browser Go on old website
2020-09-19 05:42:05,531:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://m.ing.fr:443 "POST /secure/api-v1/sso/exit?context=%7B%22originatingApplication%22:%22SECUREUI%22%7D&targetSystem=INTERNET HTTP/1.1" 200 None
2020-09-19 05:42:05,533:DEBUG:backend.ing.browser:2.1:browsers.py:888:internal_callback Unable to handle https://m.ing.fr/secure/api-v1/sso/exit?context=%7B%22originatingApplication%22:%22SECUREUI%22%7D&targetSystem=INTERNET
2020-09-19 05:42:05,534:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:271:_get_conn Resetting dropped connection: secure.ing.fr
2020-09-19 05:42:05,728:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://secure.ing.fr:443 "POST / HTTP/1.1" 500 1841
Error(ing): 500 Server Error: Erreur Interne de Servlet
```
### What are the steps to reproduce the problem?
Do `ls` on an ing backend.
### What weboob version are you using?
Output of `weboob-config --version` command:
```
weboob-config v2.1 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `weboob-config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module ing |
+-----------------.------------------------------------------------------------'
| Version | 202009092303
| Maintainer | Florent Fourcot <weboob@flo.fourcot.fr>
| License | LGPLv3+
| Description | ING France
| Capabilities | CapBankWealth, CapTransfer, CapProfile, CapBankTransfer, CapCollection, CapBank, CapDocument, CapBankTransferAddRecipient
| Installed | yes
| Location | https://updates.weboob.org/2.1/main/ing.tar.gz
| |
| Configuration | login: Numéro client (default: )
| | password: Code secret (default: )
| | birthday: Date de naissance
'-----------------'
```
### How did you install weboob?
```
pip3 install git+https://git.weboob.org/weboob/weboob.git@master
```
### Additional info you'd like to mention
I had to change the checksums of the virtual keyboard images in `api/transfer_page.py` to
```
symbols = {
'0': ('178b23cc890c258bd5594665f2df31c5', '9229a326c21320282f604c2e2d026c2b'),
'1': 'd4a68e94d6267de3fa0c426aba0b8dc6',
'2': '4a17f9e4088ef7d1a499a80bd7b56718',
'3': 'f7f6364000813aec31e3d2df0dde8194',
'4': '4f3161c7dacb0f8981dc8ad8321b7d22',
'5': '6210d53a580d26fdbbf1e5ba62dc5f3d',
'6': 'f748b7a25f12cc8b87deb22e33eff4a5',
'7': '04a0f83158133ab5eeb69163f08c918f',
'8': '859b2ad7dd70f429c761db4d625e3b57',
'9': 'f249afdd16cf98e441e71d7a9dae5359',
}
```
I’ll do a MR soon.