Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
910 stars 134 forks source link

error: Archive is broken: ERROR: G:\Vortexdownloads\fallout4\PraRandomAddon2-48042-8-0-4-1627894628.7z Can not open the file as archive The process cannot access the file because it is being used by another process. #10486

Closed VortexFeedback closed 2 years ago

VortexFeedback commented 2 years ago

Application error

System

Platform win32 10.0.19044
Architecture x64
Application Version 1.5.0-r40+internal
Process renderer

Message

Archive is broken: ERROR: G:\Vortexdownloads\fallout4\PraRandomAddon2-48042-8-0-4-1627894628.7z Can not open the file as archive

The process cannot access the file because it is being used by another process.

Title

Failed to install dependency

Details

name: ArchiveBrokenError

Context

gamemode = Fallout 4,Downloading "nxm://fallout4/mods/48042/files/213861?campaign=collection" = nxm://fallout4/mods/48042/files/213861?campaign=collection,Downloading "https://f4se.silverlock.org/beta/f4se_0_06_21.7z" = https://f4se.silverlock.org/beta/f4se_0_06_21.7z,Resuming "f4se_0_06_21.7z" = https://f4se.silverlock.org/beta/f4se_0_06_21.7z

Stack

ArchiveBrokenError: Archive is broken: ERROR: G:\Vortexdownloads\fallout4\PraRandomAddon2-48042-8-0-4-1627894628.7z
Can not open the file as archive

The process cannot access the file because it is being used by another process.

    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3976:97
    at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)

Reported from:
Error
    at showError (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:8721:188)
    at Proxy.mApi.showErrorNotification (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7801:73)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:4076:105
    at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:725:18)
    at _drainQueueStep (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)

Reported by: Dragonborn20057

IDCs commented 2 years ago

As the error mentions the archive "G:\Vortexdownloads\fallout4\PraRandomAddon2-48042-8-0-4-1627894628.7z" was being used by another process when Vortex tried to install it - maybe it's an anti-virus, maybe you had the archive open in an archive viewer.

Regardless, this is not a Vortex bug - it's something you need to sort out.