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

Uncaught TypeError: Cannot read property 'props' of undefined #231

Open
tszanalytics opened this issue Oct 1, 2019 · 7 comments
Open

Uncaught TypeError: Cannot read property 'props' of undefined #231

tszanalytics opened this issue Oct 1, 2019 · 7 comments

Comments

@tszanalytics
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Microsoft Windows 10 Enterprise
Thrown From: ink package 0.11.0

Stack Trace

Uncaught TypeError: Cannot read property 'props' of undefined

At C:\Users\millsjf\AppData\Local\atom\app-1.40.1\resources\app\static\<embedded>:11

TypeError: Cannot read property 'props' of undefined
    at getKey (/packages/ink/node_modules/etch/lib/patch.js:161:22)
    at mapOldKeysToIndices (/packages/ink/node_modules/etch/lib/patch.js:166:17)
    at updateChildren (/packages/ink/node_modules/etch/lib/patch.js:102:9)
    at patch (/packages/ink/node_modules/etch/lib/patch.js:18:9)
    at updateChildren (/packages/ink/node_modules/etch/lib/patch.js:77:7)
    at patch (/packages/ink/node_modules/etch/lib/patch.js:18:9)
    at updateChildren (/packages/ink/node_modules/etch/lib/patch.js:77:7)
    at patch (/packages/ink/node_modules/etch/lib/patch.js:18:9)
    at updateSync (/packages/ink/node_modules/etch/lib/component-helpers.js:116:20)
    at Object.update (/packages/ink/node_modules/etch/lib/component-helpers.js:62:5)
    at Outline.filterItems (/packages/ink/lib/outline/outline.js:38:12)
    at Outline.setItems (/packages/ink/lib/outline/outline.js:31:10)
    at /packages/julia-client/lib/runtime/outline.js:55:16
    at throttled (/packages/indent-detective/node_modules/underscore/underscore.js:866:23)
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:1209208)
    at Emitter.emit (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:1210649)
    at TextEditor.cursorMoved (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:33212)
    at Selection.markerDidChange (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:547080)
    at Selection.marker.onDidChange.e (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:532223)
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:1209208)
    at Emitter.emit (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:1210649)
    at DisplayMarker.notifyObservers (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:2858214)
    at ~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:2853716
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:1209208)
    at Emitter.emit (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:1210649)
    at Marker.emitChangeEvent (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:73563)
    at Marker.update (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:72617)
    at Marker.setHeadPosition (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:68776)
    at DisplayMarker.setHeadBufferPosition (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:2855569)
    at DisplayMarker.setHeadScreenPosition (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:14:2855801)

Commands

     -3:02.0 julia-client:run-block (input.hidden-input)
     -3:02.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
     -2:29.2.0 julia-client:run-block (input.hidden-input)
     -2:29.2.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
     -2:22.1.0 julia-client:run-block (input.hidden-input)
     -2:22.1.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
     -2:18.4.0 julia-client:run-block (input.hidden-input)
     -2:18.4.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
     -1:30.5.0 julia-client:run-block (input.hidden-input)
     -1:30.5.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
  2x -1:00.7.0 core:backspace (input.hidden-input)
     -0:55.9.0 core:save (input.hidden-input)
     -0:45 core:copy (input.hidden-input)
  6x -0:26 editor:newline (input.hidden-input)
  4x -0:24.2.0 core:move-up (input.hidden-input)
     -0:22.5.0 core:paste (input.hidden-input)

Non-Core Packages

indent-detective 0.4.0 
ink 0.11.0 
julia-client 0.10.1 
language-julia 0.19.1 
latex-completions 0.3.6 
tool-bar 1.1.12 
uber-juno 0.2.0 
@VivaldoMendes
Copy link

The same is happening to me. Atom is not working at all.

@VivaldoMendes
Copy link

Apparently, the problem only appears when we open a Project. If I open a file, without opening a Project, Atom seems to be working OK.

@pfitzseb
Copy link
Member

pfitzseb commented Oct 2, 2019

Can you try updating to ink 0.11.1? Error should be fixed there.

@VivaldoMendes
Copy link

VivaldoMendes commented Oct 2, 2019 via email

@pfitzseb
Copy link
Member

pfitzseb commented Oct 2, 2019

You most definitely weren't on 0.11.1 when you first posted, I only released that version ~15mins ago ;) Would be good if you could try again after restarting Atom -- I haven't seen that issue since the fix was on master.

@VivaldoMendes
Copy link

VivaldoMendes commented Oct 2, 2019 via email

@VivaldoMendes
Copy link

VivaldoMendes commented Oct 2, 2019 via email

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

3 participants