Skip to content

Access denied error when editing image extension  #26

@thePixelmancer

Description

@thePixelmancer

If the user attempts to change the extension of an image, the error appears.

CONSOLE:

[INFO]  Running filter modular_mc
[ERROR] [modular_mc] Warning: Glob pattern '**/*.behavior.json' in data/modular_mc/rapid_fire/_map.ts matched no files
[ERROR] [modular_mc] Warning: Glob pattern '**/*.entity.json' in data/modular_mc/rapid_fire/_map.ts matched no files
[ERROR] [modular_mc] Warning: Glob pattern '**/*.material' in data/modular_mc/rapid_fire/_map.ts matched no files
[ERROR] [modular_mc] error: Uncaught (in promise) Error: Error in map file rapid_fire/_map.ts:
[ERROR] [modular_mc] Access is denied. (os error 5): copy 'C:\Users\Pixelmancer\AppData\Local\regolith\project-cache\eccd1bd30d8f8ea81d083e0c4ddb4c65\tmp\data\modular_mc\rapid_fire\rapid_fire.png' -> 'C:/Users/Pixelmancer/AppData/Local/regolith/project-cache/eccd1bd30d8f8ea81d083e0c4ddb4c65/tmp/RP/textures/@team/@proj': PermissionDenied: Access is denied. (os error 5): copy 'C:\Users\Pixelmancer\AppData\Local\regolith\project-cache\eccd1bd30d8f8ea81d083e0c4ddb4c65\tmp\data\modular_mc\rapid_fire\rapid_fire.png' -> 'C:/Users/Pixelmancer/AppData/Local/regolith/project-cache/eccd1bd30d8f8ea81d083e0c4ddb4c65/tmp/RP/textures/@team/@proj'
[ERROR] [modular_mc]     at async Object.copyFile (ext:deno_fs/30_fs.js:145:3)
[ERROR] [modular_mc]     at async MapTsEntry.apply (file:///C:/Users/Pixelmancer/AppData/Local/regolith/project-cache/eccd1bd30d8f8ea81d083e0c4ddb4c65/cache/filters/modular_mc/map-ts.ts:640:5)
[ERROR] [modular_mc]     at async Promise.all (index 6)
[ERROR] [modular_mc]     at async MapTs.apply (file:///C:/Users/Pixelmancer/AppData/Local/regolith/project-cache/eccd1bd30d8f8ea81d083e0c4ddb4c65/cache/filters/modular_mc/map-ts.ts:779:5)
[ERROR] [modular_mc]     at async file:///C:/Users/Pixelmancer/AppData/Local/regolith/project-cache/eccd1bd30d8f8ea81d083e0c4ddb4c65/cache/filters/modular_mc/main.ts:71:3
[ERROR] [modular_mc]                            throw new Error(
[ERROR] [modular_mc]                                  ^
[ERROR] [modular_mc]     at MapTs.apply (file:///C:/Users/Pixelmancer/AppData/Local/regolith/project-cache/eccd1bd30d8f8ea81d083e0c4ddb4c65/cache/filters/modular_mc/map-ts.ts:788:11)
[ERROR] [modular_mc]     at eventLoopTick (ext:core/01_core.js:178:7)
[ERROR] [modular_mc]     at async file:///C:/Users/Pixelmancer/AppData/Local/regolith/project-cache/eccd1bd30d8f8ea81d083e0c4ddb4c65/cache/filters/modular_mc/main.ts:71:3
[ERROR] Failed to run profile "dev"
[+]: Failed to run filter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions