-
Notifications
You must be signed in to change notification settings - Fork 15
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
Uncaught Error: ENOENT, open 'undefined//Users/alopex/.atom/project.json' #43
Comments
There are several reports of this. Something must have broken in the upgrade from 165 to 166. See atom/atom#4855, See atom/atom#4856 |
I'm getting this one, myself, in every project I open. I'll take a peek around, see if I can be of any help. |
I think @vraravam is onto something with this in #45:
save-session prepends |
@clhynfield what does your config contain for |
'save-session':
'project': '/Users/clayton/.atom'
'windowX': 0
'windowY': 23
'windowWidth': 1280
'windowHeight': 773
'treeSize': 201 Also, as @vraravam notes in #45, even when I set Oh, and it looks like |
There were some large config changes in 166. @maxbrunsfeld should know more. |
Looking into it now. |
My first guess is that it's because Looking into it deeper to verify. |
Thanks very much, @maxbrunsfeld, that was it. I added this to the default config in save-session.coffee, and the package is working as expected: dataSaveFolder:
type: 'string'
description: 'The folder in which to save project states' I'll submit a PR shortly. |
Great! Thanks @clhynfield. |
Couple of asides out of this:
|
|
I figured serialization might be the way to do it. Dunno if @mpeterson2 has looked at that, but if I get the time, I'll see if it'll work. Thanks again, @maxbrunsfeld! |
I haven't had time to look into this yet. I see a few of you have forked this, so I'd be happy to accept a pull request if you guys can find a fix. |
Working it up now, @mpeterson2. Thanks much. |
As of Atom 0.166, `dataSaveFolder` is being removed from save-session's config. Per @maxbrunsfeld in mpeterson2#43, Atom now requires that dataSaveFolder be added explicitly to the config schema. Fixes mpeterson2#43, mpeterson2#45, and mpeterson2#46.
Just merged a few pull requests in that fixed the issue for me. Thanks for the help guys. Reopen this if you still have issues. |
From @SimyungYang on January 6, 2015 0:47
[Enter steps to reproduce below:]
Atom Version: 0.166.0
System: Mac OS X 10.10.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT, open 'undefined//Users/alopex/.atom/project.json'
Commands
Config
Installed Packages
Copied from original issue: atom/atom#4854
The text was updated successfully, but these errors were encountered: