question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error -3 while decompressing data: incorrect header check while trying Viomi S9

See original GitHub issue

Hello I am trying to get maps for Viomi S9 urn:miot-spec-v2:device:vacuum:0000A006:viomi-v18:1 When I configure the parameters and restart HA I get this error:

Logger: homeassistant.helpers.entity
Source: custom_components/xiaomi_cloud_map_extractor/viomi/vacuum.py:14
Integration: xiaomi_cloud_map_extractor (documentation, issues)
First occurred: 10:00:57 PM (8 occurrences)
Last logged: 10:01:30 PM

Update for camera.xiaomi_cloud_map_extractor fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 350, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 558, in async_device_update
    raise exc
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 273, in update
    map_data, map_stored = self._device.get_map(map_name, self._colors, self._drawables, self._texts,
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/vacuum.py", line 28, in get_map
    map_data = self.decode_map(response, colors, drawables, texts, sizes, image_config)
  File "/config/custom_components/xiaomi_cloud_map_extractor/viomi/vacuum.py", line 14, in decode_map
    unzipped = zlib.decompress(raw_map)
zlib.error: Error -3 while decompressing data: incorrect header check

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
fokcukcommented, Jul 9, 2021

great! Can see map now, just need to add more options

0reactions
PiotrMachowskicommented, Jul 9, 2021

Added in #148

Read more comments on GitHub >

github_iconTop Results From Across the Web

zlib.error: Error -3 while decompressing: incorrect header check
You have this error: zlib.error: Error -3 while decompressing: incorrect header check. Which is most likely because you are trying to check headers...
Read more >
Error -3 while decompressing: incorrect header check · Issue ...
I was trying to read a compressed file from s3 on ec2 and it did not print any line for myKey,content in ......
Read more >
3 while decompressing: incorrect header check - zlib.error
PYTHON : zlib. error : Error - 3 while decompressing : incorrect header check [ Gift : Animated Search Engine ...
Read more >
Xiaomi Cloud Vacuum Map Extractor - Custom Integrations
Now it supports Viomi vacuums ... Is there anything other in HA logs? ... Error -3 while decompressing data: incorrect header check.
Read more >
3 While Decompressing: Incorrect Header Check - ADocLib
The data compression is provided by. error : error decompressing 3: incorrect Header Check. I have a gzip file and I am trying...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found