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

DeprecationWarning: Calling an asynchronous function without callback is deprecated. #48

Open
wiktor-grochal opened this issue Sep 15, 2017 · 0 comments

Comments

@wiktor-grochal
Copy link

wiktor-grochal commented Sep 15, 2017

hi, i got following error when trying to run your package. In user interface it doesnt show anything.

>> INPUT FOR LINTING <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >   filePath = C:\Users\wgrochal\Desktop\batchQueueManager\manager.py
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 > projectDir = C:\Users\wgrochal\Desktop\batchQueueManager
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >        cmd = C:\Python27\Scripts\pylama.exe
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >       args = []
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> END <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> EXECUTE CHECK <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 > Path can be executed
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> END <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> READ CHECK <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 > Path can not be read
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 Error: ENOENT: no such file or directory, access 'C:\Users\wgrochal\Desktop\batchQueueManager\pylama.ini'
    at Object.fs.accessSync (fs.js:231:11)
    at Object.fs.accessSync (ELECTRON_ASAR.js:426:27)
    at Object.canRead (C:\Users\wgrochal\.atom\packages\linter-python\lib\util.js:53:12)
    at OnFlyParameterParser.parse (C:\Users\wgrochal\.atom\packages\linter-python\lib\parser.js:103:20)
    at PluginLinter.lint (C:\Users\wgrochal\.atom\packages\linter-python\lib\linter.js:56:33)
    at promises.push.Promise.then._this2.emitter.emit.number (file:///C:/Users/wgrochal/.atom/packages/linter/lib/linter-registry.js:101:24)
    at _loop (file:///C:/Users/wgrochal/.atom/packages/linter/lib/linter-registry.js:99:21)
    at LinterRegistry.<anonymous> (file:///C:/Users/wgrochal/.atom/packages/linter/lib/linter-registry.js:87:40)
    at Generator.next (<anonymous>)
    at LinterRegistry.<anonymous> (file:///C:/Users/wgrochal/.atom/packages/linter/lib/linter-registry.js:143:4)
    at Generator.next (<anonymous>)
    at step (C:\Users\wgrochal\.atom\packages\linter\lib\linter-registry.js:5:273)
    at C:\Users\wgrochal\.atom\packages\linter\lib\linter-registry.js:5:443
    at LinterRegistry.<anonymous> (C:\Users\wgrochal\.atom\packages\linter\lib\linter-registry.js:5:99)
    at file:///C:/Users/wgrochal/.atom/packages/linter/lib/main.js:125:30
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\wgrochal\AppData\Local\atom\app-1.20.0\resources\app\node_modules\event-kit\lib\emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (C:\Users\wgrochal\AppData\Local\atom\app-1.20.0\resources\app\node_modules\event-kit\lib\emitter.js:141:34)
    at file:///C:/Users/wgrochal/.atom/packages/linter/lib/editor-linter.js:32:22
    at later (C:\Users\wgrochal\.atom\packages\linter\node_modules\sb-debounce\index.js:9:14)
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> END <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> NEW ARGS <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 > -l,mccabe,pyflakes,pylint,pep8,pep257,-F,--sort,E,W,D,-f,pep8,C:\Users\wgrochal\AppData\Local\Temp\117815-8552-19vmzif.924xiuow29.py
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> END <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> RAW OUTPUT <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 117815-8552-19vmzif.924xiuow29.py:30:7: E0100 SyntaxError: expected an indented block [pylama]

C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> END <<<
C:\Users\wgrochal\.atom\packages\linter-python\lib\logger.js:28 >>> NEW MESSAGES STORED IN CACHE <<<
internal/process/warning.js:21 (node:8552) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
process.on @ internal/process/warning.js:21
emitOne @ events.js:96
emit @ events.js:188
process.nextTick @ internal/process/warning.js:47
_combinedTickCallback @ internal/process/next_tick.js:67
_tickCallback @ internal/process/next_tick.js:98
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

1 participant