Can’t connect through library either
running -
pybotvac import Account
for robot in Account('[email protected]', 'XXXXXX').robots:
print(robot)
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/dist-packages/pybotvac/account.py", line 65, in robots
self.refresh_robots()
File "/usr/local/lib/python3.7/dist-packages/pybotvac/account.py", line 113, in refresh_robots
endpoint=robot['nucleo_url']))
File "/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py", line 46, in __init__
if self.service_version not in SUPPORTED_SERVICES:
File "/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py", line 231, in service_version
return self.available_services['houseCleaning']
File "/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py", line 227, in available_services
return self.state['availableServices']
File "/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py", line 223, in state
return self.get_robot_state().json()
File "/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py", line 181, in get_robot_state
return self._message({'reqId': "1", 'cmd': "getRobotState"})
File "/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py", line 63, in _message
headers=self._headers)
File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 519, in request
prep = self.prepare_request(req)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 462, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/usr/lib/python3/dist-packages/requests/models.py", line 317, in prepare
self.prepare_auth(auth, url)
File "/usr/lib/python3/dist-packages/requests/models.py", line 548, in prepare_auth
r = auth(self)
File "/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py", line 245, in __call__
locale.setlocale(locale.LC_TIME, 'en_US.utf8')
File "/usr/lib/python3.7/locale.py", line 604, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
A locale error?