project-ring icon indicating copy to clipboard operation
project-ring copied to clipboard

Failed to initialize the project-ring package

Open williamsEye opened this issue 8 years ago • 8 comments

[Enter steps to reproduce:]

  1. Close Atom
  2. Open Atom

Atom: 1.14.0 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: project-ring package 0.39.0

Stack Trace

Failed to initialize the project-ring package

At Cannot read property 'treeView' of null

TypeError: Cannot read property 'treeView' of null
    at Object.initialize (/packages/project-ring/lib/project-ring.coffee:85:4)
    at /app.asar/src/package.js:164:20
    at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
    at Package.module.exports.Package.initializeIfNeeded (/app.asar/src/package.js:156:12)
    at Package.module.exports.Package.activateNow (/app.asar/src/package.js:213:16)
    at /app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
    at /app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
    at /app.asar/src/package-manager.js:531:29
    at Config.module.exports.Config.transactAsync (/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/app.asar/src/package-manager.js:526:19)
    at PackageManager.module.exports.PackageManager.activate (/app.asar/src/package-manager.js:508:46)
    at /app.asar/src/atom-environment.js:814:28

Commands

     -0:06.1.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

aligner-scss 1.1.0 
amp-snippets 0.1.1 
atom-beautify 0.29.17 
atom-bootstrap3 1.2.12 
atom-handlebars 1.3.0 
atom-idiomatic-comments-css-snippets 0.1.0 
atom-prettify 0.1.3 
autocomplete-paths 1.0.5 
autocomplete-php 0.3.7 
block-comment 0.4.3 
bootstrap-3-snippetset 0.0.6 
build 0.67.0 
busy 0.7.0 
color-picker 2.2.5 
css-comb 2.5.0 
css-specificity 0.2.2 
cssbeautify 1.3.0 
docblockr 0.9.1 
emmet 2.4.3 
emmet-snippets-compatibility 1.0.6 
file-icons 2.0.15 
file-types 0.5.5 
indent-guide-improved 1.4.12 
jquery-snippets 11.0.0 
jshint 1.8.6 
language-htaccess 0.1.1 
language-SCSS 0.4.0 
language-spacebars 0.2.2 
language-sql-mysql 0.3.1 
linter 1.11.21 
linter-php 1.3.1 
linter-scss-lint 3.0.4 
merge-conflicts 1.4.4 
meteor-api 2.20.0 
meteor-helper 0.29.0 
meteor-snippets 0.5.0 
minimap 4.26.8 
open-in-browser 0.4.7 
open-terminal-here 2.1.5 
php-cs-fixer 4.1.0 
php-fmt 0.1.2 
pigments 0.39.0 
project-folder 1.2.1 
project-manager 3.3.3 
project-ring 0.39.0 
recent-projects 0.13.1 
Remote-FTP 0.10.5 
remote-sync 4.1.5 
sass-compiler 0.4.0 

williamsEye avatar Feb 08 '17 23:02 williamsEye

Looks like it might be related to this pull request: https://github.com/vellerefond/project-ring/pull/50

KarlWerf avatar Feb 09 '17 09:02 KarlWerf

~~I can't seem to add a +1 to the OP~~. But I am also experiencing this issue after updating Atom to 1.14.1 today.

venatiodecorus avatar Feb 10 '17 17:02 venatiodecorus

This is also happening on Atom 1.14.2.

ricardofalasca avatar Feb 23 '17 17:02 ricardofalasca

...and Atom 1.14.3.

ryanaltvater avatar Feb 27 '17 00:02 ryanaltvater

@vellerefond Can we expect a fix to this issue, or no? Doesn't appear that you've updated this plugin within the last 9 months.

ryanaltvater avatar Feb 27 '17 00:02 ryanaltvater

While I've always liked this package better, I've switched to package-manager and that seems to be fine. The biggest downside is that I can't seem to close a project. When you want to make a new project you have to manually close all tabs and remove all project folders, then add your new project and save it. Once you have projects saved though it is quick and easy to switch between them.

venatiodecorus avatar Feb 27 '17 18:02 venatiodecorus

@williamsEye, @KarlWerf, @ricardofalasca, @venatiodecorus, @ryanaltvater, I currently don't have the time to maintain this project. I have merged the pull request by @as-cii and updated the package's version but I have not checked if it works yet. I will try to find the time to test it. Can someone please check again and tell me if it works?

vellerefond avatar Feb 27 '17 20:02 vellerefond

@vellerefond I can confirm that your update has fixed Project Ring for me on both PC and macOS. 👍

ryanaltvater avatar Feb 28 '17 00:02 ryanaltvater