pusher / atom-pair

An Atom package that allows for epic pair programming
MIT License
1.45k stars 28 forks source link

Uncaught TypeError: Not a string or buffer #102

Closed thethanghn closed 6 years ago

thethanghn commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.4 System: Mac OS X 10.11.5 Thrown From: atom-pair package, v2.0.10

Stack Trace

Uncaught TypeError: Not a string or buffer

At crypto.js:70

TypeError: Not a string or buffer
  at TypeError (native)
  at Hash.update (crypto.js:70:16)
  at Clipboard.module.exports.Clipboard.md5 (/Applications/Atom.app/Contents/Resources/app.asar/src/clipboard.js:19:39)
  at Clipboard.module.exports.Clipboard.write (/Applications/Atom.app/Contents/Resources/app.asar/src/clipboard.js:23:40)
  at Invitation.module.exports.Invitation.invite (/Users/justin/.atom/packages/atom-pair/lib/modules/invitations/invitation.coffee:34:22)
  at new Invitation (/Users/justin/.atom/packages/atom-pair/lib/modules/invitations/invitation.coffee:8:6)
  at Function.module.exports.Session.initiate (/Users/justin/.atom/packages/atom-pair/lib/modules/session.coffee:16:9)
  at atom-workspace.subscriptions.add.atom.commands.add.AtomPair:start new pairing session (/Users/justin/.atom/packages/atom-pair/lib/atom_pair.coffee:49:15)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-li.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
  at HTMLOListElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLOListElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -1:50.1.0 editor:move-to-end-of-screen-line (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:49.5.0 editor:newline-above (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:47 core:backspace (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:43.7.0 core:move-down (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:43.3.0 editor:move-to-end-of-screen-line (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:42.8.0 editor:select-to-first-character-of-line (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:42.1.0 core:move-left (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
  5x -1:37.4.0 core:move-down (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:36.4.0 editor:move-to-end-of-screen-line (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:25.9.0 fuzzy-finder:toggle-file-finder (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -1:22.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:14.8.0 core:save (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -0:50.5.0 command-palette:toggle (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -0:45.8.0 AtomPair:start new pairing session (atom-text-editor#AtomPair.editor.enable-nuclide-find-references)
     -0:04.9.0 command-palette:toggle (atom-text-editor#AtomPair.editor.enable-nuclide-find-references.is-focused)
     -0:00.9.0 AtomPair:start new pairing session (atom-text-editor#AtomPair.editor.enable-nuclide-find-references)

Config

{
  "core": {
    "customFileTypes": {
      "source.ini": [
        ".buckconfig",
        ".flowconfig"
      ],
      "source.json": [
        ".arcconfig",
        "BUCK.autodeps"
      ],
      "source.python": [
        "BUCK"
      ]
    },
    "disabledPackages": [
      "tree-view"
    ]
  }
}

Installed Packages

# User
aligner-ruby, v1.4.0
atom-pair, v2.0.10
autocomplete-ruby, v0.1.0
linter, v1.11.4
linter-eslint, v7.2.2
linter-rubocop, v0.4.7
linter-ruby, v1.2.2
nuclide, v0.138.0
ruby-block, v0.3.5
ruby-slim, v0.2.0

# Dev
No dev packages