Skip to content
This repository was archived by the owner on Nov 28, 2019. It is now read-only.
This repository was archived by the owner on Nov 28, 2019. It is now read-only.

Uncaught TypeError: Cannot read property 'setEncoding' of undefined #29

@Ravi-Maurya

Description

@Ravi-Maurya

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.39.1 x64
Electron: 3.1.10
OS: Ubuntu 18.04.2
Thrown From: python-yapf package 0.14.0

Stack Trace

Uncaught TypeError: Cannot read property 'setEncoding' of undefined

At /home/ravi/.atom/packages/python-yapf/lib/python-yapf.coffee:62

TypeError: Cannot read property 'setEncoding' of undefined
    at PythonYAPF.module.exports.PythonYAPF.runYapf (/packages/python-yapf/lib/python-yapf.coffee:62:17)
    at PythonYAPF.module.exports.PythonYAPF.checkCode (/packages/python-yapf/lib/python-yapf.coffee:32:6)
    at /packages/python-yapf/lib/status-dialog.coffee:59:13
    at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1207528)
    at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1208969)
    at Workspace.didChangeActivePaneItemOnPaneContainer (/usr/share/atom/resources/app/static/<embedded>:11:423731)
    at WorkspaceCenter.paneContainer.onDidChangeActivePaneItem.t (/usr/share/atom/resources/app/static/<embedded>:14:43577)
    at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1207528)
    at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1208969)
    at PaneContainer.didChangeActiveItemOnPane (/usr/share/atom/resources/app/static/<embedded>:11:446035)
    at Pane.setActiveItem (/usr/share/atom/resources/app/static/<embedded>:11:454879)
    at Pane.activateItem (/usr/share/atom/resources/app/static/<embedded>:11:457049)
    at TabBarView.onClick (/usr/share/atom/resources/app/static/<embedded>:11:1158615)

Commands

     -5:33 encoding-selector:show (atom-text-editor.editor.is-focused)
     -5:25.9.0 grammar-selector:show (atom-text-editor.editor.is-focused)
  2x -5:22.7.0 line-ending-selector:show (atom-text-editor.editor.is-focused)
     -4:40.2.0 core:confirm (input.hidden-input)
     -4:21.8.0 editor:move-to-first-character-of-line (input.hidden-input)
     -4:15.5.0 core:confirm (input.hidden-input)
     -3:52.5.0 settings-view:uninstall-packages (input.hidden-input)
     -1:03.2.0 core:select-all (input.hidden-input)
     -1:02.7.0 core:paste (input.hidden-input)
     -0:59.9.0 core:confirm (input.hidden-input)

Non-Core Packages

autocomplete-python 1.14.1 
python-yapf 0.14.0 

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