t-ishii / auto-encoding

Auto detect
MIT License
27 stars 5 forks source link

Uncaught TypeError: Cannot read property 'getEncoding' of undefined #9

Open camlafit opened 8 years ago

camlafit commented 8 years ago

[Enter steps to reproduce below:]

  1. Open Atom
  2. Displayed when Atom is opening

Atom Version: 1.3.2 System: Debian GNU/Linux Thrown From: auto-encoding package, v0.5.0

Stack Trace

Uncaught TypeError: Cannot read property 'getEncoding' of undefined

At /home/km/.atom/packages/auto-encoding/lib/auto-encoding.coffee:78

TypeError: Cannot read property 'getEncoding' of undefined
    at /home/km/.atom/packages/auto-encoding/lib/auto-encoding.coffee:78:33
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Commands

     -0:07.1.0 git-control:toggle (input.hidden-input)

Config

{
  "core": {
    "themes": [
      "adwaita-pro-ui",
      "atom-dark-syntax"
    ],
    "audioBeep": false,
    "openEmptyEditorOnStart": false,
    "disabledPackages": [
      "atomatigit"
    ]
  },
  "auto-encoding": {}
}

Installed Packages

# User
adwaita-pro-ui, v2.1.3
auto-encoding, v0.5.0
color-picker, v2.0.14
git-control, v0.4.0
language-diff, v0.4.0
linter, v1.11.3
php-debug, v0.1.4
php-integrator-base, v0.3.1
php-integrator-navigation, v0.2.4
project-view, v0.4.1
project-viewer, v0.2.26

# Dev
No dev packages
t-ishii commented 8 years ago

hi.

This bug may be cause by quick change of tab.

fixed e0315f7