woob issueshttps://gitlab.com/woob/woob/-/issues2023-04-08T15:54:44Zhttps://gitlab.com/woob/woob/-/issues/423Problem faced with boobill on module creditmutuel which fails for 2FA even in...2023-04-08T15:54:44ZWoob ImportProblem faced with boobill on module creditmutuel which fails for 2FA even in interactive modeThis 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?
creditmutuel
### Describe the problem you encounter
It fails for 2FA when using boobill asking to run it in interactive mode even when it is in interactive mode!
### Paste here the stacktrace or error message you observe
boobill> download all
Error(creditmutuel): You have to run boobill in interactive mode to perform a two-factor authentication
### What are the steps to reproduce the problem?
1- setup a creditmutuel backend
2- run boobill
3- call a command (whichever)
### 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?
202008081434
Output of `weboob-config info MODULE_NAME` command:
```
> .------------------------------------------------------------------------------.
| Module creditmutuel |
+-----------------.------------------------------------------------------------'
| Version | 202008081434
| Maintainer | Julien Veyssier <julien.veyssier@aiur.fr>
| License | LGPLv3+
| Description | Crédit Mutuel
| Capabilities | CapContact, CapBankTransferAddRecipient, CapCollection, CapBank, CapBankTransfer, CapDocument, CapBankWealth, CapProfile
| Installed | yes
| Location | https://updates.weboob.org/2.0/main/creditmutuel.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | resume: None
| | request_information: None
| | code: None
'-----------------'
```
### How did you install weboob?
pipx (successor of pipsi)
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/424Best way to iterate transactions from multiple pages2020-10-31T11:44:57ZWoob ImportBest way to iterate transactions from multiple pagesI'm trying to implement a new CapWealth module for Trading 212 and currently doing the transactions. I'm getting a little bit stuck though.
Trading 212 has a short summary of all transaction history, then clicking on it goes into furthe...I'm trying to implement a new CapWealth module for Trading 212 and currently doing the transactions. I'm getting a little bit stuck though.
Trading 212 has a short summary of all transaction history, then clicking on it goes into further detail. The apis `/all`, then details paths are e.g. `/orders/<order-id>`, `/transactions/<transaction-id>`.
I have it currently implemented so that the `/all` endpoint is used to iterate over the transactions and orders etc, however, when I tried to retrieve the original currency, I realized it's only available in the details path API. What would be the best way to drill into these for each transaction that I am able to retrieve from the `/all` endpoint? Is there a reference implementation already that I can look at?https://gitlab.com/woob/woob/-/issues/425[bnporc] Unexpected UTF-8 BOM2020-09-16T09:43:39ZWoob Import[bnporc] Unexpected UTF-8 BOMThis 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?
bnporc
### Describe the problem you encounter
not working
### Paste here the stacktrace or error message you observe
DEBUG:bcall:2.0:bcall.py:98:backend_process <Backend 'bnporc'>: Called function iter_resources raised an error: JSONDecodeError('Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char0)')
### What are the steps to reproduce the problem?
list account
### What weboob version are you using?
Output of `weboob-config --version` command: v2
### What module version are you using?
Output of `weboob-config info MODULE_NAME` command: 202008081434
### How did you install weboob?
git
Example: apt, brew, distro packages, pip, setup.py
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/426[bnporc] Unexpected UTF-8 BOM (decode using utf-8-sig)2020-09-28T14:39:45ZWoob Import[bnporc] Unexpected UTF-8 BOM (decode using utf-8-sig)This Exception is raised when the password provided is wrong:
```
Unexpected UTF-8 BOM (decode using utf-8-sig)
Traceback (most recent call last):
File "/bankfetcher/server.py", line 618, in fetch
results['values'] = self.get_ope...This Exception is raised when the password provided is wrong:
```
Unexpected UTF-8 BOM (decode using utf-8-sig)
Traceback (most recent call last):
File "/bankfetcher/server.py", line 618, in fetch
results['values'] = self.get_operations()
File "/bankfetcher/server.py", line 520, in get_operations
for account in list(self.backend.iter_accounts()):
File "/config/weboob-data/modules/2.0/bnporc/module.py", line 109, in iter_accounts
return self.browser.iter_accounts()
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 821, in inner
browser.do_login()
File "/config/weboob-data/modules/2.0/bnporc/pp/browser.py", line 160, in do_login
self.page.login(self.username, self.password)
File "/config/weboob-data/modules/2.0/bnporc/pp/pages.py", line 277, in login
response = self.browser.location(target, data={'AUTH': auth, 'CSRF': csrf})
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 759, in location
self.page.on_load()
File "/config/weboob-data/modules/2.0/bnporc/pp/pages.py", line 234, in on_load
error_page = self.browser.list_error_page.open()
File "/usr/lib/python3.8/site-packages/weboob/browser/url.py", line 113, in open
r = self.browser.open(self.build(**kwargs), params=params, data=data, method=method, headers=headers or {}, is_async=is_async, callback=callback)
File "/usr/lib/python3.8/site-packages/weboob/tools/decorators.py", line 38, in f_retry
return f(*args, **kwargs)
File "/config/weboob-data/modules/2.0/bnporc/pp/browser.py", line 152, in open
return super(BNPParibasBrowser, self).open(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 738, in open
return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
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 371, in inner_callback
return callback(response)
File "/usr/lib/python3.8/site-packages/weboob/browser/browsers.py", line 718, in internal_callback
response.page = url.handle(response)
File "/usr/lib/python3.8/site-packages/weboob/browser/url.py", line 184, in handle
page = self.klass(self.browser, response, m.groupdict())
File "/usr/lib/python3.8/site-packages/weboob/browser/pages.py", line 157, in __init__
self.doc = self.build_doc(self.data)
File "/usr/lib/python3.8/site-packages/weboob/browser/pages.py", line 476, in build_doc
return json.loads(text)
File "/usr/lib/python3.8/json/__init__.py", line 337, in loads
raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
```
The issue is gone by changing weboob/browser/pages.py line 458
By removing the ENCODING definition (thus falling back to None)
I tried to set utf-8-sig instead, but had this other error: unknown encoding: 'b'utf-8-sig''https://gitlab.com/woob/woob/-/issues/427[caisseepargne] Connection failure wrong password2020-12-04T10:40:29ZWoob Import[caisseepargne] Connection failure wrong passwordHi there,
Since 11th of September, it is not possible to connect to Caisse d'Epargne anymore.
Weboob raises a BrowserIncorrectPassword() exception with error code FAILED_AUTHENTICATION.
I am using PASSWORD authentication (with Virutal ...Hi there,
Since 11th of September, it is not possible to connect to Caisse d'Epargne anymore.
Weboob raises a BrowserIncorrectPassword() exception with error code FAILED_AUTHENTICATION.
I am using PASSWORD authentication (with Virutal Keyboard) and I face the same issue with all credentials from various pro accounts (though I have checked and are all still working through web interface).
I have instrumented the code to know from where the error was raised, and I found out that it starts through do_authentication_validation(), calls do_vk_authentication() and then raises the exception when Checking errors with self.page.check_errors(feature=feature) from do_authentication_validation().
It seems that encoding the password with virtual keyboard fails in some way. I have checked that all keys checksum are still correct, but am not sure where to look then...
If anyone can help ?
Thanks !
Debug logs below :
```
2020-09-16 13:50:27,857:DEBUG:weboob.config:2.1:yamlconfig.py:69:load Loading configuration file: /root/weboob/localconfig/boobank.storage.
2020-09-16 13:50:27,858:DEBUG:weboob.config:2.1:yamlconfig.py:73:load Configuration file loaded: /root/weboob/localconfig/boobank.storage.
2020-09-16 13:50:27,956:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "caissedepargne" from /root/weboob/modules/caissedepargne
2020-09-16 13:50:27,957:DEBUG:backend:2.1:modules.py:97:create_instance Created backend "caissedepargne" for module "caissedepargne"
2020-09-16 13:50:27,957:DEBUG:weboob.config:2.1:iniconfig.py:53:load Loading application configuration file: /root/weboob/localconfig/boobank.
2020-09-16 13:50:27,957:DEBUG:weboob.config:2.1:iniconfig.py:73:load Application configuration file loaded: /root/weboob/localconfig/boobank.
2020-09-16 13:50:27,965:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'caissedepargne'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb3c1be7ef0>>
2020-09-16 13:50:27,966: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-16 13:50:27,966: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-16 13:50:27,976:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "linebourse" from /root/weboob/modules/linebourse
2020-09-16 13:50:27,976: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-16 13:50:27,976: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-16 13:50:27,977:INFO:backend.caissedepargne.browser:2.1:switch.py:81:set_browser using 'main' browser
2020-09-16 13:50:27,978:INFO:backend.caissedepargne.browser:2.1:browser.py:335:load_state State expired, not reloading it from storage
2020-09-16 13:50:27,981:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): www.caisse-epargne.fr
2020-09-16 13:50:28,399:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.caisse-epargne.fr:443 "GET /authentification/manage?step=identification&identifiant=0013613517 HTTP/1.1" 200 367
2020-09-16 13:50:28,401:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.caisse-epargne.fr/authentification/manage?step=identification&identifiant=0013613517 with LoginPage
2020-09-16 13:50:28,463:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.caisse-epargne.fr:443 "POST /se-connecter/sso?cdetab=13135&login_hint=xxxxxxxxxx&type_srv=pro&service=bad&continue=https%3A%2F%2Fwww.netpro313.caisse-epargne.fr%2Floginbel.aspx&snid=xxxx&cancel_uri=https%3A%2F%2Fwww.caisse-epargne.fr%2Fparticuliers%23pauth&csid=xxxx&continue_parameters=%7B%22ctx%22%3A%22typsrv%3DWP%26sc%3D2%26base_url%3Dhttps%3A%5C%2F%5C%2Fwww.netpro313.caisse-epargne.fr%5C%2F%22%2C%22ctx_routage%22%3A%22%22%2C%22redirectUrl%22%3A%22%22%7D HTTP/1.1" 200 509
2020-09-16 13:50:28,466:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.caisse-epargne.fr/se-connecter/sso?cdetab=13135&login_hint=xxxxxxxxxx&type_srv=pro&service=bad&continue=https%3A%2F%2Fwww.netpro313.caisse-epargne.fr%2Floginbel.aspx&snid=xxx&cancel_uri=https%3A%2F%2Fwww.caisse-epargne.fr%2Fparticuliers%23pauth&csid=xxxx&continue_parameters=%7B%22ctx%22%3A%22typsrv%3DWP%26sc%3D2%26base_url%3Dhttps%3A%5C%2F%5C%2Fwww.netpro313.caisse-epargne.fr%5C%2F%22%2C%22ctx_routage%22%3A%22%22%2C%22redirectUrl%22%3A%22%22%7D with NewLoginPage
2020-09-16 13:50:28,512:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.caisse-epargne.fr:443 "GET /se-connecter/main-es2015.53249a1906cbde2d5758.js HTTP/1.1" 200 None
2020-09-16 13:50:29,972:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.caisse-epargne.fr/se-connecter/main-es2015.53249a1906cbde2d5758.js with JsFilePage
2020-09-16 13:50:30,054:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): www.as-ex-ath-groupe.caisse-epargne.fr
2020-09-16 13:50:30,254:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.as-ex-ath-groupe.caisse-epargne.fr:443 "GET /api/oauth/v2/authorize?nonce=xxx&scope=openid+readUser&response_type=id_token+token&response_mode=form_post&cdetab=13135&login_hint=xxxxxxxxxx+xxxx&display=page&client_id=xxxx&claims=xxxx HTTP/1.1" 200 None
2020-09-16 13:50:30,282:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.as-ex-ath-groupe.caisse-epargne.fr/api/oauth/v2/authorize?nonce=xxx&scope=openid+readUser&response_type=id_token+token&response_mode=form_post&cdetab=13135&login_hint=xxxxxxxxxx+xxxx&display=page&client_id=xxxx&claims=xxxx with AuthorizePage
2020-09-16 13:50:30,285:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): www.icgauth.caisse-epargne.fr
2020-09-16 13:50:30,509:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "POST /dacswebssoissuer/AuthnRequestServlet HTTP/1.1" 303 0
2020-09-16 13:50:30,597:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacsrest/api/v1u0/transaction/CtxDACSP5344bbb22xxxxxxxxxxxff27f75315622xx HTTP/1.1" 200 None
2020-09-16 13:50:30,601:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.icgauth.caisse-epargne.fr/dacsrest/api/v1u0/transaction/CtxDACSP5344bbb22xxxxxxxxxxxff27f75315622xx with AuthenticationMethodPage
2020-09-16 13:50:30,604:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:243:_get_conn Resetting dropped connection: www.icgauth.caisse-epargne.fr
2020-09-16 13:50:30,744:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/mappings/70255d4c-e988-47b8-a65f-e3873d5d6e9a/images HTTP/1.1" 200 1371
2020-09-16 13:50:30,746:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/mappings/70255d4c-e988-47b8-a65f-e3873d5d6e9a/images with VkImagePage
2020-09-16 13:50:30,788:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img2eed2881-b401-455b-89fb-3c363723a846 HTTP/1.1" 200 1287
2020-09-16 13:50:30,798:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img2eed2881-b401-455b-89fb-3c363723a846
2020-09-16 13:50:30,806:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,806:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 856
2020-09-16 13:50:30,843:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img11e54ab7-8be9-43e7-bf73-b185ef4fd788 HTTP/1.1" 200 1287
2020-09-16 13:50:30,845:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img11e54ab7-8be9-43e7-bf73-b185ef4fd788
2020-09-16 13:50:30,845:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,845:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 829
2020-09-16 13:50:30,884:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img56474f2b-1513-46be-bd4c-4e7f8b454b1c HTTP/1.1" 200 1287
2020-09-16 13:50:30,885:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img56474f2b-1513-46be-bd4c-4e7f8b454b1c
2020-09-16 13:50:30,885:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,885:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1057
2020-09-16 13:50:30,923:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgef07f6d2-f3fa-453a-aace-fc800a14ef11 HTTP/1.1" 200 1287
2020-09-16 13:50:30,924:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imgef07f6d2-f3fa-453a-aace-fc800a14ef11
2020-09-16 13:50:30,924:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,925:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1141
2020-09-16 13:50:30,963:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imge7552e29-0aa8-4f6d-b4f4-442b75ebba26 HTTP/1.1" 200 1287
2020-09-16 13:50:30,964:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imge7552e29-0aa8-4f6d-b4f4-442b75ebba26
2020-09-16 13:50:30,964:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,964:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1128
2020-09-16 13:50:31,003:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img7571f97e-99cf-4b89-9db7-54118891e726 HTTP/1.1" 200 1287
2020-09-16 13:50:31,004:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img7571f97e-99cf-4b89-9db7-54118891e726
2020-09-16 13:50:31,005:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,005:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1117
2020-09-16 13:50:31,042:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imga2cd5c8d-fea1-4de9-be91-80b1212bfb76 HTTP/1.1" 200 1287
2020-09-16 13:50:31,044:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imga2cd5c8d-fea1-4de9-be91-80b1212bfb76
2020-09-16 13:50:31,044:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,044:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 905
2020-09-16 13:50:31,082:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgde7d4b70-25f7-4de2-9625-8a8f7705adfb HTTP/1.1" 200 1287
2020-09-16 13:50:31,083:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imgde7d4b70-25f7-4de2-9625-8a8f7705adfb
2020-09-16 13:50:31,083:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,084:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1230
2020-09-16 13:50:31,121:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgde4d07a0-d35a-48e7-9369-63f22688d865 HTTP/1.1" 200 1287
2020-09-16 13:50:31,123:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imgde4d07a0-d35a-48e7-9369-63f22688d865
2020-09-16 13:50:31,123:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,123:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 969
2020-09-16 13:50:31,161:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img1dfdb59b-f3f7-4f75-ba67-cdab074efd3a HTTP/1.1" 200 1287
2020-09-16 13:50:31,163:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img1dfdb59b-f3f7-4f75-ba67-cdab074efd3a
2020-09-16 13:50:31,163:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,163:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 611
2020-09-16 13:50:31,257:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "POST /dacsrest/api/v1u0/transaction/CtxDACSP5344bbb22xxxxxxxxxxxff27f75315622xx/step HTTP/1.1" 200 None
2020-09-16 13:50:31,258:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.icgauth.caisse-epargne.fr/dacsrest/api/v1u0/transaction/CtxDACSP5344bbb22xxxxxxxxxxxff27f75315622xx/step with AuthenticationStepPage
2020-09-16 13:50:31,259:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'caissedepargne'>: Called function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb3c1be7ef0>> raised an error: BrowserIncorrectPassword()
```https://gitlab.com/woob/woob/-/issues/428[boobank][banquepopulaire] Always fails with "invalid login/password"2020-10-05T09:26:24ZWoob Import[boobank][banquepopulaire] Always fails with "invalid login/password"### With which module do you encounter problems?
banquepopulaire with `www.ibps.bpalc.banquepopulaire.fr` address.
### Describe the problem you encounter
It fails with `invalid login/password`.
### Paste here the stacktrace or error ...### With which module do you encounter problems?
banquepopulaire with `www.ibps.bpalc.banquepopulaire.fr` address.
### Describe the problem you encounter
It fails with `invalid login/password`.
### Paste here the stacktrace or error message you observe
```
2020-09-19 05:23:47,940:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'banquepopulaire'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f3f9a3a6f98>>
2020-09-19 05:23:47,943:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:271:_get_conn Resetting dropped connection: www.ibps.bpalc.banquepopulaire.fr
2020-09-19 05:23:48,187:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.ibps.bpalc.banquepopulaire.fr:443 "GET / HTTP/1.1" 302 201
2020-09-19 05:23:48,241:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.ibps.bpalc.banquepopulaire.fr:443 "GET /portailinternet/ HTTP/1.1" 302 628
2020-09-19 05:23:48,245:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:271:_get_conn Resetting dropped connection: www.banquepopulaire.fr
2020-09-19 05:23:48,519:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.banquepopulaire.fr:443 "GET /se-connecter/sso?continue=https%3A%2F%2Fwww.ibps.bpalc.banquepopulaire.fr%2Fcallback&service=bad&cancel_uri=https%3A%2F%2Fwww.ibps.bpalc.banquepopulaire.fr%2Fcancel&forgottenIdUrl=https%3A%2F%2Fwww.ibps.bpalc.banquepopulaire.fr%2Fs3f-web%2Frestitutionid&forgottenMdpUrl=https%3A%2F%2Fwww.ibps.bpalc.banquepopulaire.fr%2Fs3f-web%2Freinitpwd&cdetab=14707&prefusion_part=0&prefusion_pro=1 HTTP/1.1" 200 1083
2020-09-19 05:23:48,522:DEBUG:backend.banquepopulaire.browser:2.1:browsers.py:874:internal_callback Handle https://www.banquepopulaire.fr/se-connecter/sso?continue=https%3A%2F%2Fwww.ibps.bpalc.banquepopulaire.fr%2Fcallback&service=bad&cancel_uri=https%3A%2F%2Fwww.ibps.bpalc.banquepopulaire.fr%2Fcancel&forgottenIdUrl=https%3A%2F%2Fwww.ibps.bpalc.banquepopulaire.fr%2Fs3f-web%2Frestitutionid&forgottenMdpUrl=https%3A%2F%2Fwww.ibps.bpalc.banquepopulaire.fr%2Fs3f-web%2Freinitpwd&cdetab=14707&prefusion_part=0&prefusion_pro=1 with NewLoginPage
2020-09-19 05:23:48,615:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.banquepopulaire.fr:443 "GET /se-connecter/main-es2015.4bc4453043e8e8eb6aa7.js HTTP/1.1" 200 1627703
2020-09-19 05:23:49,851:DEBUG:backend.banquepopulaire.browser:2.1:browsers.py:874:internal_callback Handle https://www.banquepopulaire.fr/se-connecter/main-es2015.4bc4453043e8e8eb6aa7.js with JsFilePage
2020-09-19 05:23:49,983:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:271:_get_conn Resetting dropped connection: www.as-ex-ano-groupe.banquepopulaire.fr
2020-09-19 05:23:50,268:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.as-ex-ano-groupe.banquepopulaire.fr:443 "POST /api/oauth/token HTTP/1.1" 200 None
2020-09-19 05:23:50,269:DEBUG:backend.banquepopulaire.browser:2.1:browsers.py:874:internal_callback Handle https://www.as-ex-ano-groupe.banquepopulaire.fr/api/oauth/token with InfoTokensPage
2020-09-19 05:23:50,271:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:271:_get_conn Resetting dropped connection: www.rs-ex-ano-groupe.banquepopulaire.fr
2020-09-19 05:23:50,578:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.rs-ex-ano-groupe.banquepopulaire.fr:443 "POST /bapi/user/v1/users/identificationRouting HTTP/1.1" 200 None
2020-09-19 05:23:50,580:DEBUG:backend.banquepopulaire.browser:2.1:browsers.py:874:internal_callback Handle https://www.rs-ex-ano-groupe.banquepopulaire.fr/bapi/user/v1/users/identificationRouting with InfoTokensPage
2020-09-19 05:23:50,583:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:271:_get_conn Resetting dropped connection: www.as-ex-ath-groupe.banquepopulaire.fr
2020-09-19 05:23:50,883:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.as-ex-ath-groupe.banquepopulaire.fr:443 "GET /api/oauth/v2/authorize?nonce=59d09bff&scope=&response_type=id_token+token&response_mode=form_post&cdetab=14707&login_hint=[REDACTED]&display=page&client_id=[REDACTED]&claims=%7B%22userinfo%22%3A+%7B%22cdetab%22%3A+null%2C+%22authMethod%22%3A+null%2C+%22authLevel%22%3A+null%7D%2C+%22id_token%22%3A+%7B%22auth_time%22%3A+%7B%22essential%22%3A+true%7D%2C+%22last_login%22%3A+null%7D%7D&bpcesta=%7B%22csid%22%3A+%22ce315641-476b-4e45-9b1d-d2f81fc86cf8%22%2C+%22typ_app%22%3A+%22rest%22%2C+%22enseigne%22%3A+%22bp%22%2C+%22typ_sp%22%3A+%22out-band%22%2C+%22typ_act%22%3A+%22auth%22%2C+%22snid%22%3A+%22123456%22%2C+%22cdetab%22%3A+%2214707%22%2C+%22typ_srv%22%3A+%22part%22%2C+%22phase%22%3A+%221%22%7D HTTP/1.1" 200 None
2020-09-19 05:23:50,928:DEBUG:backend.banquepopulaire.browser:2.1:browsers.py:874:internal_callback Handle https://www.as-ex-ath-groupe.banquepopulaire.fr/api/oauth/v2/authorize?nonce=59d09bff&scope=&response_type=id_token+token&response_mode=form_post&cdetab=14707&login_hint=[REDACTED]&display=page&client_id=[REDACTED]&claims=%7B%22userinfo%22%3A+%7B%22cdetab%22%3A+null%2C+%22authMethod%22%3A+null%2C+%22authLevel%22%3A+null%7D%2C+%22id_token%22%3A+%7B%22auth_time%22%3A+%7B%22essential%22%3A+true%7D%2C+%22last_login%22%3A+null%7D%7D&bpcesta=%7B%22csid%22%3A+%22ce315641-476b-4e45-9b1d-d2f81fc86cf8%22%2C+%22typ_app%22%3A+%22rest%22%2C+%22enseigne%22%3A+%22bp%22%2C+%22typ_sp%22%3A+%22out-band%22%2C+%22typ_act%22%3A+%22auth%22%2C+%22snid%22%3A+%22123456%22%2C+%22cdetab%22%3A+%2214707%22%2C+%22typ_srv%22%3A+%22part%22%2C+%22phase%22%3A+%221%22%7D with AuthorizePage
2020-09-19 05:23:50,934:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:271:_get_conn Resetting dropped connection: www.icgauth.banquepopulaire.fr
2020-09-19 05:23:51,428:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.icgauth.banquepopulaire.fr:443 "POST /dacswebssoissuer/AuthnRequestServlet HTTP/1.1" 303 0
2020-09-19 05:23:51,488:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:442:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacsrest/api/v1u0/transaction/CtxDACSP099e3d0c9806d0b403fb9ad7f013935471f22 HTTP/1.1" 200 None
2020-09-19 05:23:51,491:DEBUG:backend.banquepopulaire.browser:2.1:browsers.py:874:internal_callback Handle https://www.icgauth.banquepopulaire.fr/dacsrest/api/v1u0/transaction/CtxDACSP099e3d0c9806d0b403fb9ad7f013935471f22 with AuthenticationMethodPage
2020-09-19 05:23:51,491:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'banquepopulaire'>: Called function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f3f9a3a6f98>> raised an error: BrowserIncorrectPassword()
```
### What are the steps to reproduce the problem?
In boobank, do `ls` with a banquepopulaire backend (may be only for `www.ibps.bpalc.banquepopulaire.fr`, I don’t know).
### 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 banquepopulaire |
+-----------------.------------------------------------------------------------'
| Version | 202009092303
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | Banque Populaire
| Capabilities | CapBankWealth, CapProfile, CapContact, CapCollection, CapBank, CapDocument
| Installed | yes
| Location | https://updates.weboob.org/2.1/main/banquepopulaire.tar.gz
| |
| Configuration | website: Région
| | login: Identifiant (default: )
| | password: Mot de passe (default: )
'-----------------'
```
### How did you install weboob?
```
pip3 install git+https://git.weboob.org/weboob/weboob.git@master
```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.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/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/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/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/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/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/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/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/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/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/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/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/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...