jakesankey / git-history

View previous versions of any file known to git.
https://atom.io/packages/git-history
MIT License
28 stars 10 forks source link

Uncaught SyntaxError: Unexpected token in JSON at position 1753 #46

Open jgolieb opened 7 years ago

jgolieb commented 7 years ago

[Enter steps to reproduce:]

  1. Open a file.
  2. Open command palette and run Git History: Show File History command.
  3. Palette says "Loading history for " but nothing happens.
  4. Hit escape or click outside palette.

Atom: 1.20.1 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: git-history package 3.3.0

Stack Trace

Uncaught SyntaxError: Unexpected token in JSON at position 1753

At file:///Applications/Atom.app/Contents/Resources/app/static/index.html:1

SyntaxError: Unexpected token    in JSON at position 1753
    at JSON.parse (<anonymous>)
    at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:212:17)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at Pipe.onread (net.js:551:20)

Commands

     -0:43.9.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
     -0:38.4.0 command-palette:toggle (input.hidden-input)
     -0:34.1.0 git-history:show-file-history (input.hidden-input)
     -0:28.9.0 editor:consolidate-selections (input.hidden-input)
     -0:28.9.0 core:cancel (input.hidden-input)

Non-Core Packages

atom-easy-jsdoc 4.12.3 
atom-handlebars 1.3.0 
busy-signal 1.4.3 
file-icons 2.1.11 
flex-tool-bar 0.12.0 
git-history 3.3.0 
goto-definition 1.3.4 
highlight-selected 0.13.1 
hyperclick 0.1.5 
ide-json 0.1.0 
ide-typescript 0.6.1 
intentions 1.1.5 
js-hyperclick 1.11.0 
last-cursor-position 0.9.2 
linter 2.2.0 
linter-eslint 8.2.1 
linter-ui-default 1.6.8 
minimap 4.29.6 
minimap-bookmarks 0.4.2 
minimap-codeglance 0.4.7 
minimap-cursorline 0.2.0 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-linter 2.0.2 
minimap-selection 4.5.0 
open-files 0.8.2 
pinned-tabs 1.3.0 
Sublime-Style-Column-Selection 1.7.4 
symbols-list 2.4.1 
term3 0.22.1 
tool-bar 1.1.0