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 212 #45

Open philcaonz opened 7 years ago

philcaonz commented 7 years ago
  1. Open a file
  2. Change contents
  3. Execute git history

Atom: 1.20.1 x64 Electron: 1.6.9 OS: Microsoft Windows 7 Professional Thrown From: git-history package 3.3.0

Stack Trace

Uncaught SyntaxError: Unexpected token in JSON at position 212

At file:///C:/Users/caop/AppData/Local/atom/app-1.20.1/resources/app/static/index.html:1

SyntaxError: Unexpected token    in JSON at position 212
    at JSON.parse (<anonymous>)
    at stdout (/packages/git-history/lib/git-history-view.coffee:47:13)
    at Socket.<anonymous> (~/AppData/Local/atom/app-1.20.1/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

     -2:52.1.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
     -0:41.6.0 intentions:highlight (input.hidden-input)
     -0:41.5.0 command-palette:toggle (input.hidden-input)
  3x -0:40.5.0 core:backspace (input.hidden-input)
  3x -0:36.8.0 core:move-down (input.hidden-input)
     -0:35.7.0 core:confirm (input.hidden-input)
     -0:35.6.0 git-history:show-file-history (input.hidden-input)

Non-Core Packages

activate-power-mode 2.5.0 
atom-ide-ui 0.3.3 
atom-material-syntax 1.0.6 
atom-material-ui 2.0.4 
atomic-chrome 0.3.2 
busy-signal 1.4.3 
editor-stats 0.17.0 
file-icons 2.1.11 
git-blame 1.2.2 
git-diff-details 1.4.0 
git-history 3.3.0 
git-time-machine 1.5.9 
hey-pane 1.0.0 
highlight-selected 0.13.1 
ide-typescript 0.1.6 
intentions 1.1.5 
language-gherkin 1.0.4 
language-gradle 0.0.3 
language-groovy 0.7.0 
line-diff-details 1.9.0 
lines 0.13.1 
linter 2.2.0 
linter-eslint 8.2.1 
linter-ui-default 1.6.10 
merge-conflicts 1.4.5 
minimap 4.29.6 
minimap-bookmarks 0.4.2 
minimap-cursorline 0.2.0 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-selection 4.5.0 
open-recent 5.0.0 
project-plus 1.0.0 
revert-buffer 0.5.0 
split-diff 1.5.1 
tab-control 0.6.10 
tablr 1.8.3 
todo-show 2.0.0 
vim-mode-plus 1.6.0