littlebee / git-time-machine

Atom package that allows you to travel back in commit history
MIT License
1.12k stars 37 forks source link

Uncaught TypeError: Cannot read property 'scale' of undefined #112

Open nodarai opened 7 years ago

nodarai commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64 Electron: 1.3.13 OS: Windows 7 Thrown From: git-time-machine package 1.5.9

Stack Trace

Uncaught TypeError: Cannot read property 'scale' of undefined

At C:\Users\***\.atom\packages\git-time-machine\lib\git-timeplot.coffee:70

TypeError: Cannot read property 'scale' of undefined
    at GitTimeplot.module.exports.GitTimeplot._renderAxis (/packages/git-time-machine/lib/git-timeplot.coffee:70:17)
    at GitTimeplot.module.exports.GitTimeplot.render (/packages/git-time-machine/lib/git-timeplot.coffee:52:6)
    at GitTimeMachineView.module.exports.GitTimeMachineView._renderTimeline (/packages/git-time-machine/lib/git-time-machine-view.coffee:114:15)
    at GitTimeMachineView.module.exports.GitTimeMachineView.render (/packages/git-time-machine/lib/git-time-machine-view.coffee:40:8)
    at GitTimeMachineView.module.exports.GitTimeMachineView.setEditor (/packages/git-time-machine/lib/git-time-machine-view.coffee:29:6)
    at Object.toggle (/packages/git-time-machine/lib/git-time-machine.coffee:39:27)
    at /packages/git-time-machine/lib/git-time-machine.coffee:17:91)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at Object.didConfirmSelection (/app.asar/node_modules/command-palette/lib/command-palette-view.js:106:29)
    at SelectListView.confirmSelection (/app.asar/node_modules/atom-select-list/src/select-list-view.js:292:20)
    at /app.asar/node_modules/atom-select-list/src/select-list-view.js:64:14)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
    at /app.asar/src/window-event-handler.js:3:59)

Commands

     -0:18.9.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:14.2.0 command-palette:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:12 core:move-down (input.hidden-input)
     -0:11.2.0 core:confirm (input.hidden-input)
     -0:11 git-time-machine:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Non-Core Packages

atom-django 0.3.2 
incremental-search 5.2.1 
language-htaccess 0.1.1 
language-ini 1.19.0 
pigments 0.39.1 
script 3.14.1 
synced-sidebar 0.4.3 
autoclose-tags 0.2.1 
autocomplete-bash-builtins 0.3.4 
autocomplete-python 1.8.30 
busy-signal 1.2.0 
color-picker 2.2.5 
d3 4.7.4 
django-atom 0.2.4 
file-icons 2.0.13 
fonts 2.0.0 
git-log 0.4.1 
git-time-machine 1.5.9 
highlight-line 0.12.0 
highlight-selected 0.12.0 
imdone-atom 2.1.18 
intentions 1.1.2 
linter 1.11.4 
linter-pylint 1.2.2 
linter-ui-default 0.0.3 
minimap 4.26.8 
minimap-highlight-selected 4.5.0 
minimap-pigments 0.2.2 
minimap-split-diff 0.3.7 
python-tools 0.6.9 
remote-edit 1.8.24 
split-diff 1.3.0 
symbols-tree-view 0.13.2