Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Failed to activate the source-preview package - solved with Atom restart #26

Open
Vagrantin opened this issue Nov 15, 2018 · 0 comments

Comments

@Vagrantin
Copy link

[Enter steps to reproduce:]

  1. Use Atom-package-sync to synchronize package between computers, but Source-preview and source-preview-pug doesn't work at all when synced with this package.
  2. Uninstall Source-preview-pug and Uninstall source-preview
  3. Install Source-preview, and Source-preview-pug
  4. Launch Soprevi and you get the error below
  5. Restart Atom > issue solved

Atom: 1.32.2 x64
Electron: 2.0.9
OS: Microsoft Windows 10 Home
Thrown From: source-preview package 0.5.3

Stack Trace

Failed to activate the source-preview package

At Arguments to CompositeDisposable.add must have a .dispose() method

TypeError: Arguments to CompositeDisposable.add must have a .dispose() method
    at assertDisposable (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:1190530)
    at CompositeDisposable.add (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:1191498)
    at Object.consumeProvider (/packages/source-preview/lib/main.coffee:48:21)
    at Provider.t.exports.Provider.provide (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:14:1034525)
    at ServiceHub.t.exports.ServiceHub.consume (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:3028170)
    at Package.activateServices (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:3036302)
    at Package.activateNow (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:3033136)
    at activationCommandSubscriptions.add.commandRegistry.onWillDispatch.n (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:14:1717)
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:1186984)
    at Emitter.emit (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:1188425)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:346959)
    at Object.didConfirmSelection (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:690277)
    at SelectListView.confirmSelection (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:855336)
    at HTMLDivElement.core:confirm (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:850215)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:347327)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:1227611)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:1223745)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.32.2/resources/app/static/<embedded>:11:282763)

Commands

     -7:22.2.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
 12x -7:18.9.0 core:backspace (input.hidden-input)
     -7:15.4.0 editor:consolidate-selections (input.hidden-input)
     -7:15.4.0 core:cancel (input.hidden-input)
     -7:04.0 settings-view:uninstall-packages (input.hidden-input)
  6x -6:26.3.0 core:copy (div.package-readme.native-key-bindings)
  7x -5:11.7.0 bracket-matcher:go-to-matching-bracket (div.package-detail.panels-item)
  2x -4:14.2.0 core:paste (input.input-text.github-CredentialDialog-Password)
     -2:44.7.0 settings-view:uninstall-packages (input.hidden-input)
     -0:52.9.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
  7x -0:49.7.0 core:backspace (input.hidden-input)
     -0:36.4.0 editor:consolidate-selections (input.hidden-input)
     -0:36.4.0 core:cancel (input.hidden-input)
     -0:28 command-palette:toggle (input.hidden-input)
     -0:19 core:confirm (input.hidden-input)
     -0:19 source-preview:toggle (input.hidden-input)

Non-Core Packages

atom-package-sync 0.2.6 
language-pug 0.0.22 
linter-pug 2.0.3 
lorem 1.5.0 
open-in-browser 0.5.2 
platformio-ide-terminal 2.8.4 
source-preview 0.5.3 
source-preview-pug 0.2.0 
split-diff 1.5.3 
Sublime-Style-Column-Selection 1.7.5 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant