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.

Cannot parse blockmap when auto updating

See original GitHub issue
  • Electron Builder Version: 22.4.0

  • Electron Updater Version: 4.2.4

  • Target: NSIS

My app is updating from a private github repo and when the update check starts it never downloads differentially because of the following error. Cannot download differentially, fallback to full download: Error: Cannot parse blockmap "https://api.github.com/repos/VitruxPT/w-assistant/releases/assets/18470277.blockmap", error: incorrect header check, raw data:...

The publish command always works fine and all the files (exe, blockmap, latest.yml) are being sent to the repo sucessfully so I’m not sure if this is on my end.

This is how my main.log looks like: image

Thanks in advance

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:27
  • Comments:31 (6 by maintainers)

github_iconTop GitHub Comments

14reactions
sandeep1995commented, Jun 2, 2020

I made a PR to fix this issue.

To fix it immediately on your release computer do the following

  • Open node_modules/electron-updater/out/NsisUpdater.js
  • Goto line number 272 and replace the line with the following
 return JSON.parse((0, _zlib().gunzipSync)(data).toString());
10reactions
sandeep1995commented, Jun 10, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unanswered 'electron-updater' Questions - Stack Overflow
I am trying to add auto update support to my electrom-app using ... electron-updater unable to parse latest.yml in artifacts of gitlab private...
Read more >
Auto Update - electron-builder
macOS application must be signed in order for auto updating to work. ... Mac, otherwise latest-mac.yml cannot be created, which causes autoUpdater error....
Read more >
Electron-Differential-updater
For differential updates to work, the module needs a blockmap. The blockmap can be generated after the successful build of mac ( zip...
Read more >
electron-updater | Yarn - Package Manager
... to package and build a ready for distribution Electron, Proton Native app for macOS, Windows and Linux with “auto update” support out...
Read more >
3 Common Tasks — The Yocto Project ® 4.1.999 documentation
common.test_parse : Tests to make sure that BitBake can parse the files without error (i.e. bitbake -p ). ... When AUH cannot complete...
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