[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 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'