Open tamakisquare opened 8 years ago
I think I know what the problem is, you have two options to solve it until I fix this and release the fix (it will wait a while as I am currently working in the Golang plugin for anaconda).
One of the ways is tedious and requires you to hack into anaconda's in memory data structures so let's go with the manual method better.
python -B /home/vagrant/.anaconda/anaconda_server/minserver.py -p my_project -e /var/my_project 19360
python_interpreter
to: tcp://192.168.5.10:19360
That will work, I will let you know when this issue is fixed, let me know if you could make it work in the way explained above.
@DamnWidget
This workaround is not fully working, because I see some requests on minserver.py
console, but there is integration with my virtual env.
"python_interpreter": "tcp://localhost:19360?network=public&dev=eth0&interpreter=/src/my_env/bin/python&extra=/src/my_project"
How to run minserver to access virtual env? I'm running:
python -B /anaconda/anaconda_server/minserver.py -p my_project -e /src/my_project 19360
@trojkat
Start the minserver with
/src/my_env/bin/python -B /anaconda/anaconda_server/minserver.py -p my_project -e /src/my_project 19360
Lol, now everything works even without workaround, I just restarted ST3...
@DamnWidget - The workaround works great. Thank you. Tag me when you have the patch in place and I'll help with verifying it. Cheers.
Continuing from after #537 is resolved.
Now that I have made
vagrant
available in my PATH for Sublime Text 3, I am facing a different problem. The errors that I get, however, are different depending on whether my vagrant machine is already running.In the case that the vagrant machine is already running, when I open my sublime project, I get two of the same prompt that reads
Note rose is the machine name. In this prompt, there are two choices, "Cancel" and "Start Now". Regardless which one I click on, on top of that prompt, another same prompt gets spawned. It's basically endless and a force quit on Sublime Text is inevitable.
On the other hand, if the vagrant machine is poweroff when I open the sublime project, I get the same two prompts mentioned above. But the difference is when I click on "Start Now", I get the following error (stack trace), without having another prompt spawned.
Please advise how I should continue with my troubleshooting. Thanks.