mafiuss / atom-cli-diff

TextMate's diff bundle port
MIT License
2 stars 2 forks source link

Uncaught TypeError: Cannot read property 'createTempFileFromClipboard' of null #8

Closed akozlik closed 9 years ago

akozlik commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.181.0 System: Mac OS X 10.10.2 Thrown From: atom-cli-diff package, v0.8.0

Stack Trace

Uncaught TypeError: Cannot read property 'createTempFileFromClipboard' of null

At /Users/akozlik/.atom/packages/atom-cli-diff/lib/diff.coffee:41

TypeError: Cannot read property 'createTempFileFromClipboard' of null
  at Object.module.exports.clipboard (/Users/akozlik/.atom/packages/atom-cli-diff/lib/diff.coffee:41:18)
  at atom-workspace.<anonymous> (/Users/akozlik/.atom/packages/atom-cli-diff/lib/diff.coffee:10:63)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:120:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:176:20)

Commands

     -0:38.7 core:cancel (atom-text-editor.editor.mini)
     -0:38.2 command-palette:toggle (atom-text-editor.editor)
     -0:37.6 core:backspace (atom-text-editor.editor.mini)
     -0:35.7 core:select-all (atom-text-editor.editor.mini)
     -0:33.9 core:move-down (atom-text-editor.editor.mini)
     -0:33.6 core:confirm (atom-text-editor.editor.mini)
     -0:33.5 settings-view:install-packages-and-themes (atom-text-editor.editor)
     -0:29.7 core:confirm (atom-text-editor.editor.mini)
     -0:09.7 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:04.4 core:select-all (atom-text-editor.editor)
     -0:04.1 core:copy (atom-text-editor.editor)
     -0:02.9 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:01.9 core:backspace (atom-text-editor.editor.mini)
     -0:01.1 core:move-down (atom-text-editor.editor.mini)
     -0:00.7 core:confirm (atom-text-editor.editor.mini)
     -0:00.7 diff:clipboard (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-cli-diff, v0.8.0
autocomplete-plus, v2.1.6
autocomplete-plus-async, v0.22.0
cakephp-snippets, v0.6.0
linter, v0.11.1
linter-php, v0.0.11
pretty-json, v0.3.2
robin-language-php, v0.9.0

# Dev
No dev packages