You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to change to use the version from pypi (see rytilahti/python-miio#101) and got hit by a seek()ing error. Any ideas if that comes from the use of proxying / internals of this package?
File "/home/hass/home-assistant/libs/xiaomi-vacuum/miio/extract_tokens.py", line 127, in main
db_contents = db.read()
File "/home/hass/venv/lib/python3.5/tarfile.py", line 686, in read
self.fileobj.seek(offset + (self.position - start))
File "/home/hass/venv/lib/python3.5/tarfile.py", line 514, in seek
raise StreamError("seeking backwards is not allowed")
tarfile.StreamError: seeking backwards is not allowed
The text was updated successfully, but these errors were encountered:
I've used this approach reduce the memory requirements if compression/encryption is used. Otherwise I would need to decompress/decrypt the whole backup file in memory. I'll add a constructor flag which enables this behavior and therefor can be selected depending on the usecase.
I just tried to change to use the version from pypi (see rytilahti/python-miio#101) and got hit by a seek()ing error. Any ideas if that comes from the use of proxying / internals of this package?
The text was updated successfully, but these errors were encountered: