[ERROR] Failed opening drive for writing on Windows

edited September 2017 in Installer

Hello, I tried different adapters, different computers and different sd cards, but I always get this message. This is the log.txt file:

+00:01 (, 0) QQmlExpression: Expression qrc:/main.qml:236:30 depends on non-NOTIFYable properties:
+00:01 (, 0) PlatformAdapter::canRestart
+00:01 (, 0) QQmlExpression: Expression qrc:/main.qml:229:31 depends on non-NOTIFYable properties:
+00:01 (, 0) PlatformAdapter::restartHint
+00:01 (, 0) QQmlExpression: Expression qrc:/main.qml:222:30 depends on non-NOTIFYable properties:
+00:01 (, 0) PlatformAdapter::hasRestartHint
+00:01 (, 0) QQmlExpression: Expression qrc:/main.qml:215:27 depends on non-NOTIFYable properties:
+00:01 (, 0) PlatformAdapter::superuserMessage
+00:01 (, 0) QQmlExpression: Expression qrc:/main.qml:197:22 depends on non-NOTIFYable properties:
+00:01 (, 0) PlatformAdapter::isSuperuser
+00:01 (, 0) QQmlExpression: Expression qrc:/LoginForm.qml:131:21 depends on non-NOTIFYable properties:
+00:01 (, 0) ImageAdapter::defaultImageLocation
+00:01 (, 0) QQmlExpression: Expression qrc:/main.qml:61:22 depends on non-NOTIFYable properties:
+00:01 (, 0) PlatformAdapter::isSuperuser
+00:01 (qrc:/main.qml, 219) qrc:/main.qml:219:17: QML Rectangle: Binding loop detected for property "height"
+00:02 (qrc:/main.qml, 42) qrc:/main.qml:42: TypeError: Cannot read property 'identifier' of undefined
+00:02 (, 0) Failed parsing JSON file: "illegal value"
+00:05 (, 0) Failed parsing JSON file: "illegal value"
+00:06 (, 0) Refreshing drives
+00:07 (, 0) Found 1 drives
+00:09 (, 0) Adding "boot.zip"
+00:09 (, 0) Adding "system.zip"
+00:09 (, 0) Got 2 files to download
+00:09 (, 0) Downloading "package.json"
+00:09 (, 0) Using path "C:/Users/speedys/AppData/Local/Emteria/Installer/rpi3-v0.2.3/package.json"
+00:10 (, 0) Finished download of "package.json"
+00:10 (, 0) Already downloaded correct "boot.zip"
+00:16 (, 0) Already downloaded correct "system.zip"
+00:16 (, 0) Finished DownloadWorker
+00:16 (, 0) Flashing on raw "\\\\.\\PHYSICALDRIVE2"
+00:16 (, 0) Initializing PackageWriter
+00:16 (, 0) Package base path: "C:/Users/speedys/AppData/Local/Emteria/Installer/rpi3-v0.2.3"
+00:16 (, 0) Drive: "Mass Storage Device USB Device" with 7948206080 bytes
+00:16 (, 0) Raw at "\\\\.\\PHYSICALDRIVE2"
+00:16 (, 0) Mounted at "D:"
+00:16 (, 0) PackageWriter initialized successfully
+00:16 (, 0) Starting step 0 Reading package
+00:16 (, 0) Finished step 0 Reading package
+00:16 (, 0) Starting step 1 Verifying files
+00:18 (, 0) Finished step 1 Verifying files
+00:18 (, 0) Starting step 2 Preparing
+00:32 (, 0) Finished step 2 Preparing
+00:32 (, 0) Starting step 3 Opening to write
+00:32 (, 0) Failed CreateFile: 0
+00:32 (, 0) Failed to open drive for raw writing

Comments

  • Did you try updating the installer?

  • I already run latest version

  • These lines show, that your installer can't read the package file:

    +00:02 (, 0) Failed parsing JSON file: "illegal value"
    +00:05 (, 0) Failed parsing JSON file: "illegal value"

    Since we have changed the package format a couple of days ago, updating your installer (even if you think it is the latest version) is the best guess I have.

  • edited January 2018

    same Problem here..

    +00:00 (qrc:/main.qml, 221) qrc:/main.qml:221:17: QML Rectangle: Binding loop detected for property "height"
    +00:09 (, 0) Refreshing drives
    +00:09 (, 0) Found 1 drives
    +00:13 (, 0) Downloading "package.json"
    +00:13 (, 0) Using path "C:/Users/JOSH/AppData/Local/Emteria/Installer/rpi3-v0.5.3/package.json"
    +00:13 (, 0) Finished download of "package.json"
    +00:13 (, 0) Checking for OEM config..
    +00:13 (, 0) Retrieved OEM config len = 0
    +00:13 (, 0) Already downloaded correct "boot.zip"
    +00:13 (, 0) Already downloaded correct "oem.zip"
    +00:14 (, 0) Already downloaded correct "system.zip"
    +00:14 (, 0) Finished DownloadWorker
    +00:14 (, 0) Flashing on raw "\\\\.\\PHYSICALDRIVE1"
    +00:14 (, 0) Initializing PackageWriter
    +00:14 (, 0) Package base path: "C:/Users/JOSH/AppData/Local/Emteria/Installer/rpi3-v0.5.3"
    +00:14 (, 0) Drive: "SDHC Card" with 15523119104 bytes
    +00:14 (, 0) Raw at "\\\\.\\PHYSICALDRIVE1"
    +00:14 (, 0) PackageWriter initialized successfully
    +00:14 (, 0) Starting step 0 Reading package
    +00:14 (, 0) Finished step 0 Reading package
    +00:14 (, 0) Starting step 1 Verifying files
    +00:14 (, 0) Skipping "ota.zip" as it isn't required for flashing
    +00:15 (, 0) Finished step 1 Verifying files
    +00:15 (, 0) Starting step 2 Preparing
    +00:17 (, 0) Diskpart output: "\r\nMicrosoft DiskPart-Version 10.0.16299.15\r\n\r\nCopyright (C) Microsoft Corporation.\r\nAuf Computer: JOSH\r\n\r\nDatentr\x84ger 1 ist jetzt der gew\x84hlte Datentr\x84ger.\r\n\r\nDer Datentr\x84ger wurde bereinigt.\r\n\r\nWarten Sie, w\x84hrend die Konfiguration \x81""berpr\x81""ft wird...\r\n\r\nDie \x9A""berpr\x81""fung der Konfiguration wurde abgeschlossen.\r\n"
    +00:17 (, 0) Diskpart error: ""
    +00:19 (, 0) Finished step 2 Preparing
    +00:19 (, 0) Starting step 3 Opening to write
    +00:19 (, 0) Failed CreateFile: 0
    +00:19 (, 0) Failed to open drive for raw writing

    ===================================

    Question: Can I run this OS on Pi 2 ??

Sign In or Register to comment.