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

Indexing fails because project path can't be found #295

Closed
TitanNano opened this issue May 30, 2017 · 5 comments
Closed

Indexing fails because project path can't be found #295

TitanNano opened this issue May 30, 2017 · 5 comments
Labels

Comments

@TitanNano
Copy link

When I do a reindex the php server returns

{
    "code": -32001, 
    "message": "The specified file or directory \"~/zmb/zmbCORE/Code/zmbCORE\" does not exist!"
}

but this is my project directory. I'm working in this directory. It does exist.

@Gert-dev
Copy link
Owner

Gert-dev commented Jun 1, 2017

Does the project path in your projects.cson file contain the tilde as well? I'm not sure PHP can properly deal with it, I recall someone else attempting to use it in the past.

Perhaps I should try to resolve it before it is passed to the server via Atom, can you do a quick test to confirm that this is in fact the issue?

@TitanNano
Copy link
Author

@Gert-dev yes, changing the project path to an absolute path works fine. The relative path seems to give PHP trouble.

@Gert-dev
Copy link
Owner

Gert-dev commented Jun 1, 2017

It is strange, though, I would kind of expect that to work, but perhaps the functions called by PHP itself are lower-level than the code that resolves the tilde to the user's home folder. I'll see if I can resolve the path on the CoffeeScript side.

@Gert-dev Gert-dev added the bug label Jun 1, 2017
@TitanNano
Copy link
Author

it worked before. It only broke with one of the last updates, but I don't remember which one.

@Gert-dev
Copy link
Owner

For anyone watching this issue: thanks to Sam Feyaerts this will be fixed in one of the following releases (likely core 3.1)!

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

2 participants