woob issueshttps://gitlab.com/woob/woob/-/issues2023-05-29T13:09:31Zhttps://gitlab.com/woob/woob/-/issues/635Update a module not working2023-05-29T13:09:31ZLironeUpdate a module not workingHi,
I just discovered woob and it sounds great. I would like to edit a module (let's say impotsgouvfrpar).
I have set up an environment variable and followed the instructions on the documentation.
Then, I changed the .config/woob/sour...Hi,
I just discovered woob and it sounds great. I would like to edit a module (let's say impotsgouvfrpar).
I have set up an environment variable and followed the instructions on the documentation.
Then, I changed the .config/woob/sources.list in order to be able to update the module from the source.
I tried to edit a function. Ex:
```
def get_profile(self):
print("GETTING PROFILE !!")
return self.browser.get_profile()
```
Then, I run woob update.
And on my python script, I do the following: `backend.get_profile()`
But my print has not been taken in account.
Did I miss something to be able to update the module ?
thank youhttps://gitlab.com/woob/woob/-/issues/632[boursorama] history fetch only the first page2023-12-09T22:49:04ZOlivier Boudet[boursorama] history fetch only the first page
### With which module do you encounter problems?
Boursorama
### Describe the problem you encounter
The `history` command could not fetch more operations than those listed on the first page. It seems pagination is not working anymore....
### With which module do you encounter problems?
Boursorama
### Describe the problem you encounter
The `history` command could not fetch more operations than those listed on the first page. It seems pagination is not working anymore.
For example, this command fetch only 22 operations : `woob bank history -n 1000 00000000000@boursorama`
### Paste here the stacktrace or error message you observe
No error
### What are the steps to reproduce the problem?
Run `woob bank history -n 1000 00000000000@boursorama`
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.5 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module boursorama |
+-----------------.------------------------------------------------------------'
| Version | 202304111438
| Maintainer | Gabriel Kerneis <gabriel@kerneis.info>
| License | LGPLv3+
| Description | Boursorama
| Capabilities | CapTransfer, CapCollection, CapBankTransferAddRecipient, CapBankWealth, CapCredentialsCheck, CapBankTransfer, CapCurrencyRate, CapContact, CapBank, CapDocument, CapProfile
| Installed | yes
| Location | https://updates.weboob.org/3/main/boursorama.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
'-----------------'
```
### How did you install woob?
pipx in virtualenv
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/631Check python version prerequisite2023-07-12T11:47:52ZsinopsysHKCheck python version prerequisiteIt would be good to have a check of python current installed version and potentially raise a warning when version is below current code prerequisite.
I have for instance a error message thrown when launching woob (latest version) from m...It would be good to have a check of python current installed version and potentially raise a warning when version is below current code prerequisite.
I have for instance a error message thrown when launching woob (latest version) from my box:
```python
admin@7321c8e50a30:~/dev/weboob$ woob
usage: woob [--version] <command> [<args>]
Use one of this commands:
Traceback (most recent call last):
File "/home/admin/.local/bin/woob", line 33, in <module>
sys.exit(load_entry_point('woob', 'console_scripts', 'woob')())
File "/home/admin/dev/weboob/woob/applications/main/main.py", line 87, in run
return cls.print_list(app_list)
File "/home/admin/dev/weboob/woob/applications/main/main.py", line 70, in print_list
app_class = cls.load_app(app)
File "/home/admin/dev/weboob/woob/applications/main/main.py", line 53, in load_app
app_module = importlib.import_module("woob.applications.%s" % app)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/admin/dev/weboob/woob/applications/bands/__init__.py", line 18, in <module>
from .bands import Appbands
File "/home/admin/dev/weboob/woob/applications/bands/bands.py", line 19, in <module>
from woob.capabilities.base import empty
File "/home/admin/dev/weboob/woob/capabilities/__init__.py", line 1, in <module>
from .base import UserError, NotLoaded, NotAvailable, BaseObject, Capability
File "/home/admin/dev/weboob/woob/capabilities/base.py", line 18
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
```
I had to spend little time to figure out that this error message is because I use python 3.6 and that future feature annotations has been introduced in python 3.7.
It would be helpful for non technical users to have this notice.
Similarely it might be something to document: looking quickly in the documentation I didn't find formal prerequisite regarding python version.https://gitlab.com/woob/woob/-/issues/629[bank][lcl] AttributeError("'NoneType' object has no attribute 'attrib'")2023-06-30T13:47:40ZMathieu Clabaut[bank][lcl] AttributeError("'NoneType' object has no attribute 'attrib'")### With which module do you encounter problems?
lcl module
### Describe the problem you encounter
bank module fails on `lcl` backend: `woob bank --debug -b lcl list` gives the following stacktrace
### Paste here the stacktrace or error...### With which module do you encounter problems?
lcl module
### Describe the problem you encounter
bank module fails on `lcl` backend: `woob bank --debug -b lcl list` gives the following stacktrace
### Paste here the stacktrace or error message you observe
```
2023-04-13 22:25:12,180:DEBUG:woob.config:3.2:yamlconfig.py:74:load Loading configuration file: /homecrypt/clabaut/.config/woob/bank.storage.
2023-04-13 22:25:12,181:DEBUG:woob.config:3.2:yamlconfig.py:78:load Configuration file loaded: /homecrypt/clabaut/.config/woob/bank.storage.
2023-04-13 22:25:12,248:DEBUG:woob.core.modules.loader:3.2:modules.py:182:load_module Loaded module "lcl" from /home/clabaut/.local/share/woob/modules/3.2/woob_modules/lcl
2023-04-13 22:25:12,284:DEBUG:woob.backend:3.2:modules.py:98:create_instance Created backend "lcl" for module "lcl"
2023-04-13 22:25:12,285:DEBUG:woob.config:3.2:iniconfig.py:45:load Loading application configuration file: /homecrypt/clabaut/.config/woob/bank.
2023-04-13 22:25:12,285:DEBUG:woob.config:3.2:iniconfig.py:62:load Application configuration file loaded: /homecrypt/clabaut/.config/woob/bank.
Account Balance Coming
---------------------------------------------------------+----------+----------
2023-04-13 22:25:12,289:DEBUG:woob.core.bcall:3.2:bcall.py:91:backend_process <Backend 'lcl'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f9ca890aaa0>>
2023-04-13 22:25:12,289:DEBUG:urllib3.util.retry:3.2:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-04-13 22:25:12,289:DEBUG:urllib3.util.retry:3.2:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-04-13 22:25:12,291:DEBUG:urllib3.util.retry:3.2:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-04-13 22:25:12,291:DEBUG:urllib3.util.retry:3.2:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-04-13 22:25:12,292:INFO:woob.backend.lcl.browser:3.2:browsers.py:990:load_state State expired, not reloading it from storage
2023-04-13 22:25:12,293:DEBUG:urllib3.connectionpool:3.2:connectionpool.py:1003:_new_conn Starting new HTTPS connection (1): particuliers.secure.lcl.fr:443
2023-04-13 22:25:12,413:DEBUG:urllib3.connectionpool:3.2:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UAUT?from=/outil/UWHO/Accueil/ HTTP/1.1" 200 5337
2023-04-13 22:25:12,415:DEBUG:woob.backend.lcl.browser:3.2:browsers.py:809:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UAUT?from=/outil/UWHO/Accueil/ with LoginPage
2023-04-13 22:25:12,444:DEBUG:urllib3.connectionpool:3.2:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UAUT/Clavier/creationClavier?random=791206953139503890432 HTTP/1.1" 200 2189
2023-04-13 22:25:12,453:DEBUG:woob.backend.lcl.browser:3.2:browsers.py:823:internal_callback Unable to handle https://particuliers.secure.lcl.fr/outil/UAUT/Clavier/creationClavier?random=791206953139503890432
2023-04-13 22:25:12,453:DEBUG:woob.core.bcall:3.2:bcall.py:97:backend_process <Backend 'lcl'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f9ca890aaa0>> raised an error: AttributeError("'NoneType' object has no attribute 'attrib'")
Bug(lcl): 'NoneType' object has no attribute 'attrib'
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/woob/core/bcall.py", line 93, in backend_process
result = function(backend, *args, **kwargs)
File "/usr/lib/python3.10/site-packages/woob/tools/application/base.py", line 351, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/clabaut/.local/share/woob/modules/3.2/woob_modules/lcl/module.py", line 335, in iter_resources
return self.iter_accounts()
File "/home/clabaut/.local/share/woob/modules/3.2/woob_modules/lcl/module.py", line 153, in iter_accounts
return self.browser.get_accounts_list()
File "/usr/lib/python3.10/site-packages/woob/browser/browsers.py", line 910, in inner
browser.do_login()
File "/usr/lib/python3.10/site-packages/woob/browser/mfa.py", line 176, in do_double_authentication
self.init_login()
File "/home/clabaut/.local/share/woob/modules/3.2/woob_modules/lcl/browser.py", line 261, in init_login
self.page.login(self.username, self.password)
File "/home/clabaut/.local/share/woob/modules/3.2/woob_modules/lcl/pages.py", line 151, in login
vk = LCLVirtKeyboard(self)
File "/home/clabaut/.local/share/woob/modules/3.2/woob_modules/lcl/pages.py", line 124, in __init__
super(LCLVirtKeyboard, self).__init__(
File "/usr/lib/python3.10/site-packages/woob/tools/captcha/virtkeyboard.py", line 195, in __init__
map_id = img_element.attrib.get("usemap")[1:]
AttributeError: 'NoneType' object has no attribute 'attrib'
---------------------------------------------------------+----------+----------
2023-04-13 22:25:12,489:DEBUG:woob.backend.lcl.browser:3.2:browsers.py:1026:dump_state Stored cookies into storage
2023-04-13 22:25:12,491:DEBUG:woob.config:3.2:yamlconfig.py:92:save Configuration file saved: /homecrypt/clabaut/.config/woob/bank.storage.
```
### What are the steps to reproduce the problem?
`woob bank --debug -b lcl list`
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.2 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module lcl |
+-----------------.------------------------------------------------------------'
| Version | 202301291139
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | LCL
| Capabilities | CapDocument, CapBank, CapBankMatching, CapCredentialsCheck, CapBankTransferAddRecipient, CapProfile, CapCollection, CapTransfer, CapBankWealth, CapContact, CapBankTransfer
| Installed | yes
| Location | https://updates.weboob.org/3.2/main/lcl.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Code personnel (default: )
| | website: Type de compte (default: par)
| | resume: None
| | request_information: None
| | code: None
'-----------------'
```
### How did you install woob?
pacman on arch linux
### Additional info you'd like to mentionhttps://gitlab.com/woob/woob/-/issues/628[americanexpress] requires "selenium" <4.1.4 but version 4.8.0 is installed2023-04-12T08:11:56ZSalan54[americanexpress] requires "selenium" <4.1.4 but version 4.8.0 is installed### With which module do you encounter problems?
americanexpress
### Describe the problem you encounter
No way to install americanexpress on my system since it requires selenium <4.1.4 and I have 4.8.0 installed.
### Paste here the stac...### With which module do you encounter problems?
americanexpress
### Describe the problem you encounter
No way to install americanexpress on my system since it requires selenium <4.1.4 and I have 4.8.0 installed.
### Paste here the stacktrace or error message you observe
```
$ woob config add americanexpress
Unable to load module "americanexpress": Modure requires python package "selenium" <4.1.4 but version 4.8.0 is installed``
```
### What woob version are you using?
woob v3.5
Output of `woob config --version` command:
```
Woob config v3.5 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### How did you install woob?
pip install woobhttps://gitlab.com/woob/woob/-/issues/626Test2023-04-01T11:17:19ZRomain BignonTesthttps://gitlab.com/woob/woob/-/issues/622[Boursorama] Compte a terme CAT2023-12-10T06:06:11ZPaul Hochon[Boursorama] Compte a terme CATHello,
I'm using version 3.4.
Boursorama as introduced a new account named CAT and it's seems there is an issue when retrieving this account
```
2023-03-15 07:50:04,354:DEBUG:urllib3.connectionpool:3.4:connectionpool.py:428:_make_reque...Hello,
I'm using version 3.4.
Boursorama as introduced a new account named CAT and it's seems there is an issue when retrieving this account
```
2023-03-15 07:50:04,354:DEBUG:urllib3.connectionpool:3.4:connectionpool.py:428:_make_request https://clients.boursorama.com:443 "GET /compte/epargne/cat/c4bd7378e34c0594446933515509feba/ HTTP/1.1" 200 None
2023-03-15 07:50:04,357:DEBUG:woob.backend.boursorama.browser:3.4:browsers.py:832:internal_callback Unable to handle https://clients.boursorama.com/compte/epargne/cat**/c4bd7378e34c0594446933515509feba/
2023-03-15 07:50:04,358:DEBUG:woob.core.bcall:3.4:bcall.py:92:backend_process <Backend 'boursorama'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f5e56eef100>> raised an error: AttributeError("'NoneType' object has no attribute 'fill_account'")
Bug(boursorama): 'NoneType' object has no attribute 'fill_account'
(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/.local/lib/python3.8/site-packages/woob/core/bcall.py", line 88, in backend_process
result = function(backend, *args, **kwargs)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/tools/application/base.py", line 347, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/jpm/.local/share/woob/modules/3.4/woob_modules/boursorama/module.py", line 188, in iter_resources
return self.iter_accounts()
File "/home/jpm/.local/share/woob/modules/3.4/woob_modules/boursorama/module.py", line 68, in iter_accounts
return self.browser.get_accounts_list()
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/retry.py", line 75, in wrapper
ret = cb()
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/retry.py", line 71, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/home/jpm/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 922, in inner
return func(browser, *args, **kwargs)
File "/home/jpm/.local/share/woob/modules/3.4/woob_modules/boursorama/browser.py", line 542, in get_accounts_list
accounts_list.extend(self.get_filled_accounts())
File "/home/jpm/.local/share/woob/modules/3.4/woob_modules/boursorama/browser.py", line 645, in get_filled_accounts
self.page.fill_account(obj=account)
AttributeError: 'NoneType' object has no attribute 'fill_account'
```
Thank you for your kind supporthttps://gitlab.com/woob/woob/-/issues/621everytime i launch woob bank creditcooperatif asks me sms2023-03-29T10:41:39ZLaurent Wangeverytime i launch woob bank creditcooperatif asks me smseverytime i quit woob bank and relaunch it hours later, it ask me :
```
[otp_sms] Veuillez renseigner le mot de passe unique qui vous a été envoyé par SMS dans le champ réponse.:
```
i give the sms code but it will be the same question...everytime i quit woob bank and relaunch it hours later, it ask me :
```
[otp_sms] Veuillez renseigner le mot de passe unique qui vous a été envoyé par SMS dans le champ réponse.:
```
i give the sms code but it will be the same question after hours laterhttps://gitlab.com/woob/woob/-/issues/620Bug(edfprofessionnel): 'NoneType' object has no attribute 'get_data'2023-06-10T12:52:26ZCharles de NoyelleBug(edfprofessionnel): 'NoneType' object has no attribute 'get_data'
### With which module do you encounter problems?
edfprofessionnel
### Describe the problem you encounter
When doing almost anything with this module (edfprofessionnel), I get
Bug(edfprofessionnel): 'NoneType' object has no attribute '...
### With which module do you encounter problems?
edfprofessionnel
### Describe the problem you encounter
When doing almost anything with this module (edfprofessionnel), I get
Bug(edfprofessionnel): 'NoneType' object has no attribute 'get_data'
### Paste here the stacktrace or error message you observe
```
woob bill --insecure
(...)
bill> subscriptions
Bug(edfprofessionnel): 'NoneType' object has no attribute 'get_data'
(...)
bill> bills
Bug(edfprofessionnel): 'NoneType' object has no attribute 'get_data'
```
### What are the steps to reproduce the problem?
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.0 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module edfprofessionnel |
+-----------------.------------------------------------------------------------'
| Version | 202208081152
| Maintainer | Edouard Lambert <elambert@budget-insight.com>
| License | LGPLv3+
| Description | EDF Professionnel
| Capabilities | CapCredentialsCheck, CapProfile, CapDocument, CapCollection
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/edfprofessionnel.tar.gz
| |
| Configuration | login: E-mail ou Identifiant
| | password: Mot de passe (default: )
'-----------------'
```
### How did you install woob?
pip
### Additional info you'd like to mention
This tool worked perfectly untill ~ yesterday.
Thank you.https://gitlab.com/woob/woob/-/issues/619[caissedepargne] - Bad URL "credit-conso-cr.caisse-epargne.fr" error 5002023-03-29T11:50:36Zvalderaplets1[caissedepargne] - Bad URL "credit-conso-cr.caisse-epargne.fr" error 500### With which module do you encounter problems? :
caissedepargne
### What are the steps to reproduce the problem?
1. I am trying to reload my account at the caissedepargne.
2. I am asked for a notification to accept on my mobile ap...### With which module do you encounter problems? :
caissedepargne
### What are the steps to reproduce the problem?
1. I am trying to reload my account at the caissedepargne.
2. I am asked for a notification to accept on my mobile application.
3. I accept and do "continue"
4. I get this error message
```
:00:22 yunohost kresus[107325]: [2023-02-27T10:00:22.959] [INFO] accounts-manager - Retrieve all accounts from access caissedepargne with login XXX
févr. 27 10:00:22 yunohost kresus[107325]: [2023-02-27T10:00:22.967] [INFO] providers/woob - Calling woob: command accounts...
févr. 27 10:00:26 yunohost kresus[107325]: [2023-02-27T10:00:26.347] [INFO] providers/woob - exited with code 0.
févr. 27 10:00:26 yunohost kresus[107325]: [2023-02-27T10:00:26.347] [INFO] providers/woob - Saving session for access from bank caissedepargne with login
févr. 27 10:00:26 yunohost kresus[107325]: [2023-02-27T10:00:26.354] [INFO] providers/woob - Decoupled validation is required; propagating information to the user.
févr. 27 10:00:26 yunohost kresus[107325]: [2023-02-27T10:00:26.355] [INFO] HTTP - POST /kresus/api/accesses/1/fetch/accounts - 200 (3402 ms)
févr. 27 10:00:40 yunohost kresus[107325]: [2023-02-27T10:00:40.280] [INFO] accounts-manager - Retrieve all accounts from access caissedepargne with login XXX
févr. 27 10:00:40 yunohost kresus[107325]: [2023-02-27T10:00:40.288] [INFO] providers/woob - Calling woob: command accounts...
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.732] [INFO] providers/woob - exited with code 1.
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.732] [INFO] providers/woob - Command returned an error code.
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.732] [INFO] providers/woob - Checking that woob is installed and can actually be called…
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.732] [INFO] providers/woob - Calling woob: command test...
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.995] [INFO] providers/woob - exited with code 0.
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.995] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.995] [ERROR] providers/woob - Got error while running command "accounts": Unknown error: .
févr. 27 10:00:45 yunohost kresus[107325]: Traceback (most recent call last):
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1284, in submit_form
févr. 27 10:00:45 yunohost kresus[107325]: form.submit()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/pages.py", line 373, in submit
févr. 27 10:00:45 yunohost kresus[107325]: return self.page.browser.location(self.request, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 844, in location
févr. 27 10:00:45 yunohost kresus[107325]: self.page.on_load()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 2028, in on_load
févr. 27 10:00:45 yunohost kresus[107325]: form.submit()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/pages.py", line 373, in submit
févr. 27 10:00:45 yunohost kresus[107325]: return self.page.browser.location(self.request, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 836, in location
févr. 27 10:00:45 yunohost kresus[107325]: response = self.open(*args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 823, in open
févr. 27 10:00:45 yunohost kresus[107325]: return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 687, in open
févr. 27 10:00:45 yunohost kresus[107325]: return super(DomainBrowser, self).open(req, *args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 392, in open
févr. 27 10:00:45 yunohost kresus[107325]: response = self.session.send(preq,
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/sessions.py", line 163, in send
févr. 27 10:00:45 yunohost kresus[107325]: return func(*args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/sessions.py", line 156, in func
févr. 27 10:00:45 yunohost kresus[107325]: return callback(self, resp)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 387, in inner_callback
févr. 27 10:00:45 yunohost kresus[107325]: self.raise_for_status(response)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 450, in raise_for_status
févr. 27 10:00:45 yunohost kresus[107325]: raise ServerError(http_error_msg, response=response)
févr. 27 10:00:45 yunohost kresus[107325]: woob.browser.exceptions.ServerError: 500 Server Error: Internal Server Error
févr. 27 10:00:45 yunohost kresus[107325]: During handling of the above exception, another exception occurred:
févr. 27 10:00:45 yunohost kresus[107325]: Traceback (most recent call last):
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
févr. 27 10:00:45 yunohost kresus[107325]: results['values'] = self.get_accounts()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
févr. 27 10:00:45 yunohost kresus[107325]: for account in list(self.backend.iter_accounts()):
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/module.py", line 85, in iter_accounts
févr. 27 10:00:45 yunohost kresus[107325]: for account in self.browser.get_loans_list():
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/switch.py", line 98, in wrapper
févr. 27 10:00:45 yunohost kresus[107325]: return val(*args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 75, in wrapper
févr. 27 10:00:45 yunohost kresus[107325]: ret = cb()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 71, in <lambda>
févr. 27 10:00:45 yunohost kresus[107325]: cb = lambda: func(browser, *args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 909, in inner
févr. 27 10:00:45 yunohost kresus[107325]: return func(browser, *args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/browser.py", line 1645, in get_loans_list
févr. 27 10:00:45 yunohost kresus[107325]: self.loans = list(self.page.get_loan_list())
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1251, in get_loan_list
févr. 27 10:00:45 yunohost kresus[107325]: self.submit_form(*form_params)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1287, in submit_form
févr. 27 10:00:45 yunohost kresus[107325]: raise BrowserUnavailable()
févr. 27 10:00:45 yunohost kresus[107325]: woob.exceptions.BrowserUnavailable
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.996] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
févr. 27 10:00:46 yunohost kresus[107325]: [2023-02-27T10:00:46.017] [ERROR] helpers - when fetching accounts: Unknown error: .
févr. 27 10:00:46 yunohost kresus[107325]: Traceback (most recent call last):
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1284, in submit_form
févr. 27 10:00:46 yunohost kresus[107325]: form.submit()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/pages.py", line 373, in submit
févr. 27 10:00:46 yunohost kresus[107325]: return self.page.browser.location(self.request, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 844, in location
févr. 27 10:00:46 yunohost kresus[107325]: self.page.on_load()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 2028, in on_load
févr. 27 10:00:46 yunohost kresus[107325]: form.submit()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/pages.py", line 373, in submit
févr. 27 10:00:46 yunohost kresus[107325]: return self.page.browser.location(self.request, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 836, in location
févr. 27 10:00:46 yunohost kresus[107325]: response = self.open(*args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 823, in open
févr. 27 10:00:46 yunohost kresus[107325]: return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 687, in open
févr. 27 10:00:46 yunohost kresus[107325]: return super(DomainBrowser, self).open(req, *args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 392, in open
févr. 27 10:00:46 yunohost kresus[107325]: response = self.session.send(preq,
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/sessions.py", line 163, in send
févr. 27 10:00:46 yunohost kresus[107325]: return func(*args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/sessions.py", line 156, in func
févr. 27 10:00:46 yunohost kresus[107325]: return callback(self, resp)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 387, in inner_callback
févr. 27 10:00:46 yunohost kresus[107325]: self.raise_for_status(response)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 450, in raise_for_status
févr. 27 10:00:46 yunohost kresus[107325]: raise ServerError(http_error_msg, response=response)
févr. 27 10:00:46 yunohost kresus[107325]: woob.browser.exceptions.ServerError: 500 Server Error: Internal Server Error
févr. 27 10:00:46 yunohost kresus[107325]: During handling of the above exception, another exception occurred:
févr. 27 10:00:46 yunohost kresus[107325]: Traceback (most recent call last):
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
févr. 27 10:00:46 yunohost kresus[107325]: results['values'] = self.get_accounts()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
févr. 27 10:00:46 yunohost kresus[107325]: for account in list(self.backend.iter_accounts()):
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/module.py", line 85, in iter_accounts
févr. 27 10:00:46 yunohost kresus[107325]: for account in self.browser.get_loans_list():
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/switch.py", line 98, in wrapper
févr. 27 10:00:46 yunohost kresus[107325]: return val(*args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 75, in wrapper
févr. 27 10:00:46 yunohost kresus[107325]: ret = cb()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 71, in <lambda>
févr. 27 10:00:46 yunohost kresus[107325]: cb = lambda: func(browser, *args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 909, in inner
févr. 27 10:00:46 yunohost kresus[107325]: return func(browser, *args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/browser.py", line 1645, in get_loans_list
févr. 27 10:00:46 yunohost kresus[107325]: self.loans = list(self.page.get_loan_list())
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1251, in get_loan_list
févr. 27 10:00:46 yunohost kresus[107325]: self.submit_form(*form_params)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1287, in submit_form
févr. 27 10:00:46 yunohost kresus[107325]: raise BrowserUnavailable()
févr. 27 10:00:46 yunohost kresus[107325]: woob.exceptions.BrowserUnavailable
févr. 27 10:00:46 yunohost kresus[107325]: [2023-02-27T10:00:46.017] [INFO] helpers - Error
févr. 27 10:00:46 yunohost kresus[107325]: at new KError (/var/www/kresus/build/server/helpers.js:59:22)
févr. 27 10:00:46 yunohost kresus[107325]: at callWoob (/var/www/kresus/build/server/providers/woob/index.js:192:15)
févr. 27 10:00:46 yunohost kresus[107325]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
févr. 27 10:00:46 yunohost kresus[107325]: at async _fetchHelper (/var/www/kresus/build/server/providers/woob/index.js:249:16)
févr. 27 10:00:46 yunohost kresus[107325]: at async Object.fetchAccounts (/var/www/kresus/build/server/providers/woob/index.js:263:12)
févr. 27 10:00:46 yunohost kresus[107325]: at async pollAccounts (/var/www/kresus/build/server/lib/accounts-manager.js:96:34)
févr. 27 10:00:46 yunohost kresus[107325]: at async AccountManager.syncAccounts (/var/www/kresus/build/server/lib/accounts-manager.js:281:24)
févr. 27 10:00:46 yunohost kresus[107325]: at async fetchAccounts (/var/www/kresus/build/server/controllers/accesses.js:239:33)
févr. 27 10:00:46 yunohost kresus[107325]: [2023-02-27T10:00:46.018] [ERROR] HTTP - POST /kresus/api/accesses/1/fetch/accounts - 500 (5757 ms)
:00:22 yunohost kresus[107325]: [2023-02-27T10:00:22.959] [INFO] accounts-manager - Retrieve all accounts from access caissedepargne with login XXXX
févr. 27 10:00:22 yunohost kresus[107325]: [2023-02-27T10:00:22.967] [INFO] providers/woob - Calling woob: command accounts...
févr. 27 10:00:26 yunohost kresus[107325]: [2023-02-27T10:00:26.347] [INFO] providers/woob - exited with code 0.
févr. 27 10:00:26 yunohost kresus[107325]: [2023-02-27T10:00:26.347] [INFO] providers/woob - Saving session for access from bank caissedepargne with login XXXX
févr. 27 10:00:26 yunohost kresus[107325]: [2023-02-27T10:00:26.354] [INFO] providers/woob - Decoupled validation is required; propagating information to the user.
févr. 27 10:00:26 yunohost kresus[107325]: [2023-02-27T10:00:26.355] [INFO] HTTP - POST /kresus/api/accesses/1/fetch/accounts - 200 (3402 ms)
févr. 27 10:00:40 yunohost kresus[107325]: [2023-02-27T10:00:40.280] [INFO] accounts-manager - Retrieve all accounts from access caissedepargne with login XXXX
févr. 27 10:00:40 yunohost kresus[107325]: [2023-02-27T10:00:40.288] [INFO] providers/woob - Calling woob: command accounts...
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.732] [INFO] providers/woob - exited with code 1.
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.732] [INFO] providers/woob - Command returned an error code.
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.732] [INFO] providers/woob - Checking that woob is installed and can actually be called…
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.732] [INFO] providers/woob - Calling woob: command test...
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.995] [INFO] providers/woob - exited with code 0.
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.995] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.995] [ERROR] providers/woob - Got error while running command "accounts": Unknown error: .
févr. 27 10:00:45 yunohost kresus[107325]: Traceback (most recent call last):
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1284, in submit_form
févr. 27 10:00:45 yunohost kresus[107325]: form.submit()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/pages.py", line 373, in submit
févr. 27 10:00:45 yunohost kresus[107325]: return self.page.browser.location(self.request, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 844, in location
févr. 27 10:00:45 yunohost kresus[107325]: self.page.on_load()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 2028, in on_load
févr. 27 10:00:45 yunohost kresus[107325]: form.submit()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/pages.py", line 373, in submit
févr. 27 10:00:45 yunohost kresus[107325]: return self.page.browser.location(self.request, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 836, in location
févr. 27 10:00:45 yunohost kresus[107325]: response = self.open(*args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 823, in open
févr. 27 10:00:45 yunohost kresus[107325]: return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 687, in open
févr. 27 10:00:45 yunohost kresus[107325]: return super(DomainBrowser, self).open(req, *args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 392, in open
févr. 27 10:00:45 yunohost kresus[107325]: response = self.session.send(preq,
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/sessions.py", line 163, in send
févr. 27 10:00:45 yunohost kresus[107325]: return func(*args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/sessions.py", line 156, in func
févr. 27 10:00:45 yunohost kresus[107325]: return callback(self, resp)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 387, in inner_callback
févr. 27 10:00:45 yunohost kresus[107325]: self.raise_for_status(response)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 450, in raise_for_status
févr. 27 10:00:45 yunohost kresus[107325]: raise ServerError(http_error_msg, response=response)
févr. 27 10:00:45 yunohost kresus[107325]: woob.browser.exceptions.ServerError: 500 Server Error: Internal Server Error
févr. 27 10:00:45 yunohost kresus[107325]: During handling of the above exception, another exception occurred:
févr. 27 10:00:45 yunohost kresus[107325]: Traceback (most recent call last):
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
févr. 27 10:00:45 yunohost kresus[107325]: results['values'] = self.get_accounts()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
févr. 27 10:00:45 yunohost kresus[107325]: for account in list(self.backend.iter_accounts()):
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/module.py", line 85, in iter_accounts
févr. 27 10:00:45 yunohost kresus[107325]: for account in self.browser.get_loans_list():
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/switch.py", line 98, in wrapper
févr. 27 10:00:45 yunohost kresus[107325]: return val(*args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 75, in wrapper
févr. 27 10:00:45 yunohost kresus[107325]: ret = cb()
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 71, in <lambda>
févr. 27 10:00:45 yunohost kresus[107325]: cb = lambda: func(browser, *args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 909, in inner
févr. 27 10:00:45 yunohost kresus[107325]: return func(browser, *args, **kwargs)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/browser.py", line 1645, in get_loans_list
févr. 27 10:00:45 yunohost kresus[107325]: self.loans = list(self.page.get_loan_list())
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1251, in get_loan_list
févr. 27 10:00:45 yunohost kresus[107325]: self.submit_form(*form_params)
févr. 27 10:00:45 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1287, in submit_form
févr. 27 10:00:45 yunohost kresus[107325]: raise BrowserUnavailable()
févr. 27 10:00:45 yunohost kresus[107325]: woob.exceptions.BrowserUnavailable
févr. 27 10:00:45 yunohost kresus[107325]: [2023-02-27T10:00:45.996] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
févr. 27 10:00:46 yunohost kresus[107325]: [2023-02-27T10:00:46.017] [ERROR] helpers - when fetching accounts: Unknown error: .
févr. 27 10:00:46 yunohost kresus[107325]: Traceback (most recent call last):
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1284, in submit_form
févr. 27 10:00:46 yunohost kresus[107325]: form.submit()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/pages.py", line 373, in submit
févr. 27 10:00:46 yunohost kresus[107325]: return self.page.browser.location(self.request, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 844, in location
févr. 27 10:00:46 yunohost kresus[107325]: self.page.on_load()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 2028, in on_load
févr. 27 10:00:46 yunohost kresus[107325]: form.submit()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/pages.py", line 373, in submit
févr. 27 10:00:46 yunohost kresus[107325]: return self.page.browser.location(self.request, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 836, in location
févr. 27 10:00:46 yunohost kresus[107325]: response = self.open(*args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 823, in open
févr. 27 10:00:46 yunohost kresus[107325]: return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 687, in open
févr. 27 10:00:46 yunohost kresus[107325]: return super(DomainBrowser, self).open(req, *args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 392, in open
févr. 27 10:00:46 yunohost kresus[107325]: response = self.session.send(preq,
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/sessions.py", line 163, in send
févr. 27 10:00:46 yunohost kresus[107325]: return func(*args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/sessions.py", line 156, in func
févr. 27 10:00:46 yunohost kresus[107325]: return callback(self, resp)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 387, in inner_callback
févr. 27 10:00:46 yunohost kresus[107325]: self.raise_for_status(response)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 450, in raise_for_status
févr. 27 10:00:46 yunohost kresus[107325]: raise ServerError(http_error_msg, response=response)
févr. 27 10:00:46 yunohost kresus[107325]: woob.browser.exceptions.ServerError: 500 Server Error: Internal Server Error
févr. 27 10:00:46 yunohost kresus[107325]: During handling of the above exception, another exception occurred:
févr. 27 10:00:46 yunohost kresus[107325]: Traceback (most recent call last):
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
févr. 27 10:00:46 yunohost kresus[107325]: results['values'] = self.get_accounts()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
févr. 27 10:00:46 yunohost kresus[107325]: for account in list(self.backend.iter_accounts()):
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/module.py", line 85, in iter_accounts
févr. 27 10:00:46 yunohost kresus[107325]: for account in self.browser.get_loans_list():
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/switch.py", line 98, in wrapper
févr. 27 10:00:46 yunohost kresus[107325]: return val(*args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 75, in wrapper
févr. 27 10:00:46 yunohost kresus[107325]: ret = cb()
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/retry.py", line 71, in <lambda>
févr. 27 10:00:46 yunohost kresus[107325]: cb = lambda: func(browser, *args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 909, in inner
févr. 27 10:00:46 yunohost kresus[107325]: return func(browser, *args, **kwargs)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/browser.py", line 1645, in get_loans_list
févr. 27 10:00:46 yunohost kresus[107325]: self.loans = list(self.page.get_loan_list())
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1251, in get_loan_list
févr. 27 10:00:46 yunohost kresus[107325]: self.submit_form(*form_params)
févr. 27 10:00:46 yunohost kresus[107325]: File "/var/www/kresus/data/woob-data/modules/3.3.1/woob_modules/caissedepargne/pages.py", line 1287, in submit_form
févr. 27 10:00:46 yunohost kresus[107325]: raise BrowserUnavailable()
févr. 27 10:00:46 yunohost kresus[107325]: woob.exceptions.BrowserUnavailable
févr. 27 10:00:46 yunohost kresus[107325]: [2023-02-27T10:00:46.017] [INFO] helpers - Error
févr. 27 10:00:46 yunohost kresus[107325]: at new KError (/var/www/kresus/build/server/helpers.js:59:22)
févr. 27 10:00:46 yunohost kresus[107325]: at callWoob (/var/www/kresus/build/server/providers/woob/index.js:192:15)
févr. 27 10:00:46 yunohost kresus[107325]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
févr. 27 10:00:46 yunohost kresus[107325]: at async _fetchHelper (/var/www/kresus/build/server/providers/woob/index.js:249:16)
févr. 27 10:00:46 yunohost kresus[107325]: at async Object.fetchAccounts (/var/www/kresus/build/server/providers/woob/index.js:263:12)
févr. 27 10:00:46 yunohost kresus[107325]: at async pollAccounts (/var/www/kresus/build/server/lib/accounts-manager.js:96:34)
févr. 27 10:00:46 yunohost kresus[107325]: at async AccountManager.syncAccounts (/var/www/kresus/build/server/lib/accounts-manager.js:281:24)
févr. 27 10:00:46 yunohost kresus[107325]: at async fetchAccounts (/var/www/kresus/build/server/controllers/accesses.js:239:33)
févr. 27 10:00:46 yunohost kresus[107325]: [2023-02-27T10:00:46.018] [ERROR] HTTP - POST /kresus/api/accesses/1/fetch/accounts - 500 (5757 ms)
```
### What woob version are you using?
3.3.1
### How did you install woob?
kresus, A free and open-source self-hostable Personal Finance Managerhttps://gitlab.com/woob/woob/-/issues/617[cragr] fetching transactions 100 by 100 not working2023-02-23T12:41:26Zrontroad[cragr] fetching transactions 100 by 100 not workingmodule cragr (atlantique-vendee)
history is limited to 30 transactions whatever options (date or count) is provided.
It seems that fetching transactions 100 by 100 here : https://gitlab.com/woob/woob/-/blob/master/modules/cragr/browser...module cragr (atlantique-vendee)
history is limited to 30 transactions whatever options (date or count) is provided.
It seems that fetching transactions 100 by 100 here : https://gitlab.com/woob/woob/-/blob/master/modules/cragr/browser.py#L1010 is not working anymore.
Modifying 100 to 30 locally has restored the functionnality.https://gitlab.com/woob/woob/-/issues/616[Bank][bp] Error : Bug(bp): not all arguments converted during string formatt...2023-03-01T11:33:21Zoliv oliv[Bank][bp] Error : Bug(bp): not all arguments converted during string formatting / encoding error : input conversion failed due to input error, bytes 0x9D 0x09 0x70 0xD3
### With which module do you encounter problems?
bank backends : bp (la banque postale)
### Describe the problem you encounter
In woob bank backends bp, list command generate errors :
encoding error : input conversion failed due ...
### With which module do you encounter problems?
bank backends : bp (la banque postale)
### Describe the problem you encounter
In woob bank backends bp, list command generate errors :
encoding error : input conversion failed due to input error, bytes 0x9D 0x09 0x70 0xD4
### Paste here the stacktrace or error message you observe
$ woob bank -d -b bp
Unable to load formatter "table": No module named 'prettytable'
Falling back to "multiline".
2023-02-10 14:59:52,951:DEBUG:woob.config:3.0:yamlconfig.py:75:load Loading configuration file: /home/oliv/.config/woob/bank.storage.
2023-02-10 14:59:52,951:DEBUG:woob.config:3.0:yamlconfig.py:79:load Configuration file loaded: /home/oliv/.config/woob/bank.storage.
2023-02-10 14:59:52,985:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "bp" from /home/oliv/.local/share/woob/modules/3.0/bp
2023-02-10 14:59:52,985:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "bp" for module "bp"
2023-02-10 14:59:52,986:DEBUG:woob.config:3.0:iniconfig.py:53:load Loading application configuration file: /home/oliv/.config/woob/bank.
2023-02-10 14:59:52,986:DEBUG:woob.config:3.0:iniconfig.py:73:load Application configuration file loaded: /home/oliv/.config/woob/bank.
Welcome to bank v3.0
Copyright(C) 2010-2023 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: bp
bank> list
Account Balance Coming
------------------------------------------+----------+----------
2023-02-10 15:00:56,926:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'bp'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f9b440c9b20>>
[bp] Identifiant (hidden input):
[bp] Mot de passe (hidden input):
2023-02-10 15:01:15,323:DEBUG:urllib3.util.retry:3.0:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-02-10 15:01:15,323:DEBUG:urllib3.util.retry:3.0:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-02-10 15:01:15,349:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "linebourse" from /home/oliv/.local/share/woob/modules/3.0/linebourse
2023-02-10 15:01:15,349:DEBUG:urllib3.util.retry:3.0:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-02-10 15:01:15,349:DEBUG:urllib3.util.retry:3.0:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-02-10 15:01:15,350:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:957:_new_conn Starting new HTTPS connection (1): voscomptesenligne.labanquepostale.fr:443
2023-02-10 15:01:15,453:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:428:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers HTTP/1.1" 200 None
2023-02-10 15:01:15,456:DEBUG:backend.bp.browser:3.0:browsers.py:880:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers with LoginPage
2023-02-10 15:01:15,503:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:428:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.9740851665635204 HTTP/1.1" 200 3544
encoding error : input conversion failed due to input error, bytes 0x9D 0x09 0x70 0xD4
encoding error : input conversion failed due to input error, bytes 0x9D 0x09 0x70 0xD4
I/O error : encoder error
2023-02-10 15:01:15,504:DEBUG:backend.bp.browser:3.0:browsers.py:880:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.9740851665635204 with UselessPage
2023-02-10 15:01:15,508:DEBUG:PIL.PngImagePlugin:3.0:PngImagePlugin.py:201:call STREAM b'IHDR' 16 13
2023-02-10 15:01:15,509:DEBUG:PIL.PngImagePlugin:3.0:PngImagePlugin.py:201:call STREAM b'IDAT' 41 3487
2023-02-10 15:01:15,521:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'bp'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f9b440c9b20>> raised an error: TypeError('not all arguments converted during string formatting')
Bug(bp): not all arguments converted during string formatting
(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/oliv/.local/lib/python3.8/site-packages/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/oliv/.local/lib/python3.8/site-packages/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/oliv/.local/share/woob/modules/3.0/bp/module.py", line 181, in iter_resources
return self.iter_accounts()
File "/home/oliv/.local/share/woob/modules/3.0/bp/module.py", line 80, in iter_accounts
return self.browser.get_accounts_list()
File "/home/oliv/.local/lib/python3.8/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/home/oliv/.local/share/woob/modules/3.0/bp/browser.py", line 500, in do_login
self.login_without_2fa()
File "/home/oliv/.local/share/woob/modules/3.0/bp/browser.py", line 480, in login_without_2fa
self.page.login(self.username, self.password)
File "/home/oliv/.local/share/woob/modules/3.0/bp/pages/login.py", line 102, in login
vk = Keyboard(self)
File "/home/oliv/.local/share/woob/modules/3.0/bp/pages/login.py", line 82, in __init__
self.check_symbols(self.symbols, page.browser.responses_dirname)
File "/home/oliv/.local/lib/python3.8/site-packages/woob/tools/captcha/virtkeyboard.py", line 174, in check_symbols
self.get_symbol_code(symbols[s])
File "/home/oliv/.local/share/woob/modules/3.0/bp/pages/login.py", line 85, in get_symbol_code
code = VirtKeyboard.get_symbol_code(self, md5sum)
File "/home/oliv/.local/lib/python3.8/site-packages/woob/tools/captcha/virtkeyboard.py", line 164, in get_symbol_code
'Code not found for these hashes "%s".'
TypeError: not all arguments converted during string formatting
------------------------------------------+----------+----------
bank>
### What are the steps to reproduce the problem?
- Launch the woob bank app
- bank> list
- Enter credentials
Account Balance Coming
------------------------------------------+----------+----------
[bp] Identifiant (hidden input):
[bp] Mot de passe (hidden input):
- errors
encoding error : input conversion failed due to input error, bytes 0x9D 0x09 0x70 0xD3
encoding error : input conversion failed due to input error, bytes 0x9D 0x09 0x70 0xD3
I/O error : encoder error
Bug(bp): not all arguments converted during string formatting
(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.
------------------------------------------+----------+----------
### What woob version are you using?
$ woob config --version
Woob config v3.0 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
### What module version are you using?
$ woob config info bp
.------------------------------------------------------------------------------.
| Module bp |
+-----------------.------------------------------------------------------------'
| Version | 202210101650
| Maintainer | Nicolas Duhamel <nicolas@jombi.fr>
| License | LGPLv3+
| Description | La Banque Postale
| Capabilities | CapTransfer, CapDocument, CapBankTransferAddRecipient, CapCredentialsCheck, CapBankWealth, CapBankTransfer, CapProfile, CapContact, CapBank, CapCollection
| Installed | yes
| Location | https://updates.woob.tech/3.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 woob?
$pip install woob
Requirement already satisfied: woob in ./.local/lib/python3.8/site-packages (3.0)
Requirement already satisfied: lxml in ./.local/lib/python3.8/site-packages (from woob) (4.9.1)
Requirement already satisfied: Babel in ./.local/lib/python3.8/site-packages (from woob) (2.11.0)
Requirement already satisfied: PyYAML in /usr/lib/python3/dist-packages (from woob) (5.3.1)
Requirement already satisfied: python-dateutil in ./.local/lib/python3.8/site-packages (from woob) (2.8.2)
Requirement already satisfied: unidecode in ./.local/lib/python3.8/site-packages (from woob) (1.3.6)
Requirement already satisfied: cssselect in ./.local/lib/python3.8/site-packages (from woob) (1.2.0)
Requirement already satisfied: requests>=2.0.0 in /usr/lib/python3/dist-packages (from woob) (2.22.0)
Requirement already satisfied: Pillow in ./.local/lib/python3.8/site-packages (from woob) (9.3.0)
Requirement already satisfied: html2text>=3.200 in ./.local/lib/python3.8/site-packages (from woob) (2020.1.16)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from woob) (1.14.0)
Requirement already satisfied: pytz>=2015.7 in ./.local/lib/python3.8/site-packages (from Babel->woob) (2022.6)
$lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focalhttps://gitlab.com/woob/woob/-/issues/615[housing][seloger] ClientError: 403 Client Error: HTTP Forbidden during search2023-10-16T16:35:08ZWeasel Soup[housing][seloger] ClientError: 403 Client Error: HTTP Forbidden during searchTrying out flatisfy, I noticed most housing modules are broken.
I then went to checkout woob's seloger module for more details and it's also broken in master.
### With which module do you encounter problems?
seloger
### Describe the p...Trying out flatisfy, I noticed most housing modules are broken.
I then went to checkout woob's seloger module for more details and it's also broken in master.
### With which module do you encounter problems?
seloger
### Describe the problem you encounter
Basic search errors on "ClientError: 403 Client Error: HTTP Forbidden"
### Paste here the stacktrace or error message you observe
```
$ woob housing --debug --verbose -b seloger search
=== [ 0%] Getting https://updates.woob.tech/3/main/
=== [100%] All modules are up-to-date.
2023-02-04 22:45:35,083:INFO:root:3.2:base.py:299:load_backends No backend loaded
Warning: there is currently no configured backend for housing
Do you want to configure backends? (Y/n):
Available modules:
1) [ ] avendrealouer avendrealouer website
2) [ ] bienici bienici website
3) [ ] entreparticuliers entreparticuliers.com website
4) [ ] explorimmo explorimmo website
5) [ ] fnaim www.fnaim.fr website
6) [ ] foncia Foncia housing website.
7) [ ] leboncoin search house on leboncoin website
8) [ ] lesterrains Les-Terrains.com
9) [ ] logicimmo logicimmo website
10) [ ] pap French housing website
11) [ ] seloger French housing website
a) --all-- install all backends
q) --stop--
Select a backend to create (q to stop): 11
2023-02-04 22:45:44,799:DEBUG:woob.core.modules.loader:3.2:modules.py:186:load_module Loaded module "seloger" from /home/roberto/.local/share/woob/modules/3.2/woob_modules/seloger
Backend "seloger" successfully added.
2023-02-04 22:45:44,800:DEBUG:woob.backend:3.2:modules.py:104:create_instance Created backend "seloger" for module "seloger"
Available modules:
1) [ ] avendrealouer avendrealouer website
2) [ ] bienici bienici website
3) [ ] entreparticuliers entreparticuliers.com website
4) [ ] explorimmo explorimmo website
5) [ ] fnaim www.fnaim.fr website
6) [ ] foncia Foncia housing website.
7) [ ] leboncoin search house on leboncoin website
8) [ ] lesterrains Les-Terrains.com
9) [ ] logicimmo logicimmo website
10) [ ] pap French housing website
11) [X] seloger French housing website
a) --all-- install all backends
q) --stop--
Select a backend to create (q to stop): q
Right right!
2023-02-04 22:45:48,208:DEBUG:woob.config:3.2:yamlconfig.py:72:load Loading configuration file: /home/roberto/.config/woob/housing.
2023-02-04 22:45:48,209:DEBUG:woob.config:3.2:yamlconfig.py:90:save Configuration file saved: /home/roberto/.config/woob/housing.
2023-02-04 22:45:48,209:DEBUG:woob.config:3.2:yamlconfig.py:79:load Configuration file created with default values: /home/roberto/.config/woob/housing.
Enter a city pattern (or empty to stop): nantes
2023-02-04 22:45:57,018:DEBUG:woob.core.bcall:3.2:bcall.py:86:backend_process <Backend 'seloger'>: Calling function search_city
2023-02-04 22:45:57,019:DEBUG:urllib3.util.retry:3.2:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-02-04 22:45:57,020:DEBUG:urllib3.util.retry:3.2:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-02-04 22:45:57,022:DEBUG:urllib3.connectionpool:3.2:connectionpool.py:1003:_new_conn Starting new HTTPS connection (1): autocomplete.svc.groupe-seloger.com:443
2023-02-04 22:45:57,273:DEBUG:urllib3.connectionpool:3.2:connectionpool.py:456:_make_request https://autocomplete.svc.groupe-seloger.com:443 "GET /auto/complete/0/Ville/6?text=nantes HTTP/1.1" 200 336
2023-02-04 22:45:57,277:DEBUG:woob.backend.seloger.browser:3.2:browsers.py:805:internal_callback Handle https://autocomplete.svc.groupe-seloger.com/auto/complete/0/Ville/6?text=nantes with CitiesPage
2023-02-04 22:45:57,277:DEBUG:woob.core.bcall:3.2:bcall.py:95:backend_process <Backend 'seloger'>: Called function search_city returned: <generator object ListElement.__iter__ at 0x7f1cef457680>
1) [ ] Nantes (44000, 44100, 44200, 44300) (seloger)
2) [ ] Nantes-en-Ratier (38350) (seloger)
Select cities (or empty to stop): 1
1) [x] Nantes (44000, 44100, 44200, 44300) (seloger)
2) [ ] Nantes-en-Ratier (38350) (seloger)
Select cities (or empty to stop):
Selected cities: Nantes (44000, 44100, 44200, 44300)
Enter a city pattern (or empty to stop):
1) [x] Apartment
2) [x] House
3) [x] Parking
4) [x] Land
5) [x] Other
6) [x] Unknown
Select type of house (or empty to stop):
0) FURNISHED_RENT
1) RENT
2) SALE
3) SHARING
4) VIAGER
Type of query: 1
1) [x] Professional
2) [x] Personal
Select type of posts (or empty to stop):
Enter min area: 10
Enter max area: 100
Enter min cost: 100
Enter max cost: 1000
Enter number of rooms: 2
Save query (y/n) [n]: y
Query name: test
2023-02-04 22:46:29,374:DEBUG:woob.config:3.2:yamlconfig.py:90:save Configuration file saved: /home/roberto/.config/woob/housing.
2023-02-04 22:46:29,375:DEBUG:woob.core.bcall:3.2:bcall.py:86:backend_process <Backend 'seloger'>: Calling function <bound method Application._do_complete of <woob.applications.housing.housing.AppHousing object at 0x7f1cefd6f730>>
2023-02-04 22:46:29,378:DEBUG:urllib3.connectionpool:3.2:connectionpool.py:1003:_new_conn Starting new HTTPS connection (1): www.seloger.com:443
2023-02-04 22:46:29,603:DEBUG:urllib3.connectionpool:3.2:connectionpool.py:456:_make_request https://www.seloger.com:443 "GET /list.html?projects=1&natures=1,2,4&places=%5B%7Bci:440109%7D%5D&types=1,2,3,4,10&price=100/1000&surface=10/100&rooms=2&enterprise=0&qsVersion=1.0&LISTING-LISTpg=1 HTTP/1.1" 403 582
2023-02-04 22:46:29,604:DEBUG:woob.core.bcall:3.2:bcall.py:92:backend_process <Backend 'seloger'>: Called function <bound method Application._do_complete of <woob.applications.housing.housing.AppHousing object at 0x7f1cefd6f730>> raised an error: ClientError('403 Client Error: HTTP Forbidden')
Bug(seloger): 403 Client Error: HTTP Forbidden
(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/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/core/bcall.py", line 88, in backend_process
result = function(backend, *args, **kwargs)
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/tools/application/base.py", line 347, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/roberto/.local/share/woob/modules/3.2/woob_modules/seloger/module.py", line 45, in search_housings
return self.browser.search_housings(query.type, cities, query.nb_rooms,
File "/home/roberto/.local/share/woob/modules/3.2/woob_modules/seloger/browser.py", line 76, in search_housings
return self.search.go(query=query,
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/url.py", line 102, in go
r = self.browser.location(self.build(**kwargs), params=params, data=data, json=json, method=method, headers=headers or {})
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/browsers.py", line 836, in location
response = self.open(*args, **kwargs)
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/browsers.py", line 823, in open
return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/browsers.py", line 687, in open
return super(DomainBrowser, self).open(req, *args, **kwargs)
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/browsers.py", line 392, in open
response = self.session.send(preq,
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/sessions.py", line 163, in send
return func(*args, **kwargs)
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/sessions.py", line 156, in func
return callback(self, resp)
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/browsers.py", line 387, in inner_callback
self.raise_for_status(response)
File "/home/roberto/opt/venv/woob/lib/python3.10/site-packages/woob/browser/browsers.py", line 447, in raise_for_status
raise ClientError(http_error_msg, response=response)
woob.browser.exceptions.ClientError: 403 Client Error: HTTP Forbidden
```
### What are the steps to reproduce the problem?
Freshly install woob and perform a search with seloger from command line
```
woob housing --debug --verbose -b seloger search
```
### What woob version are you using?
Output of `woob config --version` command:
Master from git (`9eaf814d59597be0682a3a87521e426407fa5fdd`)
```
woob config --version
Woob config v3.2 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
seloger
```
$ woob config info seloger
.------------------------------------------------------------------------------.
| Module seloger |
+-----------------.------------------------------------------------------------'
| Version | 202301291139
| Maintainer | Romain Bignon <romain@weboob.org>
| License | AGPLv3+
| Description | French housing website
| Capabilities | CapHousing
| Installed | yes
| Location | https://updates.woob.tech/3/main/seloger.tar.gz
'-----------------'
```
### How did you install woob?
pip
### Additional info you'd like to mention
Checking on the website right now the request looks like
```
https://www.seloger.com/list.htm?projects=1&types=2,1&places=[{%22inseeCodes%22:[440109]}]&price=NaN/10000&mandatorycommodities=0&enterprise=0&qsVersion=1.0&m=homepage_rent-redirection-search_results
```
From what I gather mostly `places` changed to `inseeCodes` not sure about the rest.https://gitlab.com/woob/woob/-/issues/612[bank][boursorama] woob.browser.pages.FormNotFound2023-01-23T22:28:04ZCamille Huot[bank][boursorama] woob.browser.pages.FormNotFound### With which module do you encounter problems?
`boursorama`
### Describe the problem you encounter
There is an error when trying to use the module.
### Paste here the stacktrace or error message you observe
```
/bankfetcher $ woob...### With which module do you encounter problems?
`boursorama`
### Describe the problem you encounter
There is an error when trying to use the module.
### Paste here the stacktrace or error message you observe
```
/bankfetcher $ woob bank --auto-update
Welcome to bank v3.0
Copyright(C) 2010-2023 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: boursorama
bank> list
Account Balance Coming
------------------------------------------+----------+----------
[boursorama] Identifiant (hidden input):
[boursorama] Mot de passe (hidden input):
Bug(boursorama):
=== [ 0%] Getting https://updates.woob.tech/3.0/main/
A new version of boursorama is available. Do you want to install it? (Y/n):
=== [ 20%] A new version of boursorama is available
=== [ 30%] Downloading module...
=== [ 50%] Checking module authenticity...
=== [ 70%] Setting up module...
=== [ 90%] Downloading icon...
=== [100%] Module boursorama has been installed!
New version of module boursorama has been installed. Retry to call the command.
------------------------------------------+----------+----------
bank> list
Account Balance Coming
------------------------------------------+----------+----------
Bug(boursorama):
=== [ 0%] Getting https://updates.woob.tech/3.0/main/
Use "logging debug" option to print backtraces.
------------------------------------------+----------+----------
bank> logging debug
bank> list
Account Balance Coming
------------------------------------------+----------+----------
2023-01-22 15:49:53,609:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'boursorama'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f3a817c8d00>>
2023-01-22 15:49:53,641:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://clients.boursorama.com:443 "GET /connexion/saisie-mot-de-passe HTTP/1.1" 200 None
2023-01-22 15:49:53,654:DEBUG:backend.boursorama.browser:3.0:browsers.py:880:internal_callback Handle https://clients.boursorama.com/connexion/saisie-mot-de-passe with PasswordPage
2023-01-22 15:49:53,678:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://clients.boursorama.com:443 "GET /connexion/clavier-virtuel?_hinclude=1 HTTP/1.1" 200 None
2023-01-22 15:49:53,684:DEBUG:backend.boursorama.browser:3.0:browsers.py:880:internal_callback Handle https://clients.boursorama.com/connexion/clavier-virtuel?_hinclude=1 with VirtKeyboardPage
2023-01-22 15:49:53,686:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'boursorama'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f3a817c8d00>> raised an error: FormNotFound()
Bug(boursorama):
=== [ 0%] Getting https://updates.woob.tech/3.0/main/
2023-01-22 15:49:53,767:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://updates.woob.tech:443 "GET /3.0/main/modules.list HTTP/1.1" 200 67838
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/woob/.local/share/woob/modules/3.0/boursorama/module.py", line 194, in iter_resources
File "/home/woob/.local/share/woob/modules/3.0/boursorama/module.py", line 71, in iter_accounts
File "/usr/lib/python3.9/site-packages/woob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/usr/lib/python3.9/site-packages/woob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/usr/lib/python3.9/site-packages/woob/browser/retry.py", line 45, in wrapper
return func(browser, *args, **kwargs)
File "/home/woob/.local/share/woob/modules/3.0/boursorama/browser.py", line 439, in do_login
raise AssertionError("Land on incident page but didn't found any error message")
File "/home/woob/.local/share/woob/modules/3.0/boursorama/compat/woob_browser_mfa.py", line 227, in do_double_authentication
self.init_login()
File "/home/woob/.local/share/woob/modules/3.0/boursorama/browser.py", line 347, in init_login
self.otp_number = self.user_hash = self.otp_token = None
File "/home/woob/.local/share/woob/modules/3.0/boursorama/pages.py", line 256, in enter_password
form = self.get_form()
File "/usr/lib/python3.9/site-packages/woob/browser/pages.py", line 763, in get_form
raise FormNotFound()
woob.browser.pages.FormNotFound
------------------------------------------+----------+----------
bank>
```
### What are the steps to reproduce the problem?
See trace above.
### What woob version are you using?
Output of `woob config --version` command:
```
/bankfetcher $ woob config --version
Woob config v3.0 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
/bankfetcher $ woob config info boursorama
.------------------------------------------------------------------------------.
| Module boursorama |
+-----------------.------------------------------------------------------------'
| Version | 202211031721
| Maintainer | Gabriel Kerneis <gabriel@kerneis.info>
| License | LGPLv3+
| Description | Boursorama
| Capabilities | CapBank, CapTransfer, CapDocument, CapBankTransferAddRecipient, CapCredentialsCheck, CapBankWealth, CapBankTransfer, CapCurrencyRate, CapContact, CapProfile, CapCollection
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/boursorama.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | code: None
| | request_information: None
'-----------------'
```
### How did you install woob?
not sure
### Additional info you'd like to mention
Same error with multiple accounts.https://gitlab.com/woob/woob/-/issues/611[bank][caissedepargne,bp] Unable to load module bp or caissedepargne - "No mo...2023-03-27T17:22:47Zarnmax[bank][caissedepargne,bp] Unable to load module bp or caissedepargne - "No module named 'woob.tools.compat'"### With which module do you encounter problems?
"caissedepargne" and "bp"
### Describe the problem you encounter
kresus can't update bp and caissedepargne bank accounts, i.e:
```
[2023-01-08T12:23:41.118] [ERROR] helpers - when creati...### With which module do you encounter problems?
"caissedepargne" and "bp"
### Describe the problem you encounter
kresus can't update bp and caissedepargne bank accounts, i.e:
```
[2023-01-08T12:23:41.118] [ERROR] helpers - when creating a bank access: Unable to load module caissedepargne.
Traceback (most recent call last):
File "/home/pi/Documents/kresus/node_modules/kresus/build/server/providers/woob/py/main.py", line 920, in main
woob_connector.create_backend(bank_module, params, session)
File "/home/pi/Documents/kresus/node_modules/kresus/build/server/providers/woob/py/main.py", line 527, in create_backend
self.backend = self.woob.build_backend(
File "/home/pi/.local/lib/python3.9/site-packages/woob/core/woob.py", line 445, in build_backend
raise ModuleLoadError(module_name, 'Module does not exist.')
woob.exceptions.ModuleLoadError: Module does not exist.
```
### Paste here the stacktrace or error message you observe
If I try a simple "woob config list" command:
```
2023-01-08 12:36:16,299:WARNING:woob.applications.config:3.1:config.py:165:do_list Unable to load module 'caissedepargne': No module named 'woob.tools.compat'
```
### What are the steps to reproduce the problem?
Simply try to load the modules.
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.1 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info caissedepargne` command:
```
.------------------------------------------------------------------------------.
| Module caissedepargne |
+-----------------.------------------------------------------------------------'
| Version | 202212091536
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | Caisse d'Épargne
| Capabilities | CapCredentialsCheck, CapProfile, CapCollection, CapTransfer, CapContact, CapBankTransfer, CapBank, CapBankTransferAddRecipient, CapBankWealth, CapDocument
| Installed | no
| Location | https://updates.woob.tech/3.1/main/caissedepargne.tar.gz
'-----------------'
```
### How did you install woob?
piphttps://gitlab.com/woob/woob/-/issues/610[hsbc] when adding support for `coming` transactions, account balance is inco...2023-12-18T10:33:14ZLudovic LANGE[hsbc] when adding support for `coming` transactions, account balance is incorrect (it includes `coming` transactions) - request for commentsShort version: hsbc (the website) shows an account balance that include the sum of the coming transactions (i.e. : available balance). I'd like to split it in two : `balance` (ledger balance) and `coming` (available balance - ledger bala...Short version: hsbc (the website) shows an account balance that include the sum of the coming transactions (i.e. : available balance). I'd like to split it in two : `balance` (ledger balance) and `coming` (available balance - ledger balance).
Long version:
For the moment, `woob` does not distinguish between `coming` and non-`coming` transactions in `hsbc` module.
I would like to add support for those `coming` transactions.
Why ? I'm trying to split apart the `coming` transactions and the non-`coming` ones, because a `coming` transaction lacks details about the transaction itself (label only showing the transaction internal id, transaction type).
It's only after a transaction has been accounted for in hsbc that it gets its full label details.
e.g.:
* today is 2023-01-01, if have a transaction whose date is `2023-01-02` and label is only : `VR SEPA EMIS XXX0XXX`
* next day is 2023-01-02, the transaction date is unchanged, but the label is now : `VIREMENT SEPA EMIS YCO0 12345 COMMENT REFERENCE LABEL PAYEE`
Having a transaction that 'changes' from one day to the next one is difficult to work with - I have no way to reconcile those apart from date + amount, which is not enough - and so I want to completely get rid of those `coming` transactions.
Which looks quite easy, indeed, a raw patch looks like:
```
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
modified: modules/hsbc/browser.py
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@ modules/hsbc/browser.py:662 @ def match_card(tr):
return history
elif self.life_insurance_useless.is_here():
return []
- elif not coming:
- return self._get_history()
else:
- raise NotImplementedError()
-
- def _get_history(self):
- for tr in self.page.get_history():
- yield tr
+ for tr in self.page.get_history():
+ if (tr._coming == coming):
+ yield tr
def get_investments(self, account, retry_li=True):
if not account.url:
```
With this, `iter_history` only returns accounted for transactions, and `iter_coming` only returns `coming` transactions.
So far, so good.
But the issue now is that the account balance is incorrect. Indeed, the account balance (as retrieved from the hsbc web site) *includes* the `coming` transactions.
I'd like to fix this, and was wondering what the best way was.
AFAIK the only "part" of the website that computes the value for us are the `ofx`, `txt` or `csv` data export which do show the correct balance (ledger balancer).
So that could be one possibility (albeit looks slow and complex).
Another approach would be, in the account retrieval, to open the history page, identify the `coming` transactions, compute the `coming` balance and substract it from the `available` balance.
What would be your recommended way ?
Notes: My hsbc account is a `new_space` one.https://gitlab.com/woob/woob/-/issues/609[bank][cic] cannot get balance since 1st January 20232023-01-04T21:01:47ZVincent Frison[bank][cic] cannot get balance since 1st January 2023
### With which module do you encounter problems?
CIC
### Describe the problem you encounter
Since the 1st January 2023 the 'ls' command returns nothing. So I did a update from Git and now I have that error on 'ls' output:
Bug(cic): '...
### With which module do you encounter problems?
CIC
### Describe the problem you encounter
Since the 1st January 2023 the 'ls' command returns nothing. So I did a update from Git and now I have that error on 'ls' output:
Bug(cic): 'NoneType' object has no attribute 'get_action_needed_message'
Maybe the issue is not linked the year change.
### Paste here the stacktrace or error message you observe
Here are the end of the output of woob bank --debug ls:
2023-01-04 21:50:27,714:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:457:_make_request https://www.cic.fr:443 "GET /fr/banque/rib.cgi HTTP/1.1" 200 None
2023-01-04 21:50:27,793:DEBUG:woob.backend.cic.browser:3.1:browsers.py:892:internal_callback Handle https://www.cic.fr/fr/banque/rib.cgi with IbanPage
2023-01-04 21:50:28,174:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:457:_make_request https://www.cic.fr:443 "GET /fr/banque/SYNT_Synthese.aspx?entete=1 HTTP/1.1" 302 0
2023-01-04 21:50:28,685:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:457:_make_request https://www.cic.fr:443 "GET /fr/banque/SYNT_AccueilBourse.aspx HTTP/1.1" 200 None
2023-01-04 21:50:28,741:DEBUG:woob.backend.cic.browser:3.1:browsers.py:906:internal_callback Unable to handle https://www.cic.fr/fr/banque/SYNT_AccueilBourse.aspx
Bug(cic): 'NoneType' object has no attribute 'get_action_needed_message'
(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/turman/.local/lib/python3.10/site-packages/woob/core/bcall.py", line 105, in backend_process
for subresult in result:
File "/home/turman/.local/lib/python3.10/site-packages/woob/tools/application/base.py", line 330, in _do_complete_iter
for i, sub in enumerate(res):
File "/home/turman/.local/share/woob/modules/3.1/woob_modules/creditmutuel/module.py", line 74, in iter_accounts
for account in self.browser.get_accounts_list():
File "/home/turman/.local/lib/python3.10/site-packages/woob/browser/browsers.py", line 996, in inner
return func(browser, *args, **kwargs)
File "/home/turman/.local/share/woob/modules/3.1/woob_modules/creditmutuel/browser.py", line 743, in get_accounts_list
self.go_por_accounts()
File "/home/turman/.local/lib/python3.10/site-packages/woob/browser/browsers.py", line 996, in inner
return func(browser, *args, **kwargs)
File "/home/turman/.local/share/woob/modules/3.1/woob_modules/creditmutuel/browser.py", line 846, in go_por_accounts
message = self.page.get_action_needed_message()
AttributeError: 'NoneType' object has no attribute 'get_action_needed_message'
---------------------------------------------------------+----------+----------
2023-01-04 21:50:28,819:DEBUG:woob.backend.cic.browser:3.1:browsers.py:1109:dump_state Stored cookies into storage
2023-01-04 21:50:28,823:DEBUG:woob.config:3.1:yamlconfig.py:92:save Configuration file saved: /home/turman/.config/woob/bank.storage.
### What are the steps to reproduce the problem?
woob bank ls
### What woob version are you using?
Woob config v3.1 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
### What module version are you using?
.------------------------------------------------------------------------------.
| Module cic |
+-----------------.------------------------------------------------------------'
| Version | 202208081152
| Maintainer | Julien Veyssier <julien.veyssier@aiur.fr>
| License | LGPLv3+
| Description | CIC
| Capabilities | CapCredentialsCheck, CapProfile, CapCollection, CapTransfer, CapBankMatching, CapContact, CapBankTransfer, CapBank, CapBankTransferAddRecipient, CapBankWealth, CapDocument
| Installed | yes
| Location | https://updates.woob.tech/3.1/main/cic.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | resume: None
| | request_information: None
| | code: None
'-----------------'
### How did you install woob?
Githttps://gitlab.com/woob/woob/-/issues/608[bank][CIC]Unknown error: 'NoneType' object has no attribute 'get_action_need...2023-01-16T09:25:04Zkoanya[bank][CIC]Unknown error: 'NoneType' object has no attribute 'get_action_needed_message'### With which module do you encounter problems?
CIC
### Describe the problem you encounter
Since the 1st January, I have the error "Unknown error: 'NoneType' object has no attribute 'get_action_needed_message'" when I tried to sync my ...### With which module do you encounter problems?
CIC
### Describe the problem you encounter
Since the 1st January, I have the error "Unknown error: 'NoneType' object has no attribute 'get_action_needed_message'" when I tried to sync my CIC account. I use Woob via Kresus. I tried directly with Woob with "woob bank" and "list" command and I had the same error message.
### Paste here the stacktrace or error message you observe
```
[2023-01-02T13:57:46.702] [INFO] HTTP - DELETE /api/logs - 200 (8 ms)
[2023-01-02T13:57:48.408] [INFO] providers/woob - Calling woob: command test...
[2023-01-02T13:57:48.409] [INFO] providers/woob - Woob will be updated prior to command "test"
[2023-01-02T13:57:50.082] [INFO] providers/woob - exited with code 0.
[2023-01-02T13:57:50.082] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2023-01-02T13:57:50.085] [INFO] HTTP - PUT /api/instance/woob/ - 200 (1678 ms)
[2023-01-02T13:57:55.947] [INFO] providers/woob - Calling woob: command operations...
[2023-01-02T13:58:23.989] [INFO] providers/woob - exited with code 1.
[2023-01-02T13:58:23.989] [WARN] providers/woob - stderr: 2023-01-02 13:57:56,587:DEBUG:modules:modules.py:166:load_module Loaded module "cic" from /home/kresus/database/woob-data/modules/3.0/cic
2023-01-02 13:57:56,832:DEBUG:modules:modules.py:166:load_module Loaded module "creditmutuel" from /home/kresus/database/woob-data/modules/3.0/creditmutuel
2023-01-02 13:57:56,834:DEBUG:backend:modules.py:97:create_instance Created backend "cic" for module "cic"
2023-01-02 13:57:56,843:DEBUG:urllib3.util.retry:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-01-02 13:57:56,843:DEBUG:urllib3.util.retry:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2023-01-02 13:57:56,855:DEBUG:woob.cic.browser:woob_browser_mfa.py:59:_load_cookies Reloaded cookies from storage
2023-01-02 13:57:56,866:DEBUG:urllib3.connectionpool:connectionpool.py:973:_new_conn Starting new HTTPS connection (1): www.cic.fr:443
2023-01-02 13:57:57,057:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 HTTP/1.1" 302 0
2023-01-02 13:57:57,269:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/authentification.html HTTP/1.1" 200 None
2023-01-02 13:57:57,302:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/authentification.html with LoginPage
2023-01-02 13:57:57,497:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/authentification.html HTTP/1.1" 200 None
2023-01-02 13:57:57,526:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/authentification.html with LoginPage
2023-01-02 13:57:58,199:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "POST /fr/authentification.html HTTP/1.1" 302 0
2023-01-02 13:57:58,206:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/authentification.html with LoginPage
2023-01-02 13:57:58,773:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/pageaccueil.html?referer=paci HTTP/1.1" 200 None
2023-01-02 13:57:58,838:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/pageaccueil.html?referer=paci with NewHomePage
2023-01-02 13:57:59,131:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/ModeAuthentification.html HTTP/1.1" 200 None
2023-01-02 13:57:59,176:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/ModeAuthentification.html with AuthenticationModePage
2023-01-02 13:57:59,535:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/comptes-et-contrats.html HTTP/1.1" 200 None
2023-01-02 13:57:59,591:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/comptes-et-contrats.html with NewAccountsPage
2023-01-02 13:58:00,241:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/SCIM_default.aspx?_tabi=C&_stack=SCIM_ListeActivityStep%3A%3A&_pid=ListeCartes&_fid=ChangeList&Data_ServiceListDatas_CurrentType=MyCards HTTP/1.1" 200 None
2023-01-02 13:58:00,292:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/SCIM_default.aspx?_tabi=C&_stack=SCIM_ListeActivityStep%3A%3A&_pid=ListeCartes&_fid=ChangeList&Data_ServiceListDatas_CurrentType=MyCards with NewCardsListPage
2023-01-02 13:58:00,646:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "POST /fr/banque/SCIM_default.aspx?_tabi=C&_stack=SCIM_ListeActivityStep%3A%3Assid%3D%2Cta%3DSCIM_Liste%2Csvcd%3D%2Cfsv%3DV2%2Cscp%3D&_pid=ListeCartes HTTP/1.1" 302 0
2023-01-02 13:58:01,193:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/PCS2_FUNCTIONS.aspx?_charset=utf-8&_tabi=C&mnc=IDLIEN_PCS2_FUNCTIONS&aid=SCIM_Fonction&mncret=PCS1_LIST&itaret=as%3DSCIM_ListeActivityStep%253a%253assid%253d%252cta%253dSCIM_Liste%252csvcd%253d%252cfsv%253dV2%252cscp%253d%252fSCIM_ListeRouter%253a%253a&ssid=A3fb0Z80Bki%2Bhmpo24HMhg%3D%3DMTAuMy4xLjEzNzo4MDAz&ta=SCIM_Fonction&svcd=MyCards~1~False~0~0~1300005557434~0&fsv=V2&scp= HTTP/1.1" 200 None
2023-01-02 13:58:01,255:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/PCS2_FUNCTIONS.aspx?_charset=utf-8&_tabi=C&mnc=IDLIEN_PCS2_FUNCTIONS&aid=SCIM_Fonction&mncret=PCS1_LIST&itaret=as%3dSCIM_ListeActivityStep%253a%253assid%253d%252cta%253dSCIM_Liste%252csvcd%253d%252cfsv%253dV2%252cscp%253d%252fSCIM_ListeRouter%253a%253a&ssid=A3fb0Z80Bki%2bhmpo24HMhg%3d%3dMTAuMy4xLjEzNzo4MDAz&ta=SCIM_Fonction&svcd=MyCards~1~False~0~0~1300005557434~0&fsv=V2&scp= with NewCardsListPage
2023-01-02 13:58:01,805:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/SCIM_default.aspx HTTP/1.1" 200 None
2023-01-02 13:58:02,290:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/SCIM_default.aspx with NewCardsListPage
2023-01-02 13:58:02,584:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/pro/ENC_liste_tiers.aspx HTTP/1.1" 200 None
2023-01-02 13:58:02,619:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/pro/ENC_liste_tiers.aspx with CardsActivityPage
2023-01-02 13:58:02,976:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/comptes-et-contrats.html HTTP/1.1" 200 None
2023-01-02 13:58:03,070:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/comptes-et-contrats.html with NewAccountsPage
2023-01-02 13:58:03,383:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/CR/consultationAmo.asp?webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd&rib=100571943500077646202EUR HTTP/1.1" 302 0
2023-01-02 13:58:06,358:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646202EUR&webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd HTTP/1.1" 200 None
2023-01-02 13:58:06,437:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646202EUR&webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd with LoansOperationsPage
2023-01-02 13:58:06,464:DEBUG:urllib3.connectionpool:connectionpool.py:973:_new_conn Starting new HTTPS connection (2): www.cic.fr:443
2023-01-02 13:58:06,741:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/CR/consultationAmo.asp?webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd&rib=100571943500077646202EUR HTTP/1.1" 302 0
2023-01-02 13:58:06,857:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/CR/consultationAmo.asp?webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd&rib=100571943500077646202EUR HTTP/1.1" 302 0
2023-01-02 13:58:08,804:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646202EUR&webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd HTTP/1.1" 200 None
2023-01-02 13:58:08,866:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646202EUR&webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd with LoansOperationsPage
2023-01-02 13:58:09,626:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646202EUR&webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd HTTP/1.1" 200 None
2023-01-02 13:58:09,676:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646202EUR&webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd with LoansOperationsPage
2023-01-02 13:58:10,031:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/CR/consultationAmo.asp?webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192&rib=100571943500077646208EUR HTTP/1.1" 302 0
2023-01-02 13:58:12,740:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 HTTP/1.1" 200 None
2023-01-02 13:58:12,832:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 with LoansOperationsPage
2023-01-02 13:58:12,852:DEBUG:urllib3.connectionpool:connectionpool.py:272:_get_conn Resetting dropped connection: www.cic.fr
2023-01-02 13:58:13,113:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/CR/consultationAmo.asp?webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192&rib=100571943500077646208EUR HTTP/1.1" 302 0
2023-01-02 13:58:13,357:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/CR/consultationAmo.asp?webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192&rib=100571943500077646208EUR HTTP/1.1" 302 0
2023-01-02 13:58:15,573:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 HTTP/1.1" 200 None
2023-01-02 13:58:15,640:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 with LoansOperationsPage
2023-01-02 13:58:15,706:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 HTTP/1.1" 200 None
2023-01-02 13:58:15,766:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 with LoansOperationsPage
2023-01-02 13:58:16,302:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/mouvements.html?webid=9470c096679d737c5a145572b96f41a044ddf3c41bbcb99bd1a6985cb651ed18 HTTP/1.1" 200 None
2023-01-02 13:58:16,371:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/mouvements.html?webid=9470c096679d737c5a145572b96f41a044ddf3c41bbcb99bd1a6985cb651ed18 with OperationsPage
2023-01-02 13:58:16,661:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/CR/consultationAmo.asp?webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd&rib=100571943500077646202EUR HTTP/1.1" 302 0
2023-01-02 13:58:19,317:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646202EUR&webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd HTTP/1.1" 200 None
2023-01-02 13:58:19,374:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646202EUR&webid=63a1db006adb033262d5897276b20ddc37ff1ca5b6925f5adfb4b4181eea47fd with LoansOperationsPage
2023-01-02 13:58:19,712:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/CR/consultationAmo.asp?webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192&rib=100571943500077646208EUR HTTP/1.1" 302 0
2023-01-02 13:58:22,249:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 HTTP/1.1" 200 None
2023-01-02 13:58:22,290:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/gec9.aspx?mnc=TRS_CONSULT_AMO_GECWEB&cid=&rib=100571943500077646208EUR&webid=ff2ef760215b86785a937d4c08880c69e6df633682e8cef10c61382c0b578192 with LoansOperationsPage
2023-01-02 13:58:22,711:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/rib.cgi HTTP/1.1" 200 20380
2023-01-02 13:58:22,747:DEBUG:woob.cic.browser:browsers.py:880:internal_callback Handle https://www.cic.fr/fr/banque/rib.cgi with IbanPage
2023-01-02 13:58:23,198:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/SYNT_Synthese.aspx?entete=1 HTTP/1.1" 302 0
2023-01-02 13:58:23,749:DEBUG:urllib3.connectionpool:connectionpool.py:452:_make_request https://www.cic.fr:443 "GET /fr/banque/SYNT_AccueilBourse.aspx HTTP/1.1" 200 None
2023-01-02 13:58:23,814:DEBUG:woob.cic.browser:browsers.py:894:internal_callback Unable to handle https://www.cic.fr/fr/banque/SYNT_AccueilBourse.aspx
[2023-01-02T13:58:23.990] [INFO] providers/woob - Command returned an error code.
[2023-01-02T13:58:23.991] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2023-01-02T13:58:23.992] [INFO] providers/woob - Calling woob: command test...
[2023-01-02T13:58:24.700] [INFO] providers/woob - exited with code 0.
[2023-01-02T13:58:24.701] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2023-01-02T13:58:24.701] [ERROR] providers/woob - Got error while running command "operations": Unknown error: 'NoneType' object has no attribute 'get_action_needed_message'.
Traceback (most recent call last):
File "/home/kresus/node_modules/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/home/kresus/node_modules/kresus/build/server/providers/woob/py/main.py", line 589, in get_operations
for account in list(self.backend.iter_accounts()):
File "/home/kresus/database/woob-data/modules/3.0/creditmutuel/module.py", line 74, in iter_accounts
for account in self.browser.get_accounts_list():
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/kresus/database/woob-data/modules/3.0/creditmutuel/browser.py", line 717, in get_accounts_list
self.go_por_accounts()
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/kresus/database/woob-data/modules/3.0/creditmutuel/browser.py", line 812, in go_por_accounts
message = self.page.get_action_needed_message()
AttributeError: 'NoneType' object has no attribute 'get_action_needed_message'
[2023-01-02T13:58:24.702] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
[2023-01-02T13:58:24.730] [ERROR] helpers - when fetching operations: Unknown error: 'NoneType' object has no attribute 'get_action_needed_message'.
Traceback (most recent call last):
File "/home/kresus/node_modules/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
results['values'] = self.get_operations(from_date)
File "/home/kresus/node_modules/kresus/build/server/providers/woob/py/main.py", line 589, in get_operations
for account in list(self.backend.iter_accounts()):
File "/home/kresus/database/woob-data/modules/3.0/creditmutuel/module.py", line 74, in iter_accounts
for account in self.browser.get_accounts_list():
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/kresus/database/woob-data/modules/3.0/creditmutuel/browser.py", line 717, in get_accounts_list
self.go_por_accounts()
File "/home/kresus/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/kresus/database/woob-data/modules/3.0/creditmutuel/browser.py", line 812, in go_por_accounts
message = self.page.get_action_needed_message()
AttributeError: 'NoneType' object has no attribute 'get_action_needed_message'
[2023-01-02T13:58:24.732] [INFO] helpers - Error
at new KError (/home/kresus/node_modules/kresus/build/server/helpers.js:59:22)
at callWoob (/home/kresus/node_modules/kresus/build/server/providers/woob/index.js:188:15)
at async _fetchHelper (/home/kresus/node_modules/kresus/build/server/providers/woob/index.js:245:16)
at async Object.fetchOperations (/home/kresus/node_modules/kresus/build/server/providers/woob/index.js:270:12)
at async pollTransactions (/home/kresus/node_modules/kresus/build/server/lib/accounts-manager.js:215:34)
at async AccountManager.syncTransactions (/home/kresus/node_modules/kresus/build/server/lib/accounts-manager.js:338:24)
at async fetchOperations (/home/kresus/node_modules/kresus/build/server/controllers/accesses.js:205:37)
[2023-01-02T13:58:24.735] [ERROR] HTTP - POST /api/accesses/1/fetch/operations - 500 (28853 ms)
[2023-01-02T13:58:30.820] [INFO] providers/woob - Calling woob: command version...
[2023-01-02T13:58:31.536] [INFO] providers/woob - exited with code 0.
[2023-01-02T13:58:31.537] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2023-01-02T13:58:31.542] [INFO] HTTP - GET /api/instance/woob - 304 (722 ms)
```
### What are the steps to reproduce the problem
Sync a CIC account
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.1 Copyright(C) 2010-2023 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info cic` command:
```
.------------------------------------------------------------------------------.
| Module cic |
+-----------------.------------------------------------------------------------'
| Version | 202208081152
| Maintainer | Julien Veyssier <julien.veyssier@aiur.fr>
| License | LGPLv3+
| Description | CIC
| Capabilities | CapCredentialsCheck, CapProfile, CapCollection, CapTransfer, CapBankMatching, CapContact, CapBankTransfer, CapBank, CapBankTransferAddRecipient, CapBankWealth, CapDocument
| Installed | yes
| Location | https://updates.woob.tech/3.1/main/cic.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | resume: None
| | request_information: None
| | code: None
'-----------------'
```
### How did you install woob?
piphttps://gitlab.com/woob/woob/-/issues/606[bank][bp]Unknown error: not all arguments converted during string formatting2023-02-02T19:10:26ZBerth Hille[bank][bp]Unknown error: not all arguments converted during string formatting### With which module do you encounter problems?
BP (La Banque Postale)
### Describe the problem you encounter
impossible to connect to the bank's website
### Paste here the stacktrace or error message you observe
**Error message with ...### With which module do you encounter problems?
BP (La Banque Postale)
### Describe the problem you encounter
impossible to connect to the bank's website
### Paste here the stacktrace or error message you observe
**Error message with openssl :**
> encoding error : input conversion failed due to input error, bytes 0x8D 0x96 0xA3 0xB6
> encoding error : input conversion failed due to input error, bytes 0x8D 0x96 0xA3 0xB6
> I/O error : encoder error
> Bug(bp): not all arguments converted during string formatting
> (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.
_with logging debug:_
> 2022-12-13 21:26:52,559:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
> 2022-12-13 21:26:52,559:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
> 2022-12-13 21:26:52,620:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "linebourse" from /home/mecano/.local/share/woob/modules/3.0/linebourse
> 2022-12-13 21:26:52,620:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
> 2022-12-13 21:26:52,620:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
> 2022-12-13 21:26:52,624:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:973:_new_conn Starting new HTTPS connection (1): voscomptesenligne.labanquepostale.fr:443
> 2022-12-13 21:26:52,840:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers HTTP/1.1" 200 None
> 2022-12-13 21:26:52,857:DEBUG:backend.bp.browser:3.0:browsers.py:880:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers with LoginPage
> 2022-12-13 21:26:52,938:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.8401846303690376 HTTP/1.1" 200 3516
> encoding error : input conversion failed due to input error, bytes 0x9D 0x09 0x70 0x94
> encoding error : input conversion failed due to input error, bytes 0x9D 0x09 0x70 0x94
> I/O error : encoder error
> 2022-12-13 21:26:52,946:DEBUG:backend.bp.browser:3.0:browsers.py:880:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.8401846303690376 with UselessPage
> 2022-12-13 21:26:52,975:DEBUG:PIL.PngImagePlugin:3.0:PngImagePlugin.py:201:call STREAM b'IHDR' 16 13
> 2022-12-13 21:26:52,976:DEBUG:PIL.PngImagePlugin:3.0:PngImagePlugin.py:201:call STREAM b'IDAT' 41 3459
> 2022-12-13 21:26:53,030:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'bp'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f6c5013c550>> raised an error: TypeError('not all arguments converted during string formatting')
> Bug(bp): not all arguments converted during string formatting
> (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/mecano/.local/lib/python3.9/site-packages/woob/core/bcall.py", line 94, in backend_process
> result = function(backend, *args, **kwargs)
> File "/home/mecano/.local/lib/python3.9/site-packages/woob/tools/application/base.py", line 349, in _do_complete
> res = getattr(backend, function)(*args, **kwargs)
> File "/home/mecano/.local/share/woob/modules/3.0/bp/module.py", line 181, in iter_resources
> return self.iter_accounts()
> File "/home/mecano/.local/share/woob/modules/3.0/bp/module.py", line 80, in iter_accounts
> return self.browser.get_accounts_list()
> File "/home/mecano/.local/lib/python3.9/site-packages/woob/browser/browsers.py", line 981, in inner
> browser.do_login()
> File "/home/mecano/.local/share/woob/modules/3.0/bp/browser.py", line 500, in do_login
> self.login_without_2fa()
> File "/home/mecano/.local/share/woob/modules/3.0/bp/browser.py", line 480, in login_without_2fa
> self.page.login(self.username, self.password)
> File "/home/mecano/.local/share/woob/modules/3.0/bp/pages/login.py", line 102, in login
> vk = Keyboard(self)
> File "/home/mecano/.local/share/woob/modules/3.0/bp/pages/login.py", line 82, in __init__
> self.check_symbols(self.symbols, page.browser.responses_dirname)
> File "/home/mecano/.local/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 174, in check_symbols
> self.get_symbol_code(symbols[s])
> File "/home/mecano/.local/share/woob/modules/3.0/bp/pages/login.py", line 85, in get_symbol_code
> code = VirtKeyboard.get_symbol_code(self, md5sum)
> File "/home/mecano/.local/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 164, in get_symbol_code
> 'Code not found for these hashes "%s".'
> TypeError: not all arguments converted during string formatting
**Error message with libnss:**
> Bug(bp): HTTPSConnectionPool(host='voscomptesenligne.labanquepostale.fr', port=443): Max retries exceeded with url: /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers (Caused by SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.")))
> (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.
_with logging debug:_
> 2022-12-13 21:33:15,139:WARNING:urllib3.connectionpool:3.0:connectionpool.py:780:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user."))': /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers
> 2022-12-13 21:33:15,220:WARNING:urllib3.connectionpool:3.0:connectionpool.py:780:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user."))': /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers
> Bug(bp): HTTPSConnectionPool(host='voscomptesenligne.labanquepostale.fr', port=443): Max retries exceeded with url: /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers (Caused by SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.")))
### What are the steps to reproduce the problem?
```
$woob bank or woob bank --nss
bank>list
```
### What woob version are you using?
Woob config v3.0 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon
### What module version are you using?
------------------------------------------------------------------------------.
| Module bp |
+-----------------.------------------------------------------------------------'
| Version | 202210101650
### How did you install woob?
as a dependance of kresus on yunohost system
### Additional info you'd like to mention
System version: YunoHost 11.0.10.2 (stable)
Kresus version : 0.18.1~ynh9https://gitlab.com/woob/woob/-/issues/605[bank][caissedepargne] 'NotLoadedType' object has no attribute 'upper'2022-12-17T10:13:38ZBenoit Rob Er Del[bank][caissedepargne] 'NotLoadedType' object has no attribute 'upper'Hi,
since a a few days i have the following error when i try to get my caissedepargne history :
~~~
ben_caro@Chimay:~$ ~ben_caro/venv_python/woob/bin/woob bank --nss --debug history xxxxxxxx@caissedepargne 2022-12-01
2022-12-06 22:04:4...Hi,
since a a few days i have the following error when i try to get my caissedepargne history :
~~~
ben_caro@Chimay:~$ ~ben_caro/venv_python/woob/bin/woob bank --nss --debug history xxxxxxxx@caissedepargne 2022-12-01
2022-12-06 22:04:43,364:DEBUG:woob.config:3.0:yamlconfig.py:75:load Loading configuration file: /home/ben_caro/.config/woob/bank.storage.
2022-12-06 22:04:43,365:DEBUG:woob.config:3.0:yamlconfig.py:79:load Configuration file loaded: /home/ben_caro/.config/woob/bank.storage.
2022-12-06 22:04:43,411:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "caissedepargne" from /home/ben_caro/.local/share/woob/modules/3.0/caissedepargne
2022-12-06 22:04:43,411:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "caissedepargne" for module "caissedepargne"
2022-12-06 22:04:43,422:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "fortuneo" from /home/ben_caro/.local/share/woob/modules/3.0/fortuneo
2022-12-06 22:04:43,422:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "fortuneo" for module "fortuneo"
2022-12-06 22:04:43,427:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "spirica" from /home/ben_caro/.local/share/woob/modules/3.0/spirica
2022-12-06 22:04:43,427:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "spirica" for module "spirica"
2022-12-06 22:04:43,427:DEBUG:woob.config:3.0:iniconfig.py:53:load Loading application configuration file: /home/ben_caro/.config/woob/bank.
2022-12-06 22:04:43,427:DEBUG:woob.config:3.0:iniconfig.py:73:load Application configuration file loaded: /home/ben_caro/.config/woob/bank.
2022-12-06 22:04:43,431:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'caissedepargne'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f526d5658d0>>
[caissedepargne] Mot de passe (hidden input):
2022-12-06 22:04:47,999:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,002:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,018:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "linebourse" from /home/ben_caro/.local/share/woob/modules/3.0/linebourse
2022-12-06 22:04:48,019:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,019:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,019:INFO:backend.caissedepargne.browser:3.0:switch.py:90:set_browser using 'main' browser
2022-12-06 22:04:48,019:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,020:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,035:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,035:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,035:INFO:backend.caissedepargne.browser:3.0:switch.py:90:set_browser using 'main' browser
2022-12-06 22:04:48,035:DEBUG:backend.caissedepargne.browser:3.0:woob_browser_mfa.py:59:_load_cookies Reloaded cookies from storage
2022-12-06 22:04:48,036:DEBUG:backend.caissedepargne.browser:3.0:woob_browser_mfa.py:59:_load_cookies Reloaded cookies from storage
2022-12-06 22:04:48,037:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:973:_new_conn Starting new HTTPS connection (1): www.caisse-epargne.fr:443
2022-12-06 22:04:48,116:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET /Portail.aspx HTTP/1.1" 301 0
2022-12-06 22:04:48,157:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET / HTTP/1.1" 200 None
2022-12-06 22:04:48,196:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:894:internal_callback Unable to handle https://www.caisse-epargne.fr/
2022-12-06 22:04:48,227:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET /Portail.aspx HTTP/1.1" 301 0
2022-12-06 22:04:48,262:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET / HTTP/1.1" 200 None
2022-12-06 22:04:48,277:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:894:internal_callback Unable to handle https://www.caisse-epargne.fr/
2022-12-06 22:04:48,278:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'caissedepargne'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f526d5658d0>> raised an error: AttributeError("'NotLoadedType' object has no attribute 'upper'")
Bug(caissedepargne): 'NotLoadedType' object has no attribute 'upper'
(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/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/module.py", line 91, in get_account
return find_object(self.iter_accounts(), id=_id, error=AccountNotFound)
File "/home/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/capabilities/base.py", line 109, in find_object
for a in mylist:
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/module.py", line 85, in iter_accounts
for account in self.browser.get_accounts_list():
File "/home/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/browser/retry.py", line 170, in __next__
obj = next(self.it)
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 1603, in get_accounts_list
self.accounts = self.get_measure_accounts_list()
File "/home/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 1386, in get_measure_accounts_list
owner_name = self.get_owner_name()
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 1344, in get_owner_name
name = self.get_profile().name.upper().split(' ', 1)
AttributeError: 'NotLoadedType' object has no attribute 'upper'
2022-12-06 22:04:48,345:DEBUG:backend.caissedepargne.browser:3.0:woob_browser_mfa.py:105:dump_state Stored cookies into storage
2022-12-06 22:04:48,347:DEBUG:woob.config:3.0:yamlconfig.py:96:save Configuration file saved: /home/ben_caro/.config/woob/bank.storage.
~~~
Thanks a lot