andischerer/atom-svn

Fresh Install - Failed to activate the svn package (Do I have to set the path?)

Closed this issue · 8 comments

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.207.0
System: Mac OS X 10.10.3
Thrown From: svn package, v0.0.2

Stack Trace

Failed to activate the svn package

At svnPath is not defined

ReferenceError: svnPath is not defined
    at Repository.getSvnStatus (/Users/kevin.mccoy/.atom/packages/svn/lib/svn-utils.coffee:330:19)
    at Repository.getStatus (/Users/kevin.mccoy/.atom/packages/svn/lib/svn-utils.coffee:101:23)
    at SvnRepository.module.exports.SvnRepository.refreshStatus (/Users/kevin.mccoy/.atom/packages/svn/lib/svn-repository.coffee:329:30)
    at SvnRepositoryProvider.module.exports.SvnRepositoryProvider.repositoryForDirectorySync (/Users/kevin.mccoy/.atom/packages/svn/lib/svn-repository-provider.coffee:54:14)
    at Project.module.exports.Project.addPath (/Applications/Atom.app/Contents/Resources/app.asar/src/project.js:265:89)
    at Project.module.exports.Project.setPaths (/Applications/Atom.app/Contents/Resources/app.asar/src/project.js:230:14)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/project.js:71:26
    at Provider.module.exports.Provider.provide (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/provider.js:30:34)
    at ServiceHub.module.exports.ServiceHub.provide (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/service-hub.js:29:18)
    at Package.module.exports.Package.activateServices (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:370:65)

Commands

     -0:00.1.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ],
    "disabledPackages": [
      "autoclose-html",
      "true-color"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "Thumbs.db",
      "config.codekit",
      ".codekit-cache",
      "bower_components",
      "node_modules"
    ],
    "followSymlinks": false
  }
}

Installed Packages

# User
autohide-tree-view, v0.20.1
language-cfml, v0.6.0
svn, v0.0.2
webbox-color, v0.5.7

# Dev
No dev packages

No path is not needed, its a bug that only occours on a clean working copy.

Should be fixed in the next release

OK, there is some more work todo for linux and darwin paths ....

Should be working on v0.0.4

Atom 1.7 and svn 0.0.9 throws a simmilar exception again:

Atom Version: 1.7.0
Thrown From: svn package, v0.0.9

Stack Trace

Failed to activate the svn package

At Cannot read property 'onDidChangeStatus' of undefined

TypeError: Cannot read property 'onDidChangeStatus' of undefined
    at status-bar-git.GitView.subscribeToRepositories (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\status-bar\lib\git-view.js:99:52)
    at C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\status-bar\lib\git-view.js:31:24
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at Project.module.exports.Project.setPaths (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\project.js:225:27)
    at C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\project.js:364:19
    at Provider.module.exports.Provider.provide (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\service-hub\lib\provider.js:30:52)
    at ServiceHub.module.exports.ServiceHub.provide (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\service-hub\lib\service-hub.js:30:20)
    at Package.module.exports.Package.activateServices (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:352:71)
    at Package.module.exports.Package.activateNow (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:186:16)
    at C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:156:32
    at Package.module.exports.Package.measure (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:92:15)
    at C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:149:26
    at Package.module.exports.Package.activate (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package-manager.js:538:21)
    at C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package-manager.js:342:19
    at C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\config.js:631:20
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at Config.module.exports.Config.emitChangeEvent (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\config.js:816:29)
    at Config.module.exports.Config.setRawValue (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\config.js:608:19)
    at Config.module.exports.Config.set (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\config.js:227:14)
    at Config.module.exports.Config.removeAtKeyPath (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\config.js:377:12)
    at Package.module.exports.Package.enable (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package.js:77:26)
    at PackageManager.module.exports.PackageManager.enablePackage (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\src\package-manager.js:169:14)
    at HTMLButtonElement.<anonymous> (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\settings-view\lib\package-card.js:328:27)
    at HTMLButtonElement.jQuery.event.dispatch (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (C:\Users\name\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Installed Packages

# User
aligner-vhdl, v0.1.0
language-vhdl, v0.7.2
svn, v0.0.9

@nicki-h I'm not sure how you found this issue and missed #20, but #20 is where that is being tracked.

Atom shows "this bug has already been reportet - klick here"

Ah, yea that's sometimes pretty bad about finding the right issue lol.