Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange error on Raspberry pi 3 #12

Closed
sebwaks opened this issue May 17, 2019 · 1 comment
Closed

Strange error on Raspberry pi 3 #12

sebwaks opened this issue May 17, 2019 · 1 comment

Comments

@sebwaks
Copy link

sebwaks commented May 17, 2019

identical code identical PyViCare on mac works ,any help pointer would be appreciated .

pi@raspberrypi:/home/backend/probes$ python3.7
Python 3.7.2 (default, Feb 17 2019, 21:49:47)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.

from PyViCare import ViCareSession
t=ViCareSession("email@mydomain.com","password","token.bin")
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.7/site-packages/PyViCare/PyViCare.py", line 53, in init
self._getInstallations()
File "/usr/local/lib/python3.7/site-packages/PyViCare/PyViCare.py", line 200, in _getInstallations
self.installations = self.__get(apiURLBase+"/general-management/installations?expanded=true&")
File "/usr/local/lib/python3.7/site-packages/PyViCare/PyViCare.py", line 145, in __get
r=self.oauth.get(url).json()
AttributeError: 'NoneType' object has no attribute 'get'

@sebwaks sebwaks closed this as completed May 17, 2019
@sebwaks
Copy link
Author

sebwaks commented May 17, 2019

i=t.getInstallations() :)

Nibot1 pushed a commit to Nibot1/PyViCare that referenced this issue Aug 17, 2024
Add renovate.json

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant