[bill][ensap]
With which module do you encounter problems?
ensap
Describe the problem you encounter
command
bill subscriptions
returns following error :
Bug(ensap): 'NoneType' object has no attribute 'check_logged'
Paste here the stacktrace or error message you observe
2022-01-13 09:52:36,707:DEBUG:woob.core.bcall:3.1:bcall.py:92:backend_process <Backend 'ensap'>: Calling function <bound method Application._do_complete of <woob.applications.bill.bill.AppBill object at 0x7f92f81e3a00>>
2022-01-13 09:52:36,707:DEBUG:woob.backend.ensap.browser:3.1:browser.py:40:do_login call Browser.do_login
2022-01-13 09:52:36,712:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:272:_get_conn Resetting dropped connection: ensap.gouv.fr
2022-01-13 09:52:38,279:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:452:_make_request https://ensap.gouv.fr:443 "GET /web/views/contenus/accueilnonconnecte.html HTTP/1.1" 200 4045
2022-01-13 09:52:38,283:DEBUG:woob.backend.ensap.browser:3.1:browsers.py:888:internal_callback Handle https://ensap.gouv.fr/web/views/contenus/accueilnonconnecte.html with LoginPage
2022-01-13 09:52:38,301:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:452:_make_request https://ensap.gouv.fr:443 "POST /authentification HTTP/1.1" 307 231
2022-01-13 09:52:38,332:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:452:_make_request https://ensap.gouv.fr:443 "POST / HTTP/1.1" 200 1153
2022-01-13 09:52:38,335:DEBUG:woob.backend.ensap.browser:3.1:browsers.py:902:internal_callback Unable to handle https://ensap.gouv.fr/
2022-01-13 09:52:38,336:DEBUG:woob.core.bcall:3.1:bcall.py:98:backend_process <Backend 'ensap'>: Called function <bound method Application._do_complete of <woob.applications.bill.bill.AppBill object at 0x7f92f81e3a00>> raised an error: AttributeError("'NoneType' object has no attribute 'check_logged'")
Bug(ensap): 'NoneType' object has no attribute 'check_logged'
(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/user/apps/woob-master/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/user/apps/woob-master/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/user/apps/woob-master/woob/capabilities/bill.py", line 348, in iter_resources
return self.iter_subscription()
File "/home/user/.local/share/woob/modules/3.1/woob_modules/ensap/module.py", line 63, in iter_subscription
return self.browser.iter_subscription()
File "/home/user/apps/woob-master/woob/browser/browsers.py", line 989, in inner
browser.do_login()
File "/home/user/.local/share/woob/modules/3.1/woob_modules/ensap/browser.py", line 46, in do_login
if not self.page.check_logged():
AttributeError: 'NoneType' object has no attribute 'check_logged'
What woob version are you using?
Output of woob config --version
command:
woob v3.1 Copyright(C) 2010-2022 The Woob Team
What module version are you using?
Output of woob config info MODULE_NAME
command:
.------------------------------------------------------------------------------.
| Module ensap |
+-----------------.------------------------------------------------------------'
| Version | 202105071230
| Maintainer | Juliette Fourcot <juliette@fourcot.fr>
| License | LGPLv3+
| Description | ensap website
| Capabilities | CapCollection, CapDocument
| Installed | yes
| Location | https://updates.woob.tech/3.1/main/ensap.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
'-----------------'
How did you install woob?
pip on master branch