Glavin001 / atom-beautify

:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
http://unibeautify.com/
MIT License
1.49k stars 454 forks source link

permission denied on beaytify c file #2607

Open WolfgangKrueger opened 2 years ago

WolfgangKrueger commented 2 years ago

Description

I get this error when i beautify a simple c-file

Parsing: input202219-290435-1u48i28.5bkb.c as language C do_source_file: Unable to create output202219-290435-1scrhj5.n26h.c: Permission denied (13) Hide Stack Trace Error: Parsing: input202219-290435-1u48i28.5bkb.c as language C do_source_file: Unable to create output202219-290435-1scrhj5.n26h.c: Permission denied (13) at /home/beone/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:183:23 at tryCatcher (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:729:18) at _drainQueueStep (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:102:5) at Async.drainQueues (/home/beone/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:15:14)

The file exists in /tmp, and i have rights to write.

-rw------- 1 one one 84 Feb 9 14:47 /tmp/input202219-290435-1u48i28.5bkb.c

Steps to Reproduce

  1. Add code to Atom editor
  2. Run command Atom Beautify: Beautify Editor
  3. This beautified code does not look right!

Checklist

I have:

SilentGlasses commented 1 year ago

If you still need this and are looking for something to fill the spot that Atom left, I am using Pulsar the successor to Atom... This package is working except for one deprecated error listed in #2605

If you don't need this anymore, can you please close this out so it's not just sitting there? Thanks