Skip to content

Failed to activate the redmine package #5

Description

@amiuhle

Running redmine:my-issues without .atom-redmine config file throws error.

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: redmine package, v0.2.1

Stack Trace

Failed to activate the redmine package

At ENOENT: no such file or directory, open '/Users/timou/Code/atom/redmine/.atom-redmine'

Error: ENOENT: no such file or directory, open '/Users/timou/Code/atom/redmine/.atom-redmine'
  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.readFileSync (fs.js:396:15)
  at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:369:29)
  at Object.module.exports.readFileSync (/Users/timou/Code/atom/redmine/node_modules/season/lib/cson.js:144:21)
  at /Users/timou/Code/atom/redmine/lib/redmine.js:95:42
  at Array.forEach (native)
  at Object.readConfigFile (/Users/timou/Code/atom/redmine/lib/redmine.js:92:29)
  at Object.activate (/Users/timou/Code/atom/redmine/lib/redmine.js:65:15)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:772:25
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:222:20)
  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:159: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-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/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.asar/src/command-registry.js:241:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)

Commands

  3x -7:02.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -7:00.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:38.3.0 core:close (atom-text-editor.editor.is-focused)
     -2:32.3.0 fuzzy-finder:toggle-file-finder (atom-pane.pane.active)
     -2:30.4.0 editor:delete-to-beginning-of-line (atom-text-editor.editor.mini.is-focused)
     -2:30.1.0 command-palette:toggle (atom-text-editor.editor.mini.is-focused)
     -2:28.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:28.4.0 ask-stack:ask-question (atom-text-editor.editor.mini)
     -2:24.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -2:24 core:confirm (atom-text-editor.editor.mini.is-focused)
  7x -0:21 core:close (div.ask-stack-result.native-key-bindings)
     -0:06.7.0 core:move-right (atom-text-editor.editor.mini.is-focused)
     -0:06.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:04.5.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:03.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:02.2.0 redmine:my-issues (atom-text-editor.editor)

Config

{
  "core": {
    "projectHome": "/Users/timou/Code",
    "disabledPackages": [
      "vim-mode",
      "atom-ternjs",
      "regex-railroad-diagram",
      "project-palette-finder"
    ],
    "destroyEmptyPanes": false
  },
  "redmine": {
    "host": "host.example.com",
    "apiKey": "xxx"
  }
}

Installed Packages

# User
ask-stack, v2.0.0
atom-handlebars, v1.0.0
atom-jasmine, v0.6.0
autocomplete-emojis, v2.2.2
autocomplete-modules, v1.0.0
autocomplete-phpunit, v1.0.2
autocomplete-ruby, v0.1.0
bezier-curve-editor, v0.7.2
build, v0.40.0
color-picker, v2.0.9
docs-snippets, v0.8.0
editor-stats, v0.17.0
editorconfig, v1.0.1
file-icons, v1.5.8
git-log, v0.4.1
git-tab-status, v1.9.2
hex, v0.6.2
language-actionscript3, v0.3.0
language-apache, v1.3.0
language-flex, v0.3.0
language-haml, v0.21.0
language-jade, v0.5.1
language-rspec, v0.3.0
language-slim, v0.4.0
linter, v1.2.0
linter-jshint, v0.1.7
linter-php, v0.0.15
minimap, v4.10.2
pigments, v0.8.3
project-manager, v1.15.11
redmine, v0.2.1
remote-edit, v1.8.4
rspec-snippets, v0.4.0
stacktrace, v0.0.2

# Dev
No dev packages

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions