launcher icon indicating copy to clipboard operation
launcher copied to clipboard

[BUG] Crash when importing curation while file is in use

Open n0samu opened this issue 5 years ago • 0 comments

When I import a curation while one of its files is open / in use, the launcher crashes on a blank screen.

To Reproduce

  1. Make a curation
  2. Open an SWF from the curation in JPEXS
  3. Import the curation

Desktop (please complete the following information):

  • OS: Windows 10 64-bit
  • Flashpoint Version: Core 8.2
  • Launcher Version: 9.0.3
  • Console output is below:
Error: EBUSY: resource busy or locked, rmdir 'Flashpoint Core 5.1\Curations\Working\065f79e2-4a03-4a40-9e9d-6dba21210ed3\content\localflash\tfu2ce'
    at Object.rmdirSync (fs.js:752)
    at rmdirSync (rimraf.js?fb2a:276)
    at rimrafSync (rimraf.js?fb2a:252)
    at eval (rimraf.js?fb2a:291)
    at Array.forEach (<anonymous>)
    at rmkidsSync (rimraf.js?fb2a:291)
    at rmdirSync (rimraf.js?fb2a:281)
    at rimrafSync (rimraf.js?fb2a:252)
    at eval (rimraf.js?fb2a:291)
    at Array.forEach (<anonymous>)
Ci @ react-dom.production.min.js?ca5d:209
fs.js:752 Uncaught (in promise) Error: EBUSY: resource busy or locked, rmdir 'Flashpoint Core 5.1\Curations\Working\065f79e2-4a03-4a40-9e9d-6dba21210ed3\content\localflash\tfu2ce'
    at Object.rmdirSync (fs.js:752)
    at rmdirSync (rimraf.js?fb2a:276)
    at rimrafSync (rimraf.js?fb2a:252)
    at eval (rimraf.js?fb2a:291)
    at Array.forEach (<anonymous>)
    at rmkidsSync (rimraf.js?fb2a:291)
    at rmdirSync (rimraf.js?fb2a:281)
    at rimrafSync (rimraf.js?fb2a:252)
    at eval (rimraf.js?fb2a:291)
    at Array.forEach (<anonymous>)

n0samu avatar Jan 01 '21 08:01 n0samu