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 'path' of null #30

Open
mkmcconnell opened this issue Aug 23, 2021 · 0 comments
Open

Uncaught TypeError: Cannot read property 'path' of null #30

mkmcconnell opened this issue Aug 23, 2021 · 0 comments

Comments

@mkmcconnell
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.58.0 x64
Electron: 9.4.4
OS: Mac OS X 10.15.7
Thrown From: sphinx-preview package 0.1.5

Stack Trace

Uncaught TypeError: Cannot read property 'path' of null

At /Users/mmcconnell/.atom/packages/sphinx-preview/lib/sphinx-preview.js:223

TypeError: Cannot read property 'path' of null
    at Object.isActiveFileRst (/packages/sphinx-preview/lib/sphinx-preview.js:223:47)
    at Object.toggle (/packages/sphinx-preview/lib/sphinx-preview.js:33:14)
    at HTMLElement.sphinxPreviewToggle (/packages/sphinx-preview/lib/sphinx-preview.js:23:47)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:352326)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:350801)
    at AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:786983)
    at EventEmitter.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:795037)
    at EventEmitter.emit (events.js:223:5)
    at Object.onMessage (electron/js2c/renderer_init.js:115:818)

Commands

     -2:34.3.0 core:backspace (input.hidden-input)
     -0:44.9.0 editor:newline (input.hidden-input)
  2x -0:37 sphinx-preview:toggle (div.line.cursor-line)

Non-Core Packages

browser-plus 0.0.98 
language-sphinx 0.1.9 
sphinx-preview 0.1.5 
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