Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problems with PHPStorm and prlctl since update from Parallels to version 10.2.1 (29006) #184

Closed
lehnen opened this issue May 28, 2015 · 6 comments

Comments

@lehnen
Copy link

lehnen commented May 28, 2015

Since my update to Parallels version 10.2.1 (29006), PHPStorm can not run my test suites anmyore. It stattes:
Error running All Tests
java.io.IOException: The provider 'parallels' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:
Vagrant could not detect Parallels Desktop! Make sure it is properly installed.
Vagrant uses the prlctl binary that ships with Parallels Desktop, and requires
this to be available on the PATH. If Parallels Desktop is installed, please find
the prlctl binary and add it to the PATH environmental variable.

May this be a problem with vagrant-parallels ?

@legal90
Copy link
Collaborator

legal90 commented May 28, 2015

In Parallels Desktop 10.2.1 prlctl binary has been moved from /usr/bin to /usr/local/bin. But usually the second path is also available in $PATH by default.

@lehnen Is it reproduced only in PHPStorm and works fine in the simple terminal?
If it's not working even in terminal session, then please show the output of these commands: which prlctl, echo $PATH

@lehnen
Copy link
Author

lehnen commented May 28, 2015

Hey @legal90 - thanx for quick response ;)
The phpunit is running fine in the terminal sesssion of the vm. On my Mac, I can call the command prlctl.
It is located in /usr/local/bin/ (as you said) and /usr/local/bin is included in the $PATH.

@legal90
Copy link
Collaborator

legal90 commented May 28, 2015

@lehnen So, it means that PHPStorm uses some other $PATH. Try to restart it or refer to PHPStorm issue tracker.

@legal90 legal90 closed this as completed May 28, 2015
@legal90 legal90 reopened this May 28, 2015
@legal90
Copy link
Collaborator

legal90 commented May 28, 2015

Seems like we should add a workaround for this issue, because a lot of customers can be faced with it by any other reason.

@legal90
Copy link
Collaborator

legal90 commented May 28, 2015

Fixed in v1.3.11 v1.3.12

@lehnen Please, update the plugin:

vagrant plugin update vagrant-parallels

@lehnen
Copy link
Author

lehnen commented May 28, 2015

@legal90 Yipeeee! It's running ;)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants