Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to activate the atom-autocomplete-php package #40

Closed
ghost opened this issue Jul 25, 2015 · 11 comments
Closed

Failed to activate the atom-autocomplete-php package #40

ghost opened this issue Jul 25, 2015 · 11 comments
Labels

Comments

@ghost
Copy link

ghost commented Jul 25, 2015

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.2
System: elementary OS
Thrown From: atom-autocomplete-php package, v0.5.0

Stack Trace

Failed to activate the atom-autocomplete-php package

At EACCES: permission denied, open '/home/exupero/.atom/packages/atom-autocomplete-php/php/tmp.php'

Error: EACCES: permission denied, open '/home/exupero/.atom/packages/atom-autocomplete-php/php/tmp.php'
    at Error (native)
    at Object.fs.openSync (fs.js:544:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20)
    at Object.fs.writeFileSync (fs.js:1155:15)
    at Object.module.exports.writeConfig (/home/exupero/.atom/packages/atom-autocomplete-php/lib/config.coffee:41:17)
    at Object.module.exports.init (/home/exupero/.atom/packages/atom-autocomplete-php/lib/config.coffee:56:12)
    at Object.module.exports.activate (/home/exupero/.atom/packages/atom-autocomplete-php/lib/peekmo-php-atom-autocomplete.coffee:56:14)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:240:19)
    at /usr/share/atom/resources/app.asar/src/package.js:221:30
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:165:15)
    at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:213:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:452:21)
    at /usr/share/atom/resources/app.asar/src/package-manager.js:436:29
    at Config.module.exports.Config.transact (/usr/share/atom/resources/app.asar/src/config.js:311:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/usr/share/atom/resources/app.asar/src/package-manager.js:431:19)
    at PackageManager.module.exports.PackageManager.activate (/usr/share/atom/resources/app.asar/src/package-manager.js:412:46)
    at Atom.module.exports.Atom.startEditorWindow (/usr/share/atom/resources/app.asar/src/atom.js:645:21)
    at Object.<anonymous> (/usr/share/atom/resources/app.asar/src/window-bootstrap.js:12:8)
    at Object.<anonymous> (/usr/share/atom/resources/app.asar/src/window-bootstrap.js:23:4)
    at Module._compile (module.js:452:26)
    at Object.loadFile [as .js] (/usr/share/atom/resources/app.asar/src/babel.js:162:21)
    at Module.load (module.js:347:32)
    at Function.Module._load (module.js:302:12)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at setupWindow (file:///usr/share/atom/resources/app.asar/static/index.js:96:23)
    at window.onload (file:///usr/share/atom/resources/app.asar/static/index.js:36:7)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "language-ruby",
      "RubyMotion",
      "livescript-compile",
      "JSL",
      "JSL",
      "JSL",
      "livescript-compile",
      "JSL",
      "JSL",
      "JSL",
      "JSL",
      "JSL",
      "JSL",
      "JSL",
      "JSL",
      "JSL",
      "livescript-compile",
      "text-to-string-for-javascript-converter",
      "robin-language-php",
      "Modo",
      "language-javascript-subtlegradient",
      "language-python-django-templates",
      "linter-metascript",
      "robin-language-php",
      "ruby-slim",
      "text-to-string-for-javascript-converter",
      "live-doc-viewer",
      "linter-python-pyflakes",
      "linter-python-pep8"
    ]
  },
  "atom-autocomplete-php": {}
}

Installed Packages

# User
.bin, vundefined
aligner-ruby, v1.4.0
atom-autocomplete-php, v0.5.0
atom-phpcs, v0.8.0
atom-python-debugger, v0.3.4
atom-ternjs, v0.6.8
autocomplete-php, v0.3.6
autocomplete-phpunit, v1.0.2
autocomplete-plus-python-jedi, v0.3.6
autocomplete-python, v0.5.1
autocomplete-ruby, v0.1.0
ember-cli-helper, v0.7.2
ember-snippets, v1.4.0
javascript-snippets, v1.0.0
jsformat, v0.9.0
jshint, v1.3.9
language-babel, v0.10.2
language-javascript-jsx, v0.3.7
linter, v1.2.4
linter-pep257, v0.2.1
linter-php, v0.0.15
linter-phpcs, v1.0.5
linter-phpmd, v0.0.11
linter-pylama, v0.1.4
linter-pylint, v0.2.2
linter-rubocop, v0.2.7
linter-ruby, v0.1.6
php-debug, v0.1.2
php-getters-setters, v0.5.5
php-introspector, v1.0.0
phpunit, v1.1.1
phpunit-snippets, v0.1.0
python-for-glyphs, v0.1.0
python-isort, v0.0.7
python-jedi, v0.3.0
python-yapf, v0.7.0
rhino-python, v0.6.2
robe, v0.1.0
ruby-block, v0.3.4
ruby-block-converter, v3.5.0
ruby-define-method, v0.2.1
script-runner, v1.8.3
sinatra-snippets, v1.4.0
standard-formatter, v1.0.0
symfony-snippets, v0.3.0

# Dev
No dev packages
@Peekmo
Copy link
Owner

Peekmo commented Aug 2, 2015

Hello,

To be able to make the plugin works, the user need to have read and write access to /home/exupero/.atom/packages/atom-autocomplete-php

Please, make sure that you have this rights.

@Peekmo Peekmo added the question label Aug 7, 2015
@Peekmo
Copy link
Owner

Peekmo commented Sep 1, 2015

No answers so.. I close this issue.

Feel free to open a new one.

Regards,
Peekmo

@whyisjake
Copy link

I am seeing this error now too.
Plugin 0.20.2
Atom 1.12.7
Mac OS.

@Enerccio
Copy link

Enerccio commented Jan 9, 2017

just got same error

@lucini
Copy link

lucini commented May 3, 2017

same error here
Win10

@ksuhiyp
Copy link

ksuhiyp commented Jun 9, 2017

same error here
ubuntu 16.10

@hexus
Copy link

hexus commented Jun 9, 2017

Same, Windows 7.

Steps to reproduce:

  1. Install package

or

  1. Disable package
  2. Enable package

Atom: 1.17.2 ia32
Electron: 1.3.15
OS: Microsoft Windows 7 Ultimate
Thrown From: atom-autocomplete-php package 0.24.1

Stack Trace

Failed to activate the atom-autocomplete-php 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.17.2/resources/app/node_modules/event-kit/lib/composite-disposable.js:74:1)
    at CompositeDisposable.module.exports.CompositeDisposable.add (~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/event-kit/lib/composite-disposable.js:43:1)
    at requireAutocompleteManagerAsync (~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/autocomplete-plus/lib/main.js:110:1)
    at Object.requireAutocompleteManagerAsync (~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/autocomplete-plus/lib/main.js:31:1)
    at Object.consumeProvider (~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/autocomplete-plus/lib/main.js:107:1)
    at Object.consumeProvider_2_0 (~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/autocomplete-plus/lib/main.js:86:1)
    at Provider.module.exports.Provider.provide (~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/service-hub/lib/provider.js:34:1)
    at ServiceHub.module.exports.ServiceHub.provide (~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/service-hub/lib/service-hub.js:30:1)
    at Package.module.exports.Package.activateServices (~/AppData/Local/atom/app-1.17.2/resources/app/src/package.js:446:1)
    at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.17.2/resources/app/src/package.js:256:1)
    at ~/AppData/Local/atom/app-1.17.2/resources/app/src/package.js:225:1
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.17.2/resources/app/src/package.js:99:1)
    at ~/AppData/Local/atom/app-1.17.2/resources/app/src/package.js:218:1
    at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.17.2/resources/app/src/package.js:215:1)
    at PackageManager.module.exports.PackageManager.activatePackage (~/AppData/Local/atom/app-1.17.2/resources/app/src/package-manager.js:642:1)
    at ~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/settings-view/lib/package-manager.js:519:1
    at exit (~/AppData/Local/atom/app-1.17.2/resources/app/node_modules/settings-view/lib/package-manager.js:128:1)
    at triggerExitCallback (~/AppData/Local/atom/app-1.17.2/resources/app/src/buffered-process.js:338:1)
    at ChildProcess.<anonymous> (~/AppData/Local/atom/app-1.17.2/resources/app/src/buffered-process.js:368:1)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

Commands

     -7:13.8.0 editor:select-to-first-character-of-line (input.hidden-input)
     -7:13.7.0 core:copy (input.hidden-input)

Non-Core Packages

activate-power-mode 2.0.0 
atom-autocomplete-php 0.24.1 
atom-clock 0.1.8 
atom-ternjs 0.18.3 
autocomplete-emojis 2.5.0 
autocomplete-glsl 0.2.3 
busy-signal 1.4.3 
color-picker 2.2.5 
darya-syntax 0.2.0 
darya-syntax-test 0.0.0 
docblockr 0.10.3 
editorconfig 2.2.2 
intentions 1.1.2 
language-batchfile 0.6.3 
language-glsl 2.0.1 
lazy-light-syntax 0.1.1 
linter 2.1.4 
linter-jshint 3.1.2 
linter-ui-default 1.6.0 
minimap 4.28.2 
pigments 0.39.1 

@NAMSGithub
Copy link

Same, Mac OS X 10.11.6

There is no /home/exupero/.atom/packages/atom-autocomplete-php directory on my computer

Steps to reproduce:

Install package
or

Disable package
Enable package

Atom: 1.18.0 x64
Electron: 1.3.15
OS: Mac OS X 10.11.6
Thrown From: atom-autocomplete-php package 0.25.6

Stack Trace

Failed to activate the atom-autocomplete-php package

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

TypeError: Arguments to CompositeDisposable.add must have a .dispose() method
    at assertDisposable (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/composite-disposable.js:74:19)
    at CompositeDisposable.module.exports.CompositeDisposable.add (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/composite-disposable.js:43:17)
    at requireAutocompleteManagerAsync (/Applications/Atom.app/Contents/Resources/app/node_modules/autocomplete-plus/lib/main.js:110:29)
    at Object.requireAutocompleteManagerAsync (/Applications/Atom.app/Contents/Resources/app/node_modules/autocomplete-plus/lib/main.js:31:15)
    at Object.consumeProvider (/Applications/Atom.app/Contents/Resources/app/node_modules/autocomplete-plus/lib/main.js:107:16)
    at Object.consumeProvider_2_0 (/Applications/Atom.app/Contents/Resources/app/node_modules/autocomplete-plus/lib/main.js:86:23)
    at Provider.module.exports.Provider.provide (/Applications/Atom.app/Contents/Resources/app/node_modules/service-hub/lib/provider.js:34:58)
    at ServiceHub.module.exports.ServiceHub.provide (/Applications/Atom.app/Contents/Resources/app/node_modules/service-hub/lib/service-hub.js:30:26)
    at Package.module.exports.Package.activateServices (/Applications/Atom.app/Contents/Resources/app/src/package.js:446:77)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:256:22)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:99:21)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:215:40)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:645:40)
    at /Applications/Atom.app/Contents/Resources/app/src/package-manager.js:377:25
    at /Applications/Atom.app/Contents/Resources/app/src/config.js:644:26
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Config.module.exports.Config.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app/src/config.js:835:35)
    at Config.module.exports.Config.setRawValue (/Applications/Atom.app/Contents/Resources/app/src/config.js:621:25)
    at Config.module.exports.Config.set (/Applications/Atom.app/Contents/Resources/app/src/config.js:236:20)
    at Config.module.exports.Config.removeAtKeyPath (/Applications/Atom.app/Contents/Resources/app/src/config.js:386:18)
    at Package.module.exports.Package.enable (/Applications/Atom.app/Contents/Resources/app/src/package.js:84:32)
    at PackageManager.module.exports.PackageManager.enablePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:188:20)
    at HTMLButtonElement.enablementButtonClickHandler (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-card.js:361:31)

Commands

  3x -8:25.3.0 core:backspace (input.hidden-input)
  2x -8:21.3.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-autocomplete-php 0.25.6 

@darron1217
Copy link

@lucini On window10 we should set composer's absolute path
ex) C:\ProgramData\ComposerSetup\bin\composer

In my case, I fixed it by setting composer's path.

@NAMSGithub
Copy link

@darron1217 that fixed it for me on mac OS x. In the settings i set composer's path to the composer.phar file. simple fix here.

@it-is-wednesday
Copy link

Fixed on Manjaro by setting composer's path to /usr/bin/composer (instead of /usr/local/bin/composer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants