atom / github

:octocat: Git and GitHub integration for Atom
https://github.atom.io
MIT License
1.12k stars 393 forks source link

Failed to activate the github package #833

Open wryk opened 7 years ago

wryk commented 7 years ago

[Enter steps to reproduce:]

  1. run Atom

Atom: 1.18.0-beta0 x64 Electron: 1.3.15 OS: Microsoft Windows [version 10.0.15063] Thrown From: github package 0.0.9

Stack Trace

Failed to activate the github package

At validateDOMNesting.updatedAncestorInfo is not a function

TypeError: validateDOMNesting.updatedAncestorInfo is not a function
    at ReactDOMContainerInfo (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/ReactDOMContainerInfo.js:27:1)
    at mountComponentIntoNode (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/ReactMount.js:104:1)
    at ReactReconcileTransaction.perform (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/Transaction.js:140:1)
    at batchedMountComponentIntoNode (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/ReactMount.js:126:1)
    at ReactDefaultBatchingStrategyTransaction.perform (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/Transaction.js:140:1)
    at Object.batchedUpdates (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js:62:1)
    at Object.batchedUpdates (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/ReactUpdates.js:97:1)
    at Object._renderNewRootComponent (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/ReactMount.js:320:1)
    at Object._renderSubtreeIntoContainer (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/ReactMount.js:401:1)
    at Object.render (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/react-dom/lib/ReactMount.js:422:1)
    at GithubPackage.rerender (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/github/lib/github-package.js:304:1)
    at GithubPackage.activate (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/node_modules/github/lib/github-package.js:277:1)
    at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package.js:253:1)
    at ~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package.js:225:1
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package.js:99:1)
    at ~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package.js:218:1
    at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package.js:215:1)
    at PackageManager.module.exports.PackageManager.activatePackage (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package-manager.js:645:1)
    at ~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package-manager.js:626:1
    at Config.module.exports.Config.transactAsync (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/config.js:346:1)
    at PackageManager.module.exports.PackageManager.activatePackages (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package-manager.js:621:1)
    at PackageManager.module.exports.PackageManager.activate (~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/package-manager.js:603:1)
    at ~/AppData/Local/atom/app-1.18.0-beta0/resources/app/src/atom-environment.js:846:1

Commands

Non-Core Packages

BinaryMuse commented 7 years ago

Hi, @wryk, just to be sure — do you get the same error running in safe mode (starting Atom with

--safe

)?

wryk commented 7 years ago

Yep, I get exactly the same error

johnmichel commented 7 years ago

This is also occurring on OS X in the latest beta.

Atom: 1.18.0-beta0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.4 Thrown From: github package 0.0.9

fdocr commented 7 years ago

Not sure if this is of any help, but I encounter the same error when launching from terminal on OS X as well (including --safe). However, it does not happen when launching from spotlight (or double clicking the app icon).

Atom: 1.18.0-beta0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.4 Thrown From: github package 0.0.9

TypeError: validateDOMNesting.updatedAncestorInfo is not a function
    at ReactDOMContainerInfo (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/ReactDOMContainerInfo.js:27:1)
    at mountComponentIntoNode (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:104:1)
    at ReactReconcileTransaction.perform (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/Transaction.js:140:1)
    at batchedMountComponentIntoNode (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:126:1)
    at ReactDefaultBatchingStrategyTransaction.perform (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/Transaction.js:140:1)
    at Object.batchedUpdates (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js:62:1)
    at Object.batchedUpdates (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/ReactUpdates.js:97:1)
    at Object._renderNewRootComponent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:320:1)
    at Object._renderSubtreeIntoContainer (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:401:1)
    at Object.render (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:422:1)
    at GithubPackage.rerender (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/github/lib/github-package.js:304:1)
    at GithubPackage.activate (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/github/lib/github-package.js:277:1)
    at Package.module.exports.Package.activateNow (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:253:1)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/package.js:225:1
    at Package.module.exports.Package.measure (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:99:1)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/package.js:218:1
    at Package.module.exports.Package.activate (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:215:1)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:645:1)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:626:1
    at Config.module.exports.Config.transactAsync (/Applications/Atom Beta.app/Contents/Resources/app/src/config.js:346:1)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:621:1)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:603:1)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/atom-environment.js:846:1
BinaryMuse commented 7 years ago

For all those who've commented about seeing this error, do any of you have process.env.NODE_ENV exported in your shell?

fdocr commented 7 years ago

In my shell I have development from echo $NODE_ENV, but inside Atom Beta DevTools process.env.NODE_ENV prints out "production"

wryk commented 7 years ago

In my terminal echo %NODE_ENV% is development and in Atom devtools process.env.NODE_ENV is "development"

I managed to make atom-github work from my terminal with production env

set NODE_ENV=production
atom
fdocr commented 7 years ago

I get the same result as @wryk, running NODE_ENV=production atom-beta solves the problem in my case too.

johnmichel commented 7 years ago

@BinaryMuse I also have the value exported as development in my shell.

chaffeqa commented 7 years ago

Same, thats a pretty strange behavior for react... basically:

  1. You ship a compiled package (compiled with NODE_ENV="production")
  2. You still change code paths / logic based on NODE_ENV in compiled version
sqal commented 7 years ago

I think I have similar problem but with atom 1.18.0

Uncaught (in promise) TypeError: validateDOMNesting.updatedAncestorInfo is not a function(…)
spell-check:en-us Can't load en_US: Cannot find dictionary for en_US.
Uncaught (in promise) TypeError: validateDOMNesting.updatedAncestorInfo is not a function(…)
Error serializing package 'github' TypeError: Cannot read property 'serialize' of undefined
    at GithubPackage.serialize (C:\Users\pc\AppData\Local\atom\app-1.18.0\resources\app\node_modules\github\lib\github-package.js:268:43)
    at Package.module.exports.Package.serialize (C:\Users\pc\AppData\Local\atom\app-1.18.0\resources\app\src\package.js:785:103)
    at PackageManager.module.exports.PackageManager.serializePackage (C:\Users\pc\AppData\Local\atom\app-1.18.0\resources\app\src\package-manager.js:712:69)
    at PackageManager.module.exports.PackageManager.serialize (C:\Users\pc\AppData\Local\atom\app-1.18.0\resources\app\src\package-manager.js:705:20)
    at AtomEnvironment.module.exports.AtomEnvironment.serialize (C:\Users\pc\AppData\Local\atom\app-1.18.0\resources\app\src\atom-environment.js:880:44)
    at C:\Users\pc\AppData\Local\atom\app-1.18.0\resources\app\src\atom-environment.js:1194:33
    at AtomEnvironment.module.exports.AtomEnvironment.saveState (C:\Users\pc\AppData\Local\atom\app-1.18.0\resources\app\src\atom-environment.js:1190:20)
    at C:\Users\pc\AppData\Local\atom\app-1.18.0\resources\app\src\atom-environment.js:370:34

First I thought that something went wrong while updating the atom but then i did a fresh install and I am getting the same error.

Atom: 1.18.0 Electron: 1.3.15 OS: Windows 10 x64 Thrown From: github package 0.3.3

@wryk's solution also fixes the problem for me :) thanks.

Mr-Chilly commented 7 years ago

is this being looked at? I have to swap node_env everytime I boot atom as my current project requires NODE_ENV=development!

kjellmorten commented 7 years ago

Quick fix on OS X:

Locate the atom.sh script (probably in /Applications/Atom.app/Contents/Resources/app/), and add the following line at the top, just below #!/bin/bash:

NODE_ENV="production"

It's not a stable fix, but works until next update of Atom.

caged commented 7 years ago

I ran into a similar issue with Atom 1.19.0 and github 0.4.2. It turns out I had an old development version of the github apm package installed. Removing it with apm uninstall github appears to fix the error.

Atom: 1.19.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: github package 0.4.2

Stack Trace

Failed to activate the github package

At _reactRelay2.default.createContainer is not a function

TypeError: _reactRelay2.default.createContainer is not a function
    at /packages/github/head-ref-force-pushed-event-container.js:55:22)
    at /packages/github/lib/containers/timeline-items/head-ref-force-pushed-event-container.js:339:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
    at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/github/issueish-timeline-container.js:9:1)
    at /packages/github/lib/containers/issueish-timeline-container.js:436:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
    at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/github/issueish-pane-item-container.js:6:1)
    at /packages/github/lib/containers/issueish-pane-item-container.js:625:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
    at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/github/issueish-lookup-by-number-container.js:6:1)
    at /packages/github/lib/containers/issueish-lookup-by-number-container.js:272:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)

Commands

     -0:10.6.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling)

Non-Core Packages

atom-beautify 0.30.4 
atom-liquid-snippets 0.3.0 
atom-runner 2.7.1 
autocomplete-python 1.10.0 
busy-signal 1.4.3 
color-picker 2.2.5 
docblockr 0.11.0 
docker 0.7.0 
erb-helper 1.1.0 
file-icons 2.1.10 
gist-it 0.9.2 
intentions 1.1.5 
language-carto 0.7.0 
language-cython 0.3.0 
language-docker 1.1.8 
language-glsl 2.0.1 
language-javascript-jsx 0.3.7 
language-liquid 0.6.0 
language-lua 0.9.11 
language-protobuf 0.7.1 
language-puppet 0.23.0 
language-rspec-plus 0.1.1 
linter 2.2.0 
linter-docker 0.2.0 
linter-eslint 8.2.1 
linter-pycodestyle 2.0.2 
linter-shellcheck 1.4.4 
linter-stylelint 4.0.1 
linter-ui-default 1.6.4 
merge-conflicts 1.4.5 
pdf-view 0.59.0 
pigments 0.40.2 
processing 0.13.0 
processing-language 0.2.0 
python-autopep8 0.1.3 
rspec 0.3.4 
rst-preview 1.3.1 
script 3.15.0 
selector-to-tag 0.4.2 
shebang-set-grammar 0.6.0 
Sublime-Style-Column-Selection 1.7.4 
svg-preview 0.11.0 
tablr 1.8.3 
turbo-javascript 1.4.0 
wordcount 2.10.4 
gjtorikian commented 7 years ago

Awesome find, @Caged! Uninstalling that package worked for me as well.

roddypratt commented 6 years ago

Suffering exactly the same here. I seems to be really struggling with the whole concept of NODE_ENV, though. Setting it to "production" to make Atom work seems to mean that yarn will randomly decide to remove my devDependencies, so all my webpack builds then fail...

kjellmorten commented 6 years ago

My "workaround" now is to open Atom from Finder before using the atom command in Terminal. It works, but it still seems strange that Atom is depending on NODE_ENV in the production application.

Do you know if there is a fix coming here, @smashwilson? :)

aforty commented 6 years ago

This is silly. There's probably a ton of people out there unable to use the Github Package because they have NODE_ENV set to development but may not have the fortitude/time to look into it and stumble across this thread. I just spent an hour trying to debug this and figure it out and that's time I'm not getting back.

The package shouldn't care what NODE_ENV is set to. This issue is a year old now. Please fix this.

kjellmorten commented 6 years ago

It seems like this is fixed now, @smashwilson and @BinaryMuse? At least I can open atom from the command line again with NODE_ENV=development and get the GitHub package. Thank you so much! :)

cainspencerm commented 4 years ago

I ran into this problem, but managed to get around it by cloning using Github Desktop, then opening that directory as a project in Atom. This allowed me to login to Github using the bottom right tool.

harryghgim commented 4 years ago

Same issue here. When I enable github package I get this error

Error: Emitter has been disposed
    at Emitter.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1214667)
    at Repository.onPullError (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:620738)
    at RootController.componentDidUpdate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:647306)
    at ik (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2025003)
    at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:3391586)
    at fg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969383)
    at Yj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2021256)
    at Lj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2011603)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969673
    at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:3391586)
    at fg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969383)
    at ig (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969619)
    at jg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969554)
    at Rg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2008175)
    at rk (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2036026)
    at zk (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2036887)
    at Object.render (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2039168)
    at GithubPackage.renderFn.T [as renderFn] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:822678)
    at GithubPackage.rerender (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:826875)
    at GithubPackage.consumeStatusBar (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:828071)
    at Provider.provide (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1122126)
    at ServiceHub.consume (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3217026)
    at Package.activateServices (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3225258)
    at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3222013)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3221337)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3218947)
    at activationPromise.activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3221197)
    at new Promise (<anonymous>)
    at Package.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3221140)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382452)
    at o.forEach.e (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:377618)
    at Array.forEach (<anonymous>)
    at disabledPackagesSubscription.disabledPackagesSubscription.config.onDidChange (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:377602)
    at emitter.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:334653)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1214120)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1215561)
ghost commented 4 years ago

Same issue here. When I enable github package I get this error

Error: Emitter has been disposed
    at Emitter.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1214667)
    at Repository.onPullError (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:620738)
    at RootController.componentDidUpdate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:647306)
    at ik (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2025003)
    at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:3391586)
    at fg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969383)
    at Yj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2021256)
    at Lj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2011603)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969673
    at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:3391586)
    at fg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969383)
    at ig (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969619)
    at jg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1969554)
    at Rg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2008175)
    at rk (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2036026)
    at zk (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2036887)
    at Object.render (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2039168)
    at GithubPackage.renderFn.T [as renderFn] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:822678)
    at GithubPackage.rerender (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:826875)
    at GithubPackage.consumeStatusBar (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:828071)
    at Provider.provide (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1122126)
    at ServiceHub.consume (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3217026)
    at Package.activateServices (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3225258)
    at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3222013)
    at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3221337)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3218947)
    at activationPromise.activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3221197)
    at new Promise (<anonymous>)
    at Package.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3221140)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382452)
    at o.forEach.e (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:377618)
    at Array.forEach (<anonymous>)
    at disabledPackagesSubscription.disabledPackagesSubscription.config.onDidChange (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:377602)
    at emitter.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:334653)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1214120)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1215561)

Same error.

ilya-the-frog commented 4 years ago

same for me Failed to activate the github package

Emitter has been disposed Hide Stack Trace

Error: Emitter has been disposed
    at Emitter.on (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:1214667)
    at Repository.onDidUpdate (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:620698)
    at GitTabHeaderController.componentDidUpdate (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:4325761)
    at ik (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2025017)
    at e.unstable_runWithPriority (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:3394139)
    at fg (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969397)
    at Yj (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2021270)
    at Lj (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2011617)
    at C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969687
    at e.unstable_runWithPriority (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:3394139)
    at fg (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969397)
    at ig (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969633)
    at jg (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969568)
    at Rg (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2008189)
    at rk (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2036040)
    at zk (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2036901)
    at Object.render (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2039182)
    at GithubPackage.renderFn.T [as renderFn] (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:822678)
    at GithubPackage.rerender (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:826875)
    at GithubPackage.consumeStatusBar (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:828071)
    at Provider.provide (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1122140)
    at ServiceHub.consume (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3321977)
    at Package.activateServices (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3330209)
    at Package.activateNow (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326964)
    at measure (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326288)
    at Package.measure (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3323898)
    at activationPromise.activationPromise.Promise (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326148)
    at new Promise (<anonymous>)
    at Package.activate (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326091)
    at PackageManager.activatePackage (C:\Users\shant\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:382452)
The error was thrown from the github package. This issue has already been reported.
YaraAmrallah commented 4 years ago

Same

Error: Emitter has been disposed
    at Emitter.on (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:1214667)
    at Repository.onPullError (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:620752)
    at new RootController (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:636163)
    at Ug (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1975021)
    at ui (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1991770)
    at ps (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2029728)
    at fk (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2014152)
    at Zj (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2014077)
    at Lj (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2011418)
    at Rg (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2008168)
    at rk (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2036040)
    at C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2037274
    at ck (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2011767)
    at zk (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2037260)
    at Object.render (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2039182)
    at GithubPackage.renderFn.T [as renderFn] (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:822678)
    at GithubPackage.rerender (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:826875)
    at GithubPackage.consumeStatusBar (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:828071)
    at Provider.provide (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1122140)
    at ServiceHub.consume (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3321977)
    at Package.activateServices (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3330209)
    at Package.activateNow (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326964)
    at measure (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326288)
    at Package.measure (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3323898)
    at activationPromise.activationPromise.Promise (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326148)
    at new Promise (<anonymous>)
    at Package.activate (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326091)
    at PackageManager.activatePackage (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:382452)
    at o.forEach.e (C:\Users\yaraa\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:377618)
    at Array.forEach (<anonymous>)
ilya-the-frog commented 4 years ago

i fixed this by downloading and installing https://desktop.github.com/

maybe this can help anyone else

AShipulin commented 4 years ago

Atom: 1.45.0 OS: Win 7 Github: 2.4.1

Failed to activate the github package

Emitter has been disposed Show Stack Trace The error was thrown from the github package. This issue has already been reported.

rror: Emitter has been disposed
    at Emitter.on (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:1214667)
    at Repository.onPullError (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:620752)
    at RootController.componentDidUpdate (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:647320)
    at ik (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2025017)
    at e.unstable_runWithPriority (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:3394139)
    at fg (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969397)
    at Yj (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2021270)
    at Lj (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2011617)
    at C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969687
    at e.unstable_runWithPriority (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:3394139)
    at fg (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969397)
    at ig (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969633)
    at jg (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1969568)
    at Rg (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2008189)
    at rk (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2036040)
    at zk (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2036901)
    at Object.render (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:2039182)
    at GithubPackage.renderFn.T [as renderFn] (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:822678)
    at GithubPackage.rerender (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:826875)
    at GithubPackage.consumeStatusBar (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:828071)
    at Provider.provide (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:14:1122140)
    at ServiceHub.consume (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3321977)
    at Package.activateServices (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3330209)
    at Package.activateNow (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326964)
    at measure (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326288)
    at Package.measure (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3323898)
    at activationPromise.activationPromise.Promise (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326148)
    at new Promise (<anonymous>)
    at Package.activate (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:3326091)
    at PackageManager.activatePackage (C:\Users\Александр\AppData\Local\atom\app-1.45.0\resources\app\static\<embedded>:11:382452)
BenjaminZimbal commented 4 years ago

Same Error on my side. This happens in Safe Mode as well.

Some repositories get recognized and I can commit any staged changes. Some reps do not get recognized and the git tab will stay empty. Re-Init is prevented.

Removing and adding project directories again does not work.

Updating Git for Windows did not help, sadly.

I did not consider re-installing Git for Windows yet, as my repos are only for private matter.

RavanH commented 4 years ago

Atom 1.45.0 Electron 4.2.7 Chrome 69.0.3497.128 Node v10.11.0 Github integration 0.34.0 OS: Ubuntu 20.04 on Wayland session

Failed to activate the github package

Error: Emitter has been disposed
    at Emitter.on (/usr/share/atom/resources/app/static/<embedded>:11:1214667)
    at Repository.onPullError (/usr/share/atom/resources/app/static/<embedded>:14:620738)
    at new RootController (/usr/share/atom/resources/app/static/<embedded>:14:636149)
    at Ug (/usr/share/atom/resources/app/static/<embedded>:14:1975007)
    at ui (/usr/share/atom/resources/app/static/<embedded>:14:1991756)
    at ps (/usr/share/atom/resources/app/static/<embedded>:14:2029714)
    at fk (/usr/share/atom/resources/app/static/<embedded>:14:2014138)
    at Zj (/usr/share/atom/resources/app/static/<embedded>:14:2014063)
    at Lj (/usr/share/atom/resources/app/static/<embedded>:14:2011404)
    at Rg (/usr/share/atom/resources/app/static/<embedded>:14:2008154)
    at rk (/usr/share/atom/resources/app/static/<embedded>:14:2036026)
    at /usr/share/atom/resources/app/static/<embedded>:14:2037260
    at ck (/usr/share/atom/resources/app/static/<embedded>:14:2011753)
    at zk (/usr/share/atom/resources/app/static/<embedded>:14:2037246)
    at Object.render (/usr/share/atom/resources/app/static/<embedded>:14:2039168)
    at GithubPackage.renderFn.T [as renderFn] (/usr/share/atom/resources/app/static/<embedded>:11:822678)
    at GithubPackage.rerender (/usr/share/atom/resources/app/static/<embedded>:11:826875)
    at GithubPackage.consumeStatusBar (/usr/share/atom/resources/app/static/<embedded>:11:828071)
    at Provider.provide (/usr/share/atom/resources/app/static/<embedded>:14:1122126)
    at ServiceHub.consume (/usr/share/atom/resources/app/static/<embedded>:11:3214705)
    at Package.activateServices (/usr/share/atom/resources/app/static/<embedded>:11:3222937)
    at Package.activateNow (/usr/share/atom/resources/app/static/<embedded>:11:3219692)
    at measure (/usr/share/atom/resources/app/static/<embedded>:11:3219016)
    at Package.measure (/usr/share/atom/resources/app/static/<embedded>:11:3216626)
    at activationPromise.activationPromise.Promise (/usr/share/atom/resources/app/static/<embedded>:11:3218876)
    at new Promise (<anonymous>)
    at Package.activate (/usr/share/atom/resources/app/static/<embedded>:11:3218819)
    at PackageManager.activatePackage (/usr/share/atom/resources/app/static/<embedded>:11:382452)
    at o.forEach.e (/usr/share/atom/resources/app/static/<embedded>:11:377618)
    at Array.forEach (<anonymous>)
    at disabledPackagesSubscription.disabledPackagesSubscription.config.onDidChange (/usr/share/atom/resources/app/static/<embedded>:11:377602)
    at emitter.on (/usr/share/atom/resources/app/static/<embedded>:11:334653)
    at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1214120)
    at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1215561)
    at Config.emitChangeEvent (/usr/share/atom/resources/app/static/<embedded>:11:337141)
    at Config.setRawValue (/usr/share/atom/resources/app/static/<embedded>:11:334381)
    at Config.set (/usr/share/atom/resources/app/static/<embedded>:11:330175)
    at Config.removeAtKeyPath (/usr/share/atom/resources/app/static/<embedded>:11:332198)
    at Package.enable (/usr/share/atom/resources/app/static/<embedded>:11:3216411)
    at PackageManager.enablePackage (/usr/share/atom/resources/app/static/<embedded>:11:375316)
    at HTMLButtonElement.enablementButtonClickHandler (/usr/share/atom/resources/app/static/<embedded>:14:2639144)

Note that this error occur even when the package seems to be activate correctly afterwards!

weiguangcui commented 4 years ago

Same error here. And my Github tab always show Offline.

Atom: 1.47.0 x64 Electron: 5.0.13 OS: Ubuntu 18.04.4 Thrown From: github package 0.34.2-3

Stack Trace

Failed to activate the github package

At Emitter has been disposed

Error: Emitter has been disposed
    at Emitter.on (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:1201797)
    at Repository.onPullError (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:590780)
    at new RootController (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:606191)
    at Ug (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1878231)
    at ui (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1894980)
    at ps (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1932938)
    at fk (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1917362)
    at Zj (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1917287)
    at Lj (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1914628)
    at Rg (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1911378)
    at rk (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1939250)
    at /snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1940484
    at ck (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1914977)
    at zk (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1940470)
    at Object.render (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1942392)
    at GithubPackage.renderFn (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:819040)
    at GithubPackage.rerender (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:823237)
    at GithubPackage.consumeStatusBar (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:824433)
    at Provider.provide (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:14:1060525)
    at ServiceHub.consume (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:3187066)
    at Package.activateServices (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:3195298)
    at Package.activateNow (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:3192053)
    at /snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:3191377
    at Package.measure (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:3188987)
    at /snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:3191237
    at new Promise (<anonymous>)
    at Package.activate (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:3191180)
    at PackageManager.activatePackage (/snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:382738)
    at /snap/atom/252/usr/share/atom/resources/app/static/<embedded>:11:377904
    at Array.forEach (<anonymous>)

Commands

     -2:03.7.0 application:add-project-folder (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -1:22.5.0 open-on-github:branch-compare (div.github-GitHub-root)

Non-Core Packages

RavanH commented 4 years ago

@weiguangcui

Same error here. And my Github tab always show Offline.

Had the same but after a few attempts I noticed the Github tab had come alive after all. No idea when/why/how but started working again. The error remains though...

totallytavi commented 4 years ago

Same error as all before me, but I had several tabs open with unsaved changes (About 6). Upon saving each one, Atom recognized the changes and the GitHub + Git tabs reopened

dnorthup-ums commented 4 years ago

Still here, still annoying as all get-out.

Atom: 1.51.0 x64 Electron: 5.0.13 OS: Ubuntu 18.04.5 Thrown From: github package 0.34.2

Stack Trace

Failed to activate the github package

At Emitter has been disposed

Error: Emitter has been disposed
    at Emitter.on (/usr/share/atom/resources/app/static/<embedded>:11:1190844)
    at Repository.onPullError (/usr/share/atom/resources/app/static/<embedded>:14:616339)
    at new RootController (/usr/share/atom/resources/app/static/<embedded>:14:631750)
    at Ug (/usr/share/atom/resources/app/static/<embedded>:14:1904119)
    at ui (/usr/share/atom/resources/app/static/<embedded>:14:1920868)
    at ps (/usr/share/atom/resources/app/static/<embedded>:14:1958826)
    at fk (/usr/share/atom/resources/app/static/<embedded>:14:1943250)
    at Zj (/usr/share/atom/resources/app/static/<embedded>:14:1943175)
    at Lj (/usr/share/atom/resources/app/static/<embedded>:14:1940516)
    at Rg (/usr/share/atom/resources/app/static/<embedded>:14:1937266)
    at rk (/usr/share/atom/resources/app/static/<embedded>:14:1965138)
    at /usr/share/atom/resources/app/static/<embedded>:14:1966372
    at ck (/usr/share/atom/resources/app/static/<embedded>:14:1940865)
    at zk (/usr/share/atom/resources/app/static/<embedded>:14:1966358)
    at Object.render (/usr/share/atom/resources/app/static/<embedded>:14:1968280)
    at GithubPackage.renderFn (/usr/share/atom/resources/app/static/<embedded>:11:808087)
    at GithubPackage.rerender (/usr/share/atom/resources/app/static/<embedded>:11:812284)
    at GithubPackage.consumeStatusBar (/usr/share/atom/resources/app/static/<embedded>:11:813480)
    at Provider.provide (/usr/share/atom/resources/app/static/<embedded>:14:1086111)
    at ServiceHub.consume (/usr/share/atom/resources/app/static/<embedded>:11:3177269)
    at Package.activateServices (/usr/share/atom/resources/app/static/<embedded>:11:3185501)
    at Package.activateNow (/usr/share/atom/resources/app/static/<embedded>:11:3182256)
    at /usr/share/atom/resources/app/static/<embedded>:11:3181580
    at Package.measure (/usr/share/atom/resources/app/static/<embedded>:11:3179190)
    at /usr/share/atom/resources/app/static/<embedded>:11:3181440
    at new Promise (<anonymous>)
    at Package.activate (/usr/share/atom/resources/app/static/<embedded>:11:3181383)
    at PackageManager.activatePackage (/usr/share/atom/resources/app/static/<embedded>:11:383037)
    at /usr/share/atom/resources/app/static/<embedded>:11:378203
    at Array.forEach (<anonymous>)

Commands

  2x -5:51 application:reopen-project (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

ansible-vault 0.7.9 
asciidoc-preview 2.13.1 
atom-jinja2 0.6.0 
atomatigit 1.5.5 
autocomplete-ansible 0.1.25 
busy-signal 2.0.1 
diagrams 0.30.0 
f5-networks-iRules 0.1.0 
flow-diagram 0.4.0 
graphviz-preview-plus 1.5.11 
intentions 1.1.5 
language-ansible 0.2.2 
language-apache 1.8.0 
language-asciidoc 1.11.0 
language-diff 0.7.0 
language-dot 1.7.0 
language-flow-diagram 1.1.2 
linter 3.1.1 
linter-ansible-linting 1.5.1 
linter-ui-default 2.1.2 
linter-ui-plus 0.3.2 
linter-yaml 1.1.0 
minimap 4.29.9 
minimap-git-diff 4.3.1 
regex-railroad-diagram 0.19.4 
zebra-stripes 1.2.1 
dnorthup-ums commented 4 years ago

FWIW, I triggered the error debugging yet another instance of this: https://discuss.atom.io/t/unable-to-open-or-save-files/68842/4

weiguangcui commented 4 years ago

Just in case if someone is only interested to get the software work, please clean up all your atom setups and configuration. Download Atom from the website and install it with dgkp. It should work as expected, at least work for me.

Best, Weiguang


https://weiguangcui.github.io/

On Tue, Oct 13, 2020 at 4:45 PM dnorthup-ums notifications@github.com wrote:

FWIW, I triggered the error debugging yet another instance of this: https://discuss.atom.io/t/unable-to-open-or-save-files/68842/4

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/atom/github/issues/833#issuecomment-707832124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGM4VCGUGDVVCP7YESPPURDSKRYYPANCNFSM4DLXHZVQ .

dnorthup-ums commented 4 years ago

@weiguangcui I have had this same problem with multiple fresh installs of Atom. Besides, the purpose of an extensible editor is to save time and effort, not increase it.

weiguangcui commented 4 years ago

I think my old problem (not fully identified) may be caused by the installation through snap with my old .atom folder is not fully clean up. Best, Weiguang


https://weiguangcui.github.io/

On Tue, Oct 13, 2020 at 9:14 PM dnorthup-ums notifications@github.com wrote:

@weiguangcui https://github.com/weiguangcui I have had this same problem with multiple fresh installs of Atom. Besides, the purpose of an extensible editor is to save time and effort, not increase it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/atom/github/issues/833#issuecomment-707982366, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGM4VCDYXK7XUR3USU7I3VDSKSYMFANCNFSM4DLXHZVQ .

jpivac commented 3 years ago

I'm getting this when I tried to reconnect to a new github account. Ubuntu 20.04. Github tab is saying Offline: You don't seem to be connected to the internet. When you're back online, we'll try again. Retry does nothing. Tried disabling and re-enabling the github package. Complete uninstall and reinstall of Atom. Removed the .atom directory. All to no effect.

ghaant commented 2 years ago

+1

matt-palermo-optum commented 2 years ago

Is there any other way to add git functionality to Atom without using this package? I have no use of the GitHub specific parts of it.


Error: Emitter has been disposed
    at Emitter.on (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1187472)
    at Repository.onPullError (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:645712)
    at new RootController (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:661033)
    at Ug (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2017473)
    at ui (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2034222)
    at ps (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2072180)
    at fk (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2056604)
    at Zj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2056529)
    at Lj (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2053870)
    at Rg (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2050620)
    at rk (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2078492)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2079726
    at ck (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2054219)
    at zk (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2079712)
    at Object.render (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2081634)
    at GithubPackage.renderFn (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:811597)
    at GithubPackage.rerender (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:815794)
    at GithubPackage.consumeStatusBar (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:816990)
    at Provider.provide (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1167325)
    at ServiceHub.consume (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3385957)
    at Package.activateServices (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3394288)
    at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3391043)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3390367
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3387945)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3390227
    at new Promise (<anonymous>)
    at Package.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3390170)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:385612)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:380776
    at Array.forEach (<anonymous>)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:380760
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:337689
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1186925)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1188366)
    at Config.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:340177)
    at Config.setRawValue (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:337417)
daniel-dev-lab commented 1 year ago

I just caught this error while disabling the GitHub addon and trying to "reinstall it"; right after this error popped up.

Versions

Atom: 1.60.0 x64 Electron: 9.4.4 OS: Microsoft Windows 10 Home Thrown From: github package 0.36.9

Stack Trace

Failed to activate the github package

At Emitter has been disposed

Error: Emitter has been disposed
    at Emitter.on (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1188213)
    at Repository.onPullError (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:645868)
    at new RootController (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:661189)
    at Ug (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:1996988)
    at ui (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2013737)
    at ps (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2051695)
    at fk (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2036119)
    at Zj (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2036044)
    at Lj (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2033385)
    at Rg (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2030135)
    at rk (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2058007)
    at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2059241
    at ck (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2033734)
    at zk (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2059227)
    at Object.render (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2061149)
    at GithubPackage.renderFn (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:812408)
    at GithubPackage.rerender (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:816605)
    at GithubPackage.consumeStatusBar (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:817801)
    at Provider.provide (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:1170937)
    at ServiceHub.consume (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3526604)
    at Package.activateServices (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3534929)
    at Package.activateNow (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3531684)
    at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3531008
    at Package.measure (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3528586)
    at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3530868
    at new Promise (<anonymous>)
    at Package.activate (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3530811)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:386057)
    at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:381221
    at Array.forEach (<anonymous>)
    at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:381205
    at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:338057
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1187666)
    at Emitter.emit (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1189107)
    at Config.emitChangeEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:340545)
    at Config.setRawValue (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:337785)

Commands

     -4:58.2.0 tree-view:remove-project-folder (div.header.list-item.project-root-header)
     -4:43.6.0 github:open-reviews-tab (div.tool-panel.tree-view)
     -4:28.8.0 github:toggle-git-tab (div.tool-panel.tree-view)

Non-Core Packages

atom-beautify 0.33.4 
atom-clock 0.1.18 
build 0.70.0 
busy-signal 2.0.1 
ftp-remote-edit 0.18.2 
Hydrogen 2.16.3 
platformio-ide-terminal 2.10.1 
python-snippets 1.9.0 
pythoncompiler 2.0.0 
teletype 0.13.4 

Additional Information