woob issueshttps://gitlab.com/woob/woob/-/issues2023-04-08T15:54:40Zhttps://gitlab.com/woob/woob/-/issues/322[americanexpress] Behavior clarifications2023-04-08T15:54:40ZWoob Import[americanexpress] Behavior clarificationsHello,
I'm using this module with for my account on which I have 2 cards registered (main + supplementary).
I'm currently facing different issues that can be summarized in: Balances provided do not match with web site (and so Kresus vie...Hello,
I'm using this module with for my account on which I have 2 cards registered (main + supplementary).
I'm currently facing different issues that can be summarized in: Balances provided do not match with web site (and so Kresus view neither)
1. I assume we should always have:
* Sum(History since opening) = Account Balance
* Sum(Coming) = Account Coming
But this is not the case because current code definition of "coming" transaction is based on current date while Account Coming is based on Period closing date thus there are transactions that are being accounted in Coming Balance that are reported in Transaction history.
2. Ambiguous positioning of main card vs supplementary
Fundamentally there is one account (AMEX) debited from n (2 in my case) cards and credited with payments to reimburse outstanding credit amount.
AMEX is using the same id for the Parent account and the main card.
The consequence is that it introduce some inconsistencies as balances reported for each card (as a boobank account) mismatch with hold transactions:
* Debits from supplementary card are reflected within main card balance but not in its history
* Credits are only reflected in main card balance thus:
* Supplementary card is never offset-ed
* Main card credit position is inflated
This is a big issue for systems like Kresus that relies only on transactions => computed balances never match Bank statement at card level
* Total balance balance hold by main card is embedding the supplementary card balance should never be summed or it generated double-counting
3. Bug in reported Coming balance of supplementary card
Today (22/11/2019) the coming balance of supplementary card is debits_total_amount of period ending on "2019-10-23" which is basically the Month to date balance of last period.
On AMEX cards are not actual formal accounts: they reports the activity per cards per periods (and no balance per card) on one hand and the overall balance on the other.
To be workable properly in Kresus, I see 2 options:
- Modelise 1 + n accounts:
- master one holding the credits
- n child accounts for each cards
=> Global balance shown in web site matching the sum of the 1 + n accounts (down side is that it endlessly grow each balance)
- One single account and transactions are tagged with cards ID
=> no native support of this in kresus to follow up activity at card level but at least it is fully consistent with web site
Any thoughts anyone ??https://gitlab.com/woob/woob/-/issues/232[societegenerale] Make use of password expiration warning in advance2023-04-08T15:54:40ZWoob Import[societegenerale] Make use of password expiration warning in advanceIt seems that in cookies, we have some info:
* "nbjexp" is the number of days before password expiration
* "dateDerChgMdp" is the date of the last password change (YYYYMMDD)
we may be able to warn the user in advance (via logs ? other m...It seems that in cookies, we have some info:
* "nbjexp" is the number of days before password expiration
* "dateDerChgMdp" is the date of the last password change (YYYYMMDD)
we may be able to warn the user in advance (via logs ? other mechanism ?) that the password is about to expire - without preventing the operation in progress.https://gitlab.com/woob/woob/-/issues/330[hsbc] Coming operation for deffered debit card to be debitted in 2020 are ig...2023-04-08T15:54:40ZWoob Import[hsbc] Coming operation for deffered debit card to be debitted in 2020 are ignoredI have a deffered debit card and the next debit date is 05/01 (2020). when calling `coming` command, all the coming transactions are ignored, as the parsed debit date (obj_date is 05/01/2019, instead of 05/01/2020).
It looks like the da...I have a deffered debit card and the next debit date is 05/01 (2020). when calling `coming` command, all the coming transactions are ignored, as the parsed debit date (obj_date is 05/01/2019, instead of 05/01/2020).
It looks like the date guesser is not accurate enough.https://gitlab.com/woob/woob/-/issues/310[boobank][oney] Certificate error2023-04-08T15:54:40ZWoob Import[boobank][oney] Certificate errorWhen launching boobank like that (which worked last month):
```
boobank -d -f ofx history _my_account_id_@oney 2019-09-17 >2019-09-17_2019-10-20_oney.ofx
```
I get:
```
2019-10-20 17:11:43,687:DEBUG:modules:1.6:modules.py:163:load_mod...When launching boobank like that (which worked last month):
```
boobank -d -f ofx history _my_account_id_@oney 2019-09-17 >2019-09-17_2019-10-20_oney.ofx
```
I get:
```
2019-10-20 17:11:43,687:DEBUG:modules:1.6:modules.py:163:load_module Loaded module "oney" from /home/ME/.local/share/weboob/modules/1.6/oney
2019-10-20 17:11:44,358:DEBUG:backend:1.6:modules.py:94:create_instance Created backend "oney" for module "oney"
…
2019-10-20 17:11:45,023:DEBUG:bcall:1.6:bcall.py:92:backend_process <Backend 'oney'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb9d48d4b50>>
2019-10-20 17:11:45,025:DEBUG:urllib3.util.retry:1.6:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2019-10-20 17:11:45,025:DEBUG:urllib3.util.retry:1.6:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2019-10-20 17:11:45,029:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:959:_new_conn Starting new HTTPS connection (1): www.oney.fr:443
2019-10-20 17:11:45,318:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:437:_make_request https://www.oney.fr:443 "GET /site/s/login/login.html HTTP/1.1" 302 None
2019-10-20 17:11:45,324:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:959:_new_conn Starting new HTTPS connection (1): login.oney.fr:443
2019-10-20 17:11:45,468:DEBUG:urllib3.util.retry:1.6:retry.py:438:increment Incremented Retry for (url='/context;jsessionid=30TSds5RySyXcVgJRGgjqxqwHGstxSMRHlGdFJtnzys2tDLNnL2N!761344500?context_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJJc2FhYy1Jbml0Q254V2ViIiwic3ViIjoiY29udGV4dCIsInV1aWQiOiJjbngwOGI3NzY4Yi1lOGRhLTQ4NmEtYWExMy1iMTI4OTZjZDU5MjUiLCJpYXQiOjE1NzE1ODQzMDUsImV4cCI6MTU3MTU4NzkwNX0.LqwM8lH7hGxPE_4d5nHggHdMiHtuzst9pE4siFJvIOXPLAKlnnMvTDA38_mDluZarMg6e8SWiQhpJWN_D2M7zf4xOgHjj5XNPGrbNPOBC796vIXxKltrH1foP4Y-zTVBx3FiXblMUgkC03jtRoKqeRuOjNlf5ltjV17yNIoL8bg'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
2019-10-20 17:11:45,469:WARNING:urllib3.connectionpool:1.6:connectionpool.py:748:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /context;jsessionid=30TSds5RySyXcVgJRGgjqxqwHGstxSMRHlGdFJtnzys2tDLNnL2N!761344500?context_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJJc2FhYy1Jbml0Q254V2ViIiwic3ViIjoiY29udGV4dCIsInV1aWQiOiJjbngwOGI3NzY4Yi1lOGRhLTQ4NmEtYWExMy1iMTI4OTZjZDU5MjUiLCJpYXQiOjE1NzE1ODQzMDUsImV4cCI6MTU3MTU4NzkwNX0.LqwM8lH7hGxPE_4d5nHggHdMiHtuzst9pE4siFJvIOXPLAKlnnMvTDA38_mDluZarMg6e8SWiQhpJWN_D2M7zf4xOgHjj5XNPGrbNPOBC796vIXxKltrH1foP4Y-zTVBx3FiXblMUgkC03jtRoKqeRuOjNlf5ltjV17yNIoL8bg
2019-10-20 17:11:45,469:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:959:_new_conn Starting new HTTPS connection (2): login.oney.fr:443
2019-10-20 17:11:45,539:DEBUG:urllib3.util.retry:1.6:retry.py:438:increment Incremented Retry for (url='/context;jsessionid=30TSds5RySyXcVgJRGgjqxqwHGstxSMRHlGdFJtnzys2tDLNnL2N!761344500?context_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJJc2FhYy1Jbml0Q254V2ViIiwic3ViIjoiY29udGV4dCIsInV1aWQiOiJjbngwOGI3NzY4Yi1lOGRhLTQ4NmEtYWExMy1iMTI4OTZjZDU5MjUiLCJpYXQiOjE1NzE1ODQzMDUsImV4cCI6MTU3MTU4NzkwNX0.LqwM8lH7hGxPE_4d5nHggHdMiHtuzst9pE4siFJvIOXPLAKlnnMvTDA38_mDluZarMg6e8SWiQhpJWN_D2M7zf4xOgHjj5XNPGrbNPOBC796vIXxKltrH1foP4Y-zTVBx3FiXblMUgkC03jtRoKqeRuOjNlf5ltjV17yNIoL8bg'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
2019-10-20 17:11:45,539:WARNING:urllib3.connectionpool:1.6:connectionpool.py:748:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /context;jsessionid=30TSds5RySyXcVgJRGgjqxqwHGstxSMRHlGdFJtnzys2tDLNnL2N!761344500?context_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJJc2FhYy1Jbml0Q254V2ViIiwic3ViIjoiY29udGV4dCIsInV1aWQiOiJjbngwOGI3NzY4Yi1lOGRhLTQ4NmEtYWExMy1iMTI4OTZjZDU5MjUiLCJpYXQiOjE1NzE1ODQzMDUsImV4cCI6MTU3MTU4NzkwNX0.LqwM8lH7hGxPE_4d5nHggHdMiHtuzst9pE4siFJvIOXPLAKlnnMvTDA38_mDluZarMg6e8SWiQhpJWN_D2M7zf4xOgHjj5XNPGrbNPOBC796vIXxKltrH1foP4Y-zTVBx3FiXblMUgkC03jtRoKqeRuOjNlf5ltjV17yNIoL8bg
2019-10-20 17:11:45,540:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:959:_new_conn Starting new HTTPS connection (3): login.oney.fr:443
2019-10-20 17:11:45,612:DEBUG:bcall:1.6:bcall.py:98:backend_process <Backend 'oney'>: Called function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb9d48d4b50>> raised an error: SSLError(MaxRetryError('HTTPSConnectionPool(host=\'login.oney.fr\', port=443): Max retries exceeded with url: /context;jsessionid=30TSds5RySyXcVgJRGgjqxqwHGstxSMRHlGdFJtnzys2tDLNnL2N!761344500?context_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJJc2FhYy1Jbml0Q254V2ViIiwic3ViIjoiY29udGV4dCIsInV1aWQiOiJjbngwOGI3NzY4Yi1lOGRhLTQ4NmEtYWExMy1iMTI4OTZjZDU5MjUiLCJpYXQiOjE1NzE1ODQzMDUsImV4cCI6MTU3MTU4NzkwNX0.LqwM8lH7hGxPE_4d5nHggHdMiHtuzst9pE4siFJvIOXPLAKlnnMvTDA38_mDluZarMg6e8SWiQhpJWN_D2M7zf4xOgHjj5XNPGrbNPOBC796vIXxKltrH1foP4Y-zTVBx3FiXblMUgkC03jtRoKqeRuOjNlf5ltjV17yNIoL8bg (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'tls_process_server_certificate\', \'certificate verify failed\')])")))'))
Bug(oney): HTTPSConnectionPool(host='login.oney.fr', port=443): Max retries exceeded with url: /context;jsessionid=30TSds5RySyXcVgJRGgjqxqwHGstxSMRHlGdFJtnzys2tDLNnL2N!761344500?context_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJJc2FhYy1Jbml0Q254V2ViIiwic3ViIjoiY29udGV4dCIsInV1aWQiOiJjbngwOGI3NzY4Yi1lOGRhLTQ4NmEtYWExMy1iMTI4OTZjZDU5MjUiLCJpYXQiOjE1NzE1ODQzMDUsImV4cCI6MTU3MTU4NzkwNX0.LqwM8lH7hGxPE_4d5nHggHdMiHtuzst9pE4siFJvIOXPLAKlnnMvTDA38_mDluZarMg6e8SWiQhpJWN_D2M7zf4xOgHjj5XNPGrbNPOBC796vIXxKltrH1foP4Y-zTVBx3FiXblMUgkC03jtRoKqeRuOjNlf5ltjV17yNIoL8bg (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket
cnx.do_handshake()
File "/usr/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1915, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
_raise_current_error()
File "/usr/lib/python3.7/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/lib/python3.7/site-packages/urllib3/connection.py", line 394, in connect
ssl_context=context,
File "/usr/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 491, in wrap_socket
raise ssl.SSLError("bad handshake: %r" % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 762, in urlopen
**response_kw
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 762, in urlopen
**response_kw
File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='login.oney.fr', port=443): Max retries exceeded with url: /context;jsessionid=30TSds5RySyXcVgJRGgjqxqwHGstxSMRHlGdFJtnzys2tDLNnL2N!761344500?context_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJJc2FhYy1Jbml0Q254V2ViIiwic3ViIjoiY29udGV4dCIsInV1aWQiOiJjbngwOGI3NzY4Yi1lOGRhLTQ4NmEtYWExMy1iMTI4OTZjZDU5MjUiLCJpYXQiOjE1NzE1ODQzMDUsImV4cCI6MTU3MTU4NzkwNX0.LqwM8lH7hGxPE_4d5nHggHdMiHtuzst9pE4siFJvIOXPLAKlnnMvTDA38_mDluZarMg6e8SWiQhpJWN_D2M7zf4xOgHjj5XNPGrbNPOBC796vIXxKltrH1foP4Y-zTVBx3FiXblMUgkC03jtRoKqeRuOjNlf5ltjV17yNIoL8bg (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/weboob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/weboob/tools/application/base.py", line 318, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/ME/.local/share/weboob/modules/1.6/oney/module.py", line 52, in get_account
return find_object(self.browser.get_accounts_list(), id=_id, error=AccountNotFound)
File "/usr/lib/python3.7/site-packages/weboob/browser/browsers.py", line 807, in inner
browser.do_login()
File "/home/ME/.local/share/weboob/modules/1.6/oney/browser.py", line 60, in do_login
self.login.go()
File "/usr/lib/python3.7/site-packages/weboob/browser/url.py", line 98, in go
r = self.browser.location(self.build(**kwargs), params=params, data=data, json=json, method=method, headers=headers or {})
File "/usr/lib/python3.7/site-packages/weboob/browser/browsers.py", line 737, in location
response = self.open(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/weboob/browser/browsers.py", line 724, in open
return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/weboob/browser/browsers.py", line 616, in open
return super(DomainBrowser, self).open(req, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/weboob/browser/browsers.py", line 368, in open
is_async=is_async)
File "/usr/lib/python3.7/site-packages/weboob/browser/sessions.py", line 162, in send
return func(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/weboob/browser/sessions.py", line 154, in func
resp = sup(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 668, in send
history = [resp for resp in gen] if allow_redirects else []
File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 668, in <listcomp>
history = [resp for resp in gen] if allow_redirects else []
File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 247, in resolve_redirects
**adapter_kwargs
File "/usr/lib/python3.7/site-packages/weboob/browser/sessions.py", line 162, in send
return func(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/weboob/browser/sessions.py", line 154, in func
resp = sup(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.7/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='login.oney.fr', port=443): Max retries exceeded with url: /context;jsessionid=30TSds5RySyXcVgJRGgjqxqwHGstxSMRHlGdFJtnzys2tDLNnL2N!761344500?context_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJJc2FhYy1Jbml0Q254V2ViIiwic3ViIjoiY29udGV4dCIsInV1aWQiOiJjbngwOGI3NzY4Yi1lOGRhLTQ4NmEtYWExMy1iMTI4OTZjZDU5MjUiLCJpYXQiOjE1NzE1ODQzMDUsImV4cCI6MTU3MTU4NzkwNX0.LqwM8lH7hGxPE_4d5nHggHdMiHtuzst9pE4siFJvIOXPLAKlnnMvTDA38_mDluZarMg6e8SWiQhpJWN_D2M7zf4xOgHjj5XNPGrbNPOBC796vIXxKltrH1foP4Y-zTVBx3FiXblMUgkC03jtRoKqeRuOjNlf5ltjV17yNIoL8bg (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
```
Context:
* ArchLinux, kernel 5.3.7-arch1-1-ARCH (x86_64)
* Package: weboob-headless-git 1.5.r811.gcbb849568-1https://gitlab.com/woob/woob/-/issues/314[boobank / creditcooperatif] : "TypeError: object() takes no parameters" with...2023-04-08T15:54:40ZWoob Import[boobank / creditcooperatif] : "TypeError: object() takes no parameters" with multiple backendsHello,
I'm encountering an error while using creditcooperatif backend with weboob 1.5:
I've defined multiple backends in ~/.config/weboob/backends
```
[creditcooperatif_user1]
_module = creditcooperatif
_enabled = 1
auth_type = particu...Hello,
I'm encountering an error while using creditcooperatif backend with weboob 1.5:
I've defined multiple backends in ~/.config/weboob/backends
```
[creditcooperatif_user1]
_module = creditcooperatif
_enabled = 1
auth_type = particular
login = 1234567890
password = 12345678
nuser =
[creditcooperatif_user2]
_enabled = 1
_module = creditcooperatif
auth_type = particular
login = 1234567890
password = 12345678
nuser =
```
```
❯ weboob-config update
=== [ 0%] Getting http://updates.weboob.org/1.5/main/
=== [100%] All modules are up-to-date.
❯ boobank list -d
2019-10-01 09:27:41,885:DEBUG:root:1.5:yamlconfig.py:61:load Loading application configuration file: /home/cedef/.config.synced/weboob/boobank.storage.
2019-10-01 09:27:41,886:DEBUG:root:1.5:yamlconfig.py:65:load Application configuration file loaded: /home/cedef/.config.synced/weboob/boobank.storage.
2019-10-01 09:27:41,927:DEBUG:modules:1.5:modules.py:163:load_module Loaded module "creditmutuel" from /home/cedef/.local/share/weboob/modules/1.5/creditmutuel
2019-10-01 09:27:41,927:DEBUG:backend:1.5:modules.py:94:create_instance Created backend "creditmutuel_cardan" for module "creditmutuel"
2019-10-01 09:27:41,928:DEBUG:modules:1.5:modules.py:163:load_module Loaded module "creditcooperatif" from /home/cedef/.local/share/weboob/modules/1.5/creditcooperatif
2019-10-01 09:27:41,952:DEBUG:modules:1.5:modules.py:163:load_module Loaded module "caissedepargne" from /home/cedef/.local/share/weboob/modules/1.5/caissedepargne
2019-10-01 09:27:41,953:DEBUG:backend:1.5:modules.py:94:create_instance Created backend "creditcooperatif_ced" for module "creditcooperatif"
Traceback (most recent call last):
File "/home/cedef/.local/bin/boobank", line 27, in <module>
Boobank.run()
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/tools/application/console.py", line 224, in run
super(ConsoleApplication, klass).run(args)
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/tools/application/base.py", line 504, in run
args = app.parse_args(args)
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/tools/application/base.py", line 421, in parse_args
self._handle_options()
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/tools/application/repl.py", line 581, in _handle_options
return super(ReplApplication, self)._handle_options()
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/tools/application/console.py", line 208, in _handle_options
self.load_default_backends()
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/applications/boobank/boobank.py", line 511, in load_default_backends
self.load_backends(CapBank, storage=self.create_storage())
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/tools/application/repl.py", line 316, in load_backends
return ConsoleApplication.load_backends(self, *args, **kwargs)
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/tools/application/console.py", line 130, in load_backends
ret = super(ConsoleApplication, self).load_backends(*args, **kwargs)
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/tools/application/base.py", line 260, in load_backends
loaded = self.weboob.load_backends(caps, names, exclude=exclude, *args, **kwargs)
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/core/ouiboube.py", line 490, in load_backends
backend_instance = module.create_instance(self, backend_name, params, storage)
File "/home/cedef/.local/lib/python3.6/site-packages/weboob/core/modules.py", line 93, in create_instance
backend_instance = self.klass(weboob, backend_name, config, storage, logger=logger or self.logger, nofail=nofail)
TypeError: object() takes no parameters
```
On the other hand, when disabling _one_ backend (using `_enabled = 0` or using `boobank list -b creditcooperatif_user1`), everything works as expected.https://gitlab.com/woob/woob/-/issues/327[boursorama] cannot get amount in history for assurance vie2023-04-08T15:54:39ZWoob Import[boursorama] cannot get amount in history for assurance vieHello,
No amount is returned for operations for an Assurance Vie in Boursorama.
I attached the table (html content) that is parsed by Boursorama Weboob module.
Let me know if you need more information or data to reproduce this error.
...Hello,
No amount is returned for operations for an Assurance Vie in Boursorama.
I attached the table (html content) that is parsed by Boursorama Weboob module.
Let me know if you need more information or data to reproduce this error.
Best regards,
```
boobank> history 3
Date Category Label Amount
------------+------------+---------------------------------------------------+-----------
XXXX-XX-XX Versement Libre 0.00
XXXX-XX-XX Versement Libre 0.00
XXXX-XX-XX Création de contrat 0.00
```
[boursorama_cannot_get_amount_history.html](/uploads/2dab1a53601a92a0be1afa4513554b21/boursorama_cannot_get_amount_history.html)https://gitlab.com/woob/woob/-/issues/227[bred] Implémenter le téléchargement des documents (CapDocument)2023-04-08T15:54:39ZWoob Import[bred] Implémenter le téléchargement des documents (CapDocument)Cette issue pour suivre le projet visant à ajouter la capability CapDocument au module bred.
Je vais propose une Merge Request en ce sens.Cette issue pour suivre le projet visant à ajouter la capability CapDocument au module bred.
Je vais propose une Merge Request en ce sens.https://gitlab.com/woob/woob/-/issues/229[bp] type object 'LinebourseBrowser' has no attribute 'PARENT_ATTR'2023-04-08T15:54:39ZWoob Import[bp] type object 'LinebourseBrowser' has no attribute 'PARENT_ATTR'I run into the following issue when I run `boobank1.4 ls` for account BP:
```
$ boobank ls
Bug(bp): type object 'LinebourseBrowser' has no attribute 'PARENT_ATTR'
(If --auto-update is passed on the command-line, new versions of the mod...I run into the following issue when I run `boobank1.4 ls` for account BP:
```
$ boobank ls
Bug(bp): type object 'LinebourseBrowser' has no attribute 'PARENT_ATTR'
(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/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/tools/application/base.py", line 310, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/Users/comptes/.local/share/weboob/modules/1.4/bp/module.py", line 157, in iter_resources
return self.iter_accounts()
File "/Users/comptes/.local/share/weboob/modules/1.4/bp/module.py", line 63, in iter_accounts
return self.browser.get_accounts_list()
File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/tools/backend.py", line 312, in browser
self._browser = self.create_default_browser()
File "/Users/comptes/.local/share/weboob/modules/1.4/bp/module.py", line 60, in create_default_browser
return self.create_browser(self.config['login'].get(), self.config['password'].get(), weboob=self.weboob)
File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/tools/backend.py", line 347, in create_browser
browser = klass(*args, **kwargs)
File "/Users/comptes/.local/share/weboob/modules/1.4/bp/browser.py", line 183, in __init__
self.linebourse = LinebourseBrowser('https://labanquepostale.offrebourse.com/', logger=self.logger, responses_dirname=dirname, weboob=self.weboob, proxy=self.PROXIES)
File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/browser/browsers.py", line 942, in __new__
if cls.PARENT_ATTR is None:
AttributeError: type object 'LinebourseBrowser' has no attribute 'PARENT_ATTR'
```https://gitlab.com/woob/woob/-/issues/222new module for ulys / vinciautoroute / liber-t2023-04-08T15:54:39ZWoob Importnew module for ulys / vinciautoroute / liber-tHello
i'm working on a new module for https://espaceabonnes.vinci-autoroutes.com/FacturesConso/Factures (my main goal is to download bills).
i will put a tarball when my module works (i've tried to make a fork to make a merge request bu...Hello
i'm working on a new module for https://espaceabonnes.vinci-autoroutes.com/FacturesConso/Factures (my main goal is to download bills).
i will put a tarball when my module works (i've tried to make a fork to make a merge request but i can't clone my repo with git/ssh access ...)https://gitlab.com/woob/woob/-/issues/129[boursorama] invalid login/password and/or Failed to process VirtualKeyboard2023-04-08T15:54:39ZWoob Import[boursorama] invalid login/password and/or Failed to process VirtualKeyboardI get these 2 errors often when I run `boobank history` from the command line. Obviously the login/password is not incorrect, because sometimes the command does succeeds. There is no such issue with LBP or LCL, so it is something specifi...I get these 2 errors often when I run `boobank history` from the command line. Obviously the login/password is not incorrect, because sometimes the command does succeeds. There is no such issue with LBP or LCL, so it is something specific to Boursorama.
1. Error(boursorama): invalid login/password.
1. 2018-04-07 19:36:42,564:ERROR:backend.boursorama.browser:1.3:browser.py:163:do_login Failed to process VirtualKeyboardhttps://gitlab.com/woob/woob/-/issues/488[bank][boursorama] Error : Bug(boursorama): Unable to find element //a[contai...2023-04-08T15:54:39ZJulien Tourteau[bank][boursorama] Error : Bug(boursorama): Unable to find element //a[contains(@href, "validation")]
### With which module do you encounter problems?
boursorama
### Describe the problem you encounter
I have the following error when I try to retrieve account list `Bug(boursorama): Unable to find element //a[contains(@href, "validatio...
### With which module do you encounter problems?
boursorama
### Describe the problem you encounter
I have the following error when I try to retrieve account list `Bug(boursorama): Unable to find element //a[contains(@href, "validation")]`
I think it may be due to DSP2 security not beeing handled when the pass code has to be renewed.
### Paste here the stacktrace or error message you observe
```
$ woob bank -b boursorama
Welcome to bank v3.1
Copyright(C) 2010-2021 Romain Bignon, Christophe Benz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Type "help" to display available commands.
Loaded backends: boursorama
bank> list
Account Balance Coming
------------------------------------------+----------+----------
[boursorama] Identifiant (hidden input):
[boursorama] Mot de passe (hidden input):
Bug(boursorama): Unable to find element //a[contains(@href, "validation")]
(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 are the steps to reproduce the problem?
1. Launch the woob bank app
1. Enter command `list`
1. Enter credentials
1. Get error `Bug(boursorama): Unable to find element //a[contains(@href, "validation")]`
### What woob version are you using?
```
$ woob config --version
Woob config v3.1 Copyright(C) 2010-2021 Christophe Benz, Romain Bignon
```
### What module version are you using?
```
$ woob config info boursorama
.------------------------------------------------------------------------------.
| Module boursorama |
+-----------------.------------------------------------------------------------'
| Version | 202106071218
| Maintainer | Gabriel Kerneis <gabriel@kerneis.info>
| License | LGPLv3+
| Description | Boursorama
| Capabilities | CapProfile, CapTransfer, CapBankWealth, CapDocument, CapCollection, CapBank, CapContact, CapBankTransferAddRecipient, CapBankTransfer, CapCurrencyRate
| Installed | yes
| Location | https://updates.woob.tech/3.1/main/boursorama.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | pin_code: None
| | request_information: None
'-----------------'
```
### How did you install woob?
`sudo setup.py install`
### Additional info you'd like to mention
This module was working fine few days ago, when I'm connecting to the account through boursorama website I have the following message
```
Validation de votre opération
Conformément à la nouvelle Directive européenne sur les Services de Paiement (DSP2), la sécurité de l'accès à vos données bancaires est renforcée. Vous devez saisir le code à usage unique que vous allez recevoir sur votre numéro de téléphone 06********. S'il n'est plus à jour, vous devez le modifier depuis la rubrique "Mon profil".
```
I think it may be linked to the errorhttps://gitlab.com/woob/woob/-/issues/474[bank] [paypal] Got "Error(paypal): Could not grab tokens"2023-04-08T15:54:39ZBenoit 'BoD' Lubek[bank] [paypal] Got "Error(paypal): Could not grab tokens"### With which module do you encounter problems?
Paypal
### Describe the problem you encounter
After adding my account, I get `Error(paypal): Could not grab tokens` when issuing `list`
### Paste here the stacktrace or error message y...### With which module do you encounter problems?
Paypal
### Describe the problem you encounter
After adding my account, I get `Error(paypal): Could not grab tokens` when issuing `list`
### Paste here the stacktrace or error message you observe
N/A
### What are the steps to reproduce the problem?
```
bank> backends add
Please give at least a backend name.
bank> backends add paypal
Module "paypal" is available but not installed.
=== [ 20%] Module paypal is not installed yet
=== [ 30%] Downloading module...
=== [ 50%] Checking module authenticity...
=== [ 70%] Setting up module...
=== [ 90%] Downloading icon...
=== [100%] Module paypal has been installed!
Configuration of backend paypal
-------------------------------
[login] E-mail:
c: Run an external tool during backend load
p: Prompt value when needed (do not store it)
s: Store value in config
*** How do you want to store it? (c/P/s): s
E-mail: *******@******
[password] Password:
c: Run an external tool during backend load
p: Prompt value when needed (do not store it)
s: Store value in config
*** How do you want to store it? (c/P/s): s
Password (hidden input): *********
-------------------------------
Backend "paypal" successfully added.
bank> list
Account Balance Coming
------------------------------------------+----------+----------
Error(paypal): Could not grab tokens
```
### What woob version are you using?
Output of `woob config --version` command:
```
Woob config v3.0 Copyright(C) 2010-2021 Christophe Benz, Romain Bignon
```
### What module version are you using?
Output of `woob config info MODULE_NAME` command:
```
.------------------------------------------------------------------------------.
| Module paypal |
+-----------------.------------------------------------------------------------'
| Version | 202104111455
| Maintainer | Laurent Bachelier <laurent@bachelier.name>
| License | LGPLv3+
| Description | PayPal
| Capabilities | CapBank, CapCollection
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/paypal.tar.gz
| |
| Configuration | login: E-mail (default: )
| | password: Password (default: )
'-----------------'
```
### How did you install woob?
pip
### Additional info you'd like to mention
I have my Paypal account setup with an SMS verification when I login, so I guess this may be the problem? How does Woob generally handle this situation? I could just disable this security - but this would be unsafe. On Paypal's website there's a "trust this computer" option, I'm not sure if Woob could use this in some way.
Don't hesitate if you need more info to troubleshoot!
Anyway thanks a lot for this awesome tool!https://gitlab.com/woob/woob/-/issues/433[boobank][Boursorama]AttributeError: 'NoneType' object has no attribute 'ente...2023-04-08T15:54:38ZWoob Import[boobank][Boursorama]AttributeError: 'NoneType' object has no attribute 'enter_password'Hello all,
I got this error with version 2.1. Do anyone have same ?
Thank you.
```
jpm@SweetHome:~$ boobank --debug -b boursorama ls
Unable to load formatter "table": No module named 'prettytable'
Falling back to "multiline".
2020-09-...Hello all,
I got this error with version 2.1. Do anyone have same ?
Thank you.
```
jpm@SweetHome:~$ boobank --debug -b boursorama ls
Unable to load formatter "table": No module named 'prettytable'
Falling back to "multiline".
2020-09-30 11:50:37,152:DEBUG:weboob.config:2.1:yamlconfig.py:69:load Loading configuration file: /home/jpm/.config/weboob/boobank.storage.
2020-09-30 11:50:37,156:DEBUG:weboob.config:2.1:yamlconfig.py:73:load Configuration file loaded: /home/jpm/.config/weboob/boobank.storage.
2020-09-30 11:50:37,269:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "boursorama" from /home/jpm/.local/share/weboob/modules/2.1/boursorama
2020-09-30 11:50:37,562:DEBUG:backend:2.1:modules.py:97:create_instance Created backend "boursorama" for module "boursorama"
2020-09-30 11:50:37,564:DEBUG:weboob.config:2.1:iniconfig.py:53:load Loading application configuration file: /home/jpm/.config/weboob/boobank.
2020-09-30 11:50:37,564:DEBUG:weboob.config:2.1:iniconfig.py:73:load Application configuration file loaded: /home/jpm/.config/weboob/boobank.
Account Balance Coming
---------------------------------------------------------+----------+----------
2020-09-30 11:50:37,575:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'boursorama'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb405d70828>>
2020-09-30 11:50:37,577:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-30 11:50:37,577:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-30 11:50:37,580:INFO:backend.boursorama.browser:2.1:browsers.py:1038:_load_cookies Reloaded cookies from storage
2020-09-30 11:50:37,584:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): clients.boursorama.com
2020-09-30 11:50:37,982:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://clients.boursorama.com:443 "GET /connexion/saisie-mot-de-passe/ HTTP/1.1" 301 None
2020-09-30 11:50:38,236:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://clients.boursorama.com:443 "GET /connexion/saisie-mot-de-passe HTTP/1.1" 200 None
**2020-09-30 11:50:38,381:DEBUG:backend.boursorama.browser:2.1:browsers.py:876:internal_callback Unable to handle https://clients.boursorama.com/connexion/saisie-mot-de-passe**
2020-09-30 11:50:38,382:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'boursorama'>: Called function <bound method **Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb405d70828>> raised an error: AttributeError("'NoneType' object has no attribute 'enter_password'",)
Bug(boursorama): 'NoneType' object has no attribute 'enter_password'**
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/tools/application/base.py", line 318, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/capabilities/bank.py", line 785, in iter_resources
return self.iter_accounts()
File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/module.py", line 61, in iter_accounts
return self.browser.get_accounts_list()
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 77, in wrapper
ret = cb()
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 73, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/browsers.py", line 963, in inner
browser.do_login()
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 45, in wrapper
return func(browser, *args, **kwargs)
File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/browser.py", line 268, in do_login
return super(BoursoramaBrowser, self).do_login()
File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/browsers.py", line 1443, in do_double_authentication
self.init_login()
** File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/browser.py", line 241, in init_login
self.page.enter_password(self.username, self.password)
AttributeError: 'NoneType' object has no attribute 'enter_password'**
---------------------------------------------------------+----------+----------
2020-09-30 11:50:38,482:INFO:backend.boursorama.browser:2.1:browsers.py:1077:dump_state Stored cookies into storage
2020-09-30 11:50:38,486:DEBUG:weboob.config:2.1:yamlconfig.py:90:save Configuration file saved: /home/jpm/.config/weboob/boobank.storage.
```https://gitlab.com/woob/woob/-/issues/478Reuse session saved with --export-session2023-04-08T15:54:38ZChristophe DrevetReuse session saved with --export-sessionWhen using the `--export-session`, the session cookies are saved. It would be nice if they could be used at the next execution if they are still valid.When using the `--export-session`, the session cookies are saved. It would be nice if they could be used at the next execution if they are still valid.https://gitlab.com/woob/woob/-/issues/465weboob-config update fails2023-04-08T15:54:38ZWoob Importweboob-config update failsHi,
When trying to upgrade my weboob distribution, I get some ProxyError messages and the update fails.
Here is my log:
```
weboob-config update
=== [ 0%] Getting https://updates.weboob.org/2.0/main/
2021-02-05 09:03:37,673:WARNING:url...Hi,
When trying to upgrade my weboob distribution, I get some ProxyError messages and the update fails.
Here is my log:
```
weboob-config update
=== [ 0%] Getting https://updates.weboob.org/2.0/main/
2021-02-05 09:03:37,673:WARNING:urllib3.connectionpool:2.0:connectionpool.py:780:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', ConnectionResetError(104, 'Connection reset by peer'))': /2.0/main/modules.list
2021-02-05 09:03:37,679:WARNING:urllib3.connectionpool:2.0:connectionpool.py:780:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', ConnectionResetError(104, 'Connection reset by peer'))': /2.0/main/modules.list
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 696, in urlopen
self._prepare_proxy(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 966, in _prepare_proxy
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 359, in connect
conn = self._connect_tls_proxy(hostname, conn)
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 496, in _connect_tls_proxy
return ssl_wrap_socket(
File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 432, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 474, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 783, in urlopen
return self.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 783, in urlopen
return self.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='updates.weboob.org', port=443): Max retries exceeded with url: /2.0/main/modules.list (Caused by ProxyError('Cannot connect to proxy.', ConnectionResetError(104, 'Connection reset by peer')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/alban/local/bin/weboob-config", line 33, in <module>
sys.exit(load_entry_point('weboob==2.0', 'console_scripts', 'weboob-config')())
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/tools/application/console.py", line 224, in run
super(ConsoleApplication, klass).run(args)
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/tools/application/base.py", line 513, in run
sys.exit(app.main(args))
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/tools/application/repl.py", line 325, in main
ret = self.onecmd(cmd)
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/tools/application/repl.py", line 531, in onecmd
return super(ReplApplication, self).onecmd(line)
File "/usr/lib/python3.9/cmd.py", line 217, in onecmd
return func(arg)
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/applications/weboobcfg/weboobcfg.py", line 292, in do_update
self.weboob.update(ConsoleProgress(self))
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/core/ouiboube.py", line 400, in update
self.repositories.update(progress)
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/core/repositories.py", line 658, in update
self.update_repositories(progress)
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/core/repositories.py", line 621, in update_repositories
repository.retrieve_index(self.browser, repo_path)
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/core/repositories.py", line 193, in retrieve_index
fp = StringIO(browser.open(posixpath.join(self.url, self.INDEX)).text)
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/browser/browsers.py", line 374, in open
response = self.session.send(preq,
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/browser/sessions.py", line 162, in send
return func(*args, **kwargs)
File "/home/alban/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/browser/sessions.py", line 154, in func
resp = sup(*args, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 510, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='updates.weboob.org', port=443): Max retries exceeded with url: /2.0/main/modules.list (Caused by ProxyError('Cannot connect to proxy.', ConnectionResetError(104, 'Connection reset by peer')))
```
Someone can see what's wrong?
Thanks in advance!https://gitlab.com/woob/woob/-/issues/493Unclear usage of Amazon backend2023-04-08T15:54:37ZDawid WróbelUnclear usage of Amazon backendWhen configuring Amazon backend, I am being prompted for:
```
Configuration of backend amazon
-------------------------------
1) Amazon UK (www.amazon.co.uk)
2) Amazon.com (www.amazon.com)
3) Amazon.de (www.amazon.de)
...When configuring Amazon backend, I am being prompted for:
```
Configuration of backend amazon
-------------------------------
1) Amazon UK (www.amazon.co.uk)
2) Amazon.com (www.amazon.com)
3) Amazon.de (www.amazon.de)
4) Amazon France (www.amazon.fr)
[website] Website (choose in list) [www.amazon.com]: 2
[email] Username:
c: Run an external tool during backend load
p: Prompt value when needed (do not store it)
s: Store value in config
*** How do you want to store it? (c/P/s): s
Username: xx@yy.com
[password] Password:
c: Run an external tool during backend load
p: Prompt value when needed (do not store it)
s: Store value in config
*** How do you want to store it? (c/P/s): p
[captcha_response] Captcha Response:
[pin_code] OTP response:
[request_information] request_information:
Error: Value can't be empty
```
I see no documentation whatsoever on how to use these, in particular the `request_information` which is non-optional.https://gitlab.com/woob/woob/-/issues/480[bank] [banquepopulaire] module fails with ReadTimeoutError2023-04-08T15:54:37ZChristophe Nicolas[bank] [banquepopulaire] module fails with ReadTimeoutError
With last woob version v3.1, banquepopulaire module fail at connection.
Full error message:
2021-05-17 13:58:12,925:WARNING:urllib3.connectionpool:3.1:connectionpool.py:752:urlopen Retrying (Retry(total=1, connect=None, read=None, red...
With last woob version v3.1, banquepopulaire module fail at connection.
Full error message:
2021-05-17 13:58:12,925:WARNING:urllib3.connectionpool:3.1:connectionpool.py:752:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.ibps.bpgo.banquepopulaire.fr', port=443): Read timed out. (read timeout=10.0)")': /portailinternet/_layouts/Ibp.Cyi.Administration/Login.aspx?ReturnUrl=%2Fportailinternet%2F_layouts%2FAuthenticate.aspx%3FSource%3D%252Fportailinternet&Source=%2Fportailinternet
2021-05-17 13:58:23,064:WARNING:urllib3.connectionpool:3.1:connectionpool.py:752:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='www.ibps.bpgo.banquepopulaire.fr', port=443): Read timed out. (read timeout=10.0)")': /portailinternet/_layouts/Ibp.Cyi.Administration/Login.aspx?ReturnUrl=%2Fportailinternet%2F_layouts%2FAuthenticate.aspx%3FSource%3D%252Fportailinternet&Source=%2Fportailinternet
Bug(banquepopulaire): HTTPSConnectionPool(host='www.ibps.bpgo.banquepopulaire.fr', port=443): Max retries exceeded with url: /portailinternet/_layouts/Ibp.Cyi.Administration/Login.aspx?ReturnUrl=%2Fportailinternet%2F_layouts%2FAuthenticate.aspx%3FSource%3D%252Fportailinternet&Source=%2Fportailinternet (Caused by ReadTimeoutError("HTTPSConnectionPool(host='www.ibps.bpgo.banquepopulaire.fr', port=443): Read timed out. (read timeout=10.0)"))
Thanks for assistancehttps://gitlab.com/woob/woob/-/issues/377[banquepopulaire] Stack trace when getting operations2023-04-08T15:54:37ZWoob Import[banquepopulaire] Stack trace when getting operationsHi I just try Kresus on my Banque Populaire accounts. The authentication succeed as I see the list of the accounts, but I fall into a stack trace when the "operation" is started :
```
[2020-04-15T18:40:35.445] [ERROR] sources/weboob - G...Hi I just try Kresus on my Banque Populaire accounts. The authentication succeed as I see the list of the accounts, but I fall into a stack trace when the "operation" is started :
```
[2020-04-15T18:40:35.445] [ERROR] sources/weboob - Got error while running command "operations": Unknown error: 404 Client Error: Not Found.
Traceback (most recent call last):
File "/home/user/app/node_modules/kresus/build/server/weboob/main.py", line 683, in fetch
results['values'] = self.get_operations(from_date)
File "/home/user/app/node_modules/kresus/build/server/weboob/main.py", line 572, in get_operations
for histop in self.backend.iter_history(account):
File "/home/user/data/weboob-data/modules/2.1/banquepopulaire/browser.py", line 857, in __next__
obj = next(self.it)
File "/home/user/data/weboob-data/modules/2.1/banquepopulaire/browser.py", line 603, in iter_history
for tr in get_history_by_receipt(account, coming):
File "/home/user/data/weboob-data/modules/2.1/banquepopulaire/browser.py", line 544, in get_history_by_receipt
for tr in self.get_invest_history(account):
File "/home/user/data/weboob-data/modules/2.1/banquepopulaire/browser.py", line 702, in get_invest_history
if not self.go_investments(account):
File "/weboob/weboob/browser/browsers.py", line 824, in inner
return func(browser, *args, **kwargs)
File "/home/user/data/weboob-data/modules/2.1/banquepopulaire/browser.py", line 636, in go_investments
self.location(url, data=params)
File "/weboob/weboob/browser/browsers.py", line 751, in location
response = self.open(*args, **kwargs)
File "/weboob/weboob/browser/browsers.py", line 738, in open
return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
File "/weboob/weboob/browser/browsers.py", line 630, in open
return super(DomainBrowser, self).open(req, *args, **kwargs)
File "/weboob/weboob/browser/browsers.py", line 382, in open
is_async=is_async)
File "/weboob/weboob/browser/sessions.py", line 162, in send
return func(*args, **kwargs)
File "/weboob/weboob/browser/sessions.py", line 155, in func
return callback(self, resp)
File "/weboob/weboob/browser/browsers.py", line 370, in inner_callback
self.raise_for_status(response)
File "/weboob/weboob/browser/browsers.py", line 410, in raise_for_status
raise cls(http_error_msg, response=response)
weboob.browser.exceptions.HTTPNotFound: 404 Client Error: Not Found
```
I am using the Git Trunk version.
Do you have any idea ?
Thankshttps://gitlab.com/woob/woob/-/issues/257[paypal] NoneType object has no attribute 'group'2023-04-08T15:47:43ZWoob Import[paypal] NoneType object has no attribute 'group'Using weboob 1.2-1, modules just updated. Trying to list from paypal yields "NoneType object has no attribute 'group'."
2019-04-23 20:53:24,120:DEBUG:bcall:1.2:bcall.py:97:backend_process <Backend 'paypal'>: Called function <bound meth...Using weboob 1.2-1, modules just updated. Trying to list from paypal yields "NoneType object has no attribute 'group'."
2019-04-23 20:53:24,120:DEBUG:bcall:1.2:bcall.py:97:backend_process <Backend 'paypal'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fa46dce7e10>> raised an error: AttributeError("'NoneType' object has no attribute 'group'",)
Bug(paypal): 'NoneType' object has no attribute 'group'
=== [ 0%] Getting http://updates.weboob.org/1.2/main/
2019-04-23 20:53:24,225:INFO:urllib3.connectionpool:1.2:connectionpool.py:264:_new_conn Starting new HTTP connection (1): updates.weboob.org
2019-04-23 20:53:24,453:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:395:_make_request Setting read timeout to 10.0
2019-04-23 20:53:24,643:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:435:_make_request "GET /1.2/main/modules.list HTTP/1.1" 200 48985
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/weboob/core/bcall.py", line 93, in backend_process
result = function(backend, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py", line 298, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/weboob/capabilities/bank.py", line 303, in iter_resources
return self.iter_accounts()
File "/root/.local/share/weboob/modules/1.2/paypal/module.py", line 47, in iter_accounts
return self.browser.get_accounts().itervalues()
File "/root/.local/share/weboob/modules/1.2/paypal/compat/browsers.py", line 755, in inner
browser.do_login()
File "/root/.local/share/weboob/modules/1.2/paypal/browser.py", line 88, in do_login
token, csrf, key, value, sessionID, cookie = self.page.get_token_and_csrf(response.text)
File "/root/.local/share/weboob/modules/1.2/paypal/pages.py", line 71, in get_token_and_csrf
code1 = re.search(r'(.*function .*?\})\(function\(\)', cleaner_code).group(1)
AttributeError: 'NoneType' object has no attribute 'group'https://gitlab.com/woob/woob/-/issues/256[Caisse Epargne] coming with multiple card don't get alll the future transaction2023-04-08T15:47:43ZWoob Import[Caisse Epargne] coming with multiple card don't get alll the future transactionI have a account with my wife so we have 2 deferred cards.
When I try to view the `coming`, only the first card operation are shown.
I tried to code something to get the missing operation but I didn't succeed.
I attch an image of the pag...I have a account with my wife so we have 2 deferred cards.
When I try to view the `coming`, only the first card operation are shown.
I tried to code something to get the missing operation but I didn't succeed.
I attch an image of the page of the card history.
And here the `code` of the tabs:
`<li class="active"><a>CB N° 497827******4309</a></li><li><a href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("MM$HISTORIQUE_CB", "DETAIL_OP_M0&2ca98519489d77cf64eae4a4d6457727006f30bdd46ede9b8a4c20a4b588dddb;20190504", true, "", "", false, true))">CB N° 497827******4306</a></li>`
I'm available to test patches if needed.
![caisse_epargne_multiple_cards](/uploads/a0d738fc6bd8bc98abcbbeb723e23e32/caisse_epargne_multiple_cards.png)