Skip to content

emsdk update fails on Windows due to loaded Python DLLs #90

@segevfiner

Description

@segevfiner
C:\emsdk>emsdk update
Downloading: C:/emsdk/zips/emsdk_windows_update.zip from https://s3.amazonaws.com/mozilla-games/emscripten/packages/emsdk_windows_update.zip, 21277300 Bytes
 Unpacking 'C:/emsdk/zips/emsdk_windows_update.zip' to 'C:/emsdk'
Unzipping file 'C:/emsdk/zips/emsdk_windows_update.zip' failed due to reason: [Errno 13] Permission denied: '\\\\?\\C:\\emsdk\\python\\2.7.5.3_64bit\\DLLs\\_hashlib.pyd'
Fetching all tags from Emscripten Github repository...
Done. 105 tagged releases available, latest is 1.37.18.
... trimmed ...

emsdk tries to overwrite DLLs that it's own process currently has loaded. Sadly Windows doesn't allow that (Unlike most Unix derived systems). emsdk just continues updating afterwards (The code doesn't check for errors in updating emsdk. Maybe on purpose. emsdk.py:1534-1547).

This happened to me using the portable emsdk distribution: emsdk-1.35.0-portable-64bit.zip, linked from here: Download and install — Emscripten 1.37.10 documentation.

I'm using Windows 10.0.15063.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions