Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source "...ini.base" and destination "...ini.baked" are the same file #185

Closed
VortexFeedback opened this issue Jun 28, 2018 · 5 comments
Closed

Comments

@VortexFeedback
Copy link
Collaborator

Application error

System

Platform win32 10.0.17134
Architecture x64
Application Version 0.15.2

Message

Source "C:\Users\Sam\Documents\My Games\Skyrim Special Edition\Skyrim.ini.base" and destination "C:\Users\Sam\Documents\My Games\Skyrim Special Edition\Skyrim.ini.baked" are the same file (id "12103423998732244").

Stack

Source "C:\Users\Sam\Documents\My Games\Skyrim Special Edition\Skyrim.ini.base" and destination "C:\Users\Sam\Documents\My Games\Skyrim Special Edition\Skyrim.ini.baked" are the same file (id "12103423998732244").
Error
    at Object.copyAsync (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\util\fs.ts:223:35)
    at fs.forcePerm (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\extensions\ini_prep\index.ts:154:14)
    at Object.forcePerm (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\util\fs.ts:376:11)
    at Promise.mapSeries.iniFileName (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\extensions\ini_prep\index.ts:153:24)
    at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Object.gotValue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:155:18)
    at Object.gotAccum (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:144:25)
    at Object.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:512:31)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise._settlePromiseCtx (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:606:10)
    at Async._drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:138:12)
    at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:143:10)
    at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:17:14)
    at <anonymous>

I had just downloaded Unofficial Skyrim Special Edition Patch. I clicked the button that said 'Disabled,' it changed to 'Enabled,' but then the error occurred and was shown in the notification list.

Reported by: Xerana

@VortexFeedback
Copy link
Collaborator Author

Application error

System

Platform win32 10.0.15063
Architecture x64
Application Version 0.15.1

Message

Source "C:\Users\Scifi\Documents\My Games\Skyrim VR\Skyrim.ini.base" and destination "C:\Users\Scifi\Documents\My Games\Skyrim VR\Skyrim.ini.baked" are the same file (id 9288674231653492).

Stack

Source "C:\Users\Scifi\Documents\My Games\Skyrim VR\Skyrim.ini.base" and destination "C:\Users\Scifi\Documents\My Games\Skyrim VR\Skyrim.ini.baked" are the same file (id 9288674231653492).
Error
    at Object.copyAsync (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\util\fs.ts:224:63)
    at s.forcePerm (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\extensions\ini_prep\index.ts:154:14)
    at Object.forcePerm (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\util\fs.ts:352:41)
    at h.mapSeries.t (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\extensions\ini_prep\index.ts:154:14)
    at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Object.gotValue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:155:18)
    at Object.gotAccum (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:144:25)
    at Object.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:512:31)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise._settlePromiseCtx (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:606:10)
    at Async._drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:138:12)
    at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:143:10)
    at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:17:14)
    at <anonymous>

Reported by: thescifi

@VortexFeedback
Copy link
Collaborator Author

Application error

System

Platform win32 10.0.14393
Architecture x64
Application Version 0.15.2

Message

Source "C:\Users\User\Documents\My Games\Skyrim\SkyrimPrefs.ini.base" and destination "C:\Users\User\Documents\My Games\Skyrim\SkyrimPrefs.ini.baked" are the same file (id "14918173765854376").

Stack

Source "C:\Users\User\Documents\My Games\Skyrim\SkyrimPrefs.ini.base" and destination "C:\Users\User\Documents\My Games\Skyrim\SkyrimPrefs.ini.baked" are the same file (id "14918173765854376").
Error
    at Object.copyAsync (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\util\fs.ts:223:35)
    at fs.forcePerm (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\extensions\ini_prep\index.ts:154:14)
    at Object.forcePerm (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\util\fs.ts:376:11)
    at Promise.mapSeries.iniFileName (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\webpack:\src\extensions\ini_prep\index.ts:153:24)
    at tryCatcher (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Object.gotValue (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:155:18)
    at Object.gotAccum (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\reduce.js:144:25)
    at Object.tryCatcher (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:512:31)
    at Promise._settlePromise (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise._settlePromise0 (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:614:10)
    at Promise._settlePromises (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:693:18)
    at Promise._fulfill (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:638:18)
    at Promise._settlePromise (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:582:21)
    at Promise._settlePromise0 (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:614:10)
    at Promise._settlePromises (C:\Skyrim Programms\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:693:18)

Reported by: Virg0n

@TanninOne
Copy link
Contributor

Additional info provided by Infeksion

The following tools where loaded before installing Vortex:
FallOut 4 Configuration Tool
BethINI
FO4Edit
F4SE

INI Files where set to Read-Only

@TanninOne
Copy link
Contributor

TanninOne commented Jul 5, 2018

It turns out this may be caused by a bug in node.js: nodejs/node#12115

Vortex uses a unique id from the file system to determine if two files are the same in such a way that hard links and such are also detected as duplicates.
The node.js bug causes that id to be not unique so two separate files can have the same id.

Vortex 0.15.3 contains a workaround for this particular case (ini.baked and ini.base colliding) but this collision issue could be pretty bad in the context of deploying files to the game directory as well, so I'm leaving it open for now.

@TanninOne
Copy link
Contributor

I believe this to be fixed since 0.15.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants