Apptorium / TeaCode-Atom-Extension

TeaCode integration with Atom Editor
MIT License
6 stars 1 forks source link

Uncaught TypeError: Cannot read property 'file' of undefined #3

Closed tatecapone closed 3 years ago

tatecapone commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.44.0 x64 Electron: 4.2.7 OS: Mac OS X 10.15.4 Thrown From: teacode-atom-helper package 1.2.3

Stack Trace

Uncaught TypeError: Cannot read property 'file' of undefined

At /Users/capone/.atom/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:63

TypeError: Cannot read property 'file' of undefined
    at Object.getCurrentFilename (/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:63:24)
    at Object.runScript (/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:123:22)
    at Object.expand (/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:133:6)
    at /packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:17:94)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349290)
    at KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1253613)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1249747)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284496)

Commands

     -0:47 tree-view:add-file (span.name.icon.icon-file-directory)
     -0:41 core:confirm (input.hidden-input)
     -0:35.8.0 teacode-atom-helper:expand (ul.list-inline.tab-bar.inset-panel)
     -0:24.8.0 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-material.theme-atom-dark-fusion-syntax.theme-atom-material-ui)
     -0:18.6.0 core:backspace (input.hidden-input)
     -0:16.4.0 teacode-atom-helper:expand (input.hidden-input)

Non-Core Packages

agnostic-dark-syntax 1.0.3 
atom-dark-fusion-syntax 2.2.1 
atom-ide-ui 0.13.0 
atom-material-syntax 1.0.8 
atom-material-syntax-dark 1.0.0 
atom-material-syntax-light 0.4.6 
atom-material-ui 2.1.3 
atom-menu-patch-for-catalina 0.3.3 
atom-numbers 0.7.0 
atom-panda-syntax 0.18.0 
atom-runner 2.7.1 
autoclose-html-plus 0.27.2 
autoupdate-packages 1.3.1 
behave-theme 1.7.0 
bracket-colorizer 1.4.0 
busy-signal 2.0.1 
chester-atom-syntax 0.3.2 
city-lights-syntax 1.1.8 
city-lights-ui 1.5.3 
civic-syntax 0.2.4 
duotone-dark-earth-syntax 2.1.0 
duotone-dark-space-syntax 2.1.0 
duotone-dark-syntax 2.1.0 
duotone-light-syntax 2.1.0 
eclectic-syntax 0.3.0 
emmet 2.4.3 
facebook-syntax-theme 1.2.1 
file-icons 2.1.39 
firewatch-syntax 1.1.1 
flexible-ui 0.10.7 
go-debug 1.7.0 
go-plus 6.1.0 
go-signature-statusbar 1.2.3 
gruvbox-dark-ui 1.1.0 
highlight-selected 0.17.0 
ide-go 0.12.3 
intentions 1.1.5 
jackhammer-syntax 1.1.0 
kite 0.178.0 
learn-ide-material-ui 1.3.15 
linter 2.3.1 
linter-eslint 8.5.5 
linter-ui-default 1.8.1 
oceanic-next 1.0.0 
oceanic-reef-syntax 0.9.0 
pen-paper-coffee-syntax 0.17.0 
pigments 0.40.2 
power-editor 0.2.0 
prettier-atom 0.58.2 
project-plus 1.0.0 
relative-numbers 0.9.1 
teacode-atom-helper 1.2.3 
unstad-syntax 0.0.2 
zenburn 3.1.0 
r-zawislak commented 3 years ago

It should be already fixed in 1.2.5