[creditdunord/smc] Returned BrowserUnavailable for the case of a page that is...

[creditdunord/smc] Returned BrowserUnavailable for the case of a page that is temporarily unavailable.

On rare occasions, the life insurance pages would return error. This MR handles when this might occur.

Closes: 12424@zendesk, 37335@sibi.
12 jobs for master in 6 minutes and 41 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Build
passed #22798
build:2.7

00:01:19

passed #22799
build:3

00:01:21

 
  Test
failed #22801
allowed to fail
lint:2.7

00:01:49

failed #22805
allowed to fail
lint:3

00:01:57

passed #22800
pyflakes:2.7

00:01:47

passed #22804
pyflakes:3

00:02:18

passed #22802
unittests:2.7

00:01:56

passed #22806
unittests:3

00:02:04

failed #22803
allowed to fail
unittests-modules:2.7

00:01:29

failed #22807
allowed to fail
unittests-modules:3

00:01:49

 
  Deploy
passed #22808
doc:2.7

00:01:17

passed #22809
doc:3

00:01:18

 
Name Stage Failure
failed
lint:2.7 Test
Successfully installed cachetools-3.1.1 ecdsa-0.13.2 feedparser-5.2.1 geographiclib-1.49 geopy-1.20.0 google-api-python-client-1.7.11 google-auth-1.6.3 google-auth-httplib2-0.0.3 httplib2-0.13.1 pyasn1-0.4.7 pyasn1-modules-0.2.6 pycryptodomex-3.9.0 python-jose-3.0.1 rsa-4.0 simplejson-3.16.0 uritemplate-3.0.0
$ ./tools/weboob_lint.sh
2019-09-07 16:30:08,917:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module aum: [ImportError] cannot import name unescape
2019-09-07 16:30:09,768:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module okc: [ImportError] cannot import name unescape
Errors building modules: okc, aum
Use --debug to get more information.
=== [ 0%] Getting file:///builds/sloonz/weboob/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1
failed
unittests-modules:2.7 Test
Successfully installed cachetools-3.1.1 ecdsa-0.13.2 feedparser-5.2.1 geographiclib-1.49 geopy-1.20.0 google-api-python-client-1.7.11 google-auth-1.6.3 google-auth-httplib2-0.0.3 httplib2-0.13.1 pyasn1-0.4.7 pyasn1-modules-0.2.6 pycryptodomex-3.9.0 python-jose-3.0.1 rsa-4.0 simplejson-3.16.0 uritemplate-3.0.0
$ ./tools/run_tests.sh --no-core
2019-09-07 16:29:47,003:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module aum: [ImportError] cannot import name unescape
2019-09-07 16:29:48,016:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module okc: [ImportError] cannot import name unescape
Errors building modules: okc, aum
Use --debug to get more information.
=== [ 0%] Getting file:///builds/sloonz/weboob/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1
failed
lint:3 Test
2019-09-07 16:32:07,964:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-09-07 16:32:08,105:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module okc: [ImportError] cannot import name 'unescape' from 'html2text' (/usr/local/lib/python3.7/site-packages/html2text/__init__.py)
2019-09-07 16:32:08,473:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-09-07 16:32:08,575:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
=== [ 0%] Getting file:///builds/sloonz/weboob/modules
=== [100%] All modules are up-to-date.
Errors building modules: aum, dailymotion, hds, ilmatieteenlaitos, lacentrale, okc, tapatalk, wellsfargo
Use --debug to get more information.
ERROR: Job failed: exit code 1
failed
unittests-modules:3 Test
2019-09-07 16:32:08,403:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module lacentrale: [NameError] name 'unicode' is not defined
2019-09-07 16:32:08,597:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module okc: [ImportError] cannot import name 'unescape' from 'html2text' (/usr/local/lib/python3.7/site-packages/html2text/__init__.py)
2019-09-07 16:32:08,956:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module tapatalk: [ModuleNotFoundError] No module named 'xmlrpclib'
2019-09-07 16:32:09,051:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
Errors building modules: aum, dailymotion, hds, ilmatieteenlaitos, lacentrale, okc, tapatalk, wellsfargo
Use --debug to get more information.
=== [ 0%] Getting file:///builds/sloonz/weboob/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1