Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
922 stars 136 forks source link

error: The argument 'path' must be a string or Uint8Array without null bytes. Received "C:\\Users\\相机\\Documents\x00s\\Ghost of Tsushima DIRECTOR'S CUT\\vortex.deployment.ghostoftsushima-save.json" Backup couldn't be read: ENOENT: no such file or director #16653

Closed VortexFeedback closed 1 week ago

VortexFeedback commented 1 week ago

Application error

System

Platform win32 10.0.22631
Architecture x64
Application Version 1.11.3
Process renderer

Message

The argument 'path' must be a string or Uint8Array without null bytes. Received "C:\Users\相机\Documents\x00s\Ghost of Tsushima DIRECTOR'S CUT\vortex.deployment.ghostoftsushima-save.json" Backup couldn't be read: ENOENT: no such file or directory, open 'C:\Users\相机\AppData\Roaming\Vortex\ghostoftsushima\mods\vortex.deployment.ghostoftsushima-save.json'

Title

Failed to deploy mods

Details

code: ERR_INVALID_ARG_VALUE

Stack

The argument 'path' must be a string or Uint8Array without null bytes. Received "C:\\Users\\相机\\Documents\x00s\\Ghost of Tsushima DIRECTOR'S CUT\\vortex.deployment.ghostoftsushima-save.json"
Backup couldn't be read: ENOENT: no such file or directory, open 'C:\Users\相机\AppData\Roaming\Vortex\ghostoftsushima\mods\vortex.deployment.ghostoftsushima-save.json'
The argument 'path' must be a string or Uint8Array without null bytes. Received "C:\\Users\\相机\\Documents\x00s\\Ghost of Tsushima DIRECTOR'S CUT\\vortex.deployment.ghostoftsushima-save.json"
Backup couldn't be read: ENOENT: no such file or directory, open 'C:\Users\相机\AppData\Roaming\Vortex\ghostoftsushima\mods\vortex.deployment.ghostoftsushima-save.json'
The argument 'path' must be a string or Uint8Array without null bytes. Received "C:\\Users\\相机\\Documents\x00s\\Ghost of Tsushima DIRECTOR'S CUT\\vortex.deployment.ghostoftsushima-save.json"
TypeError: The argument 'path' must be a string or Uint8Array without null bytes. Received "C:\\Users\\相机\\Documents\x00s\\Ghost of Tsushima DIRECTOR'S CUT\\vortex.deployment.ghostoftsushima-save.json"
    at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
    at new NodeError (node:internal/errors:405:5)
    at __node_internal_ (node:internal/original-fs/utils:374:15)
    at __node_internal_ (node:internal/original-fs/utils:699:15)
    at __node_internal_ (node:internal/original-fs/utils:708:3)
    at readFile (node:original-fs:411:10)
    at go$readFile (D:\1\vortex\resources\app.asar\node_modules\graceful-fs\graceful-fs.js:118:14)
    at readFile (D:\1\vortex\resources\app.asar\node_modules\graceful-fs\graceful-fs.js:115:12)
    at D:\1\vortex\resources\app.asar\node_modules\universalify\index.js:8:12
    at Promise.cancellationExecute [as _execute] (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\debuggability.js:406:9)
    at Promise._resolveFromExecutor (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:518:18)
    at new Promise (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:103:10)
    at readFile (D:\1\vortex\resources\app.asar\node_modules\universalify\index.js:7:14)
    at D:\1\vortex\resources\app.asar\renderer.js:9530:114
    at simfail (D:\1\vortex\resources\app.asar\renderer.js:9496:240)
    at wrapper (D:\1\vortex\resources\app.asar\renderer.js:9530:74)
    at Object.readFileAsync (D:\1\vortex\resources\app.asar\renderer.js:9531:19)
    at readManifestFile (D:\1\vortex\resources\app.asar\renderer.js:5302:47)
    at getManifestImpl (D:\1\vortex\resources\app.asar\renderer.js:5303:8)
    at loadActivation (D:\1\vortex\resources\app.asar\renderer.js:5333:9)
    at D:\1\vortex\resources\app.asar\renderer.js:4881:34
    at tryCatcher (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Object.gotValue (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:166:18)
    at Object.gotAccum (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:155:25)
    at Object.tryCatcher (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)
Prior Context:
    at Object.readFileAsync (D:\1\vortex\resources\app.asar\renderer.js:9531:27)
    at readManifestFile (D:\1\vortex\resources\app.asar\renderer.js:5302:47)
    at getManifestImpl (D:\1\vortex\resources\app.asar\renderer.js:5303:8)
    at loadActivation (D:\1\vortex\resources\app.asar\renderer.js:5333:9)
    at D:\1\vortex\resources\app.asar\renderer.js:4881:34
    at tryCatcher (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Object.gotValue (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:166:18)
    at Object.gotAccum (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:155:25)
    at Object.tryCatcher (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
Prior Context:
    at Object.readFileAsync (D:\1\vortex\resources\app.asar\renderer.js:9531:27)
    at readManifestFile (D:\1\vortex\resources\app.asar\renderer.js:5302:47)
    at getManifestImpl (D:\1\vortex\resources\app.asar\renderer.js:5303:8)
    at loadActivation (D:\1\vortex\resources\app.asar\renderer.js:5333:9)
    at D:\1\vortex\resources\app.asar\renderer.js:4881:34
    at tryCatcher (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Object.gotValue (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:166:18)
    at Object.gotAccum (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:155:25)
    at Object.tryCatcher (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
Prior Context:
    at D:\1\vortex\resources\app.asar\renderer.js:10048:16
    at withActivationLock (D:\1\vortex\resources\app.asar\renderer.js:5325:227)
    at D:\1\vortex\resources\app.asar\renderer.js:4878:232
    at tryCatcher (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)

Reported from:
Error
    at showError (D:\1\vortex\resources\app.asar\renderer.js:9818:202)
    at mApi.showErrorNotification (D:\1\vortex\resources\app.asar\renderer.js:8761:52)
    at D:\1\vortex\resources\app.asar\renderer.js:4915:5
    at tryCatcher (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:725:18)
    at _drainQueueStep (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (D:\1\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)

Reported by: vsfhid