-
-
Notifications
You must be signed in to change notification settings - Fork 44
Empty list of contracts. #69
Comments
Same for me (I have 2) pyhydroquebec -u "xxxxxx@XXXXX.XXX" -p "XXXXXXX" -l -L DEBUG INFO - pyhydroquebec.customer.00XXXXXX - Fetching summary page INFO - pyhydroquebec - Selecting customer 00XXXXXX INFO - pyhydroquebec - Customer 00XXXXXX selected INFO - pyhydroquebec.customer.00XXXXXX - Customer has no contract |
I have also 2 contracts and i only see one. |
The DEBUG mode gives me similar error. `2021-05-11 13:49:37,111 - DEBUG - pyhydroquebec - HTTP query https://cl-services.idp.hydroquebec.com/cl/prive/api/v3_0/conversion/codeAcces to get 2021-05-11 13:49:37,736 - INFO - pyhydroquebec - fetching customers 2021-05-11 13:49:37,736 - DEBUG - pyhydroquebec - HTTP query https://cl-services.idp.hydroquebec.com/cl/prive/api/v1_0/relations to get 2021-05-11 13:49:38,004 - INFO - pyhydroquebec.customer.0100793600 - Fetching summary page 2021-05-11 13:49:38,004 - INFO - pyhydroquebec - Selecting customer 0100793600 2021-05-11 13:49:38,005 - DEBUG - pyhydroquebec - HTTP query https://cl-services.idp.hydroquebec.com/cl/prive/api/v3_0/partenaires/infoBase to get 2021-05-11 13:49:38,516 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/prive/maj-session/ to get 2021-05-11 13:49:39,233 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/fr/group/clientele/gerer-mon-compte/ to get 2021-05-11 13:49:40,901 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/fr/group/clientele/portrait-de-consommation to get 2021-05-11 13:49:41,610 - INFO - pyhydroquebec - Customer 0100793600 selected 2021-05-11 13:49:41,611 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/fr/group/clientele/gerer-mon-compte/ to get 2021-05-11 13:49:43,002 - INFO - pyhydroquebec.customer.0100793600 - Customer has no contract 2021-05-11 13:49:43,002 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/fr/group/clientele/portrait-de-consommation to get But I clearly have 2 contracts. |
Same for me: I have two contracts too. |
Same with me … I have two contracts and the scripts always tells me I have no contract. |
Describe the bug
Running pyhydroquebec -u "aaa-bbb@ccc.org" -p "abcde" --list-contracts doesn't return anything. Not even an error. Changing for a bad password throws an authentication error. So login is correct.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Get the list of contracts (I have 3)
PyHydroQuebec and Python version
last version of PyHydroQuebec (git clone)
Python 3.7.6
The text was updated successfully, but these errors were encountered: