josa42 / atom-blame

Show git blame as a gutter in Atom editor
https://atom.io/packages/blame
MIT License
22 stars 18 forks source link

Uncaught TypeError: Cannot read property '0' of undefined #45

Open sidagshri opened 6 years ago

sidagshri commented 6 years ago

Tried to annotate svn repository by ctrl+B.

Atom: 1.24.0 x64 Electron: 1.6.16 OS: Ubuntu 16.04.3 Thrown From: blame package 1.0.1

Stack Trace

Uncaught TypeError: Cannot read property '0' of undefined

At events.js:160

TypeError: Cannot read property '0' of undefined
    at /packages/blame/node_modules/blamer/src/vcs/svn.js:24:31
    at Array.forEach (native)
    at /packages/blame/node_modules/blamer/src/vcs/svn.js:22:40
    at /packages/blame/node_modules/xml2js/lib/parser.js:303:18)
    at emitOne (events.js:96:13)
    at Parser.emit (events.js:188:7)
    at SAXParser.onclosetag (/packages/blame/node_modules/xml2js/lib/parser.js:261:26)
    at emit (/packages/blame/node_modules/sax/lib/sax.js:624:35)
    at emitNode (/packages/blame/node_modules/sax/lib/sax.js:629:5)
    at closeTag (/packages/blame/node_modules/sax/lib/sax.js:889:7)
    at SAXParser.write (/packages/blame/node_modules/sax/lib/sax.js:1436:13)
    at Parser.exports.Parser.Parser.parseString (/packages/blame/node_modules/xml2js/lib/parser.js:322:31)
    at Parser.parseString (/packages/blame/node_modules/xml2js/lib/parser.js:5:59)
    at Object.exports.parseString (/packages/blame/node_modules/xml2js/lib/parser.js:354:19)
    at parseResult (/packages/blame/node_modules/blamer/src/vcs/svn.js:13:12)
    at /packages/blame/node_modules/blamer/src/vcs/svn.js:48:9
    at ChildProcess.exithandler (child_process.js:214:7)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:885:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)

Commands

     -2:46.3.0 editor:consolidate-selections (input.hidden-input)
     -2:46.3.0 core:cancel (input.hidden-input)
  2x -2:45.8.0 core:save (input.hidden-input)
  2x -2:40.3.0 editor:auto-indent (input.hidden-input)
     -2:38.9.0 core:select-all (input.hidden-input)
     -2:38.4.0 editor:auto-indent (input.hidden-input)
  4x -2:37.4.0 core:save (input.hidden-input)
  2x -2:27.2.0 core:undo (input.hidden-input)
  3x -2:25.2.0 core:save (input.hidden-input)
     -2:18.3.0 core:select-all (input.hidden-input)
  2x -2:16.7.0 editor:auto-indent (input.hidden-input)
     -2:10.2.0 core:save (input.hidden-input)
  3x -1:57.4.0 git-blame:toggle (input.hidden-input)
     -0:32.3.0 blame:toggle (input.hidden-input)
  3x -0:25.9.0 git-blame:toggle (input.hidden-input)
  2x -0:18.4.0 blame:toggle (input.hidden-input)

Non-Core Packages

blame 1.0.1 
git-blame 1.5.0 
svn 0.0.13