domeide / sublime-docker

A Sublime Text plugin to use Docker Language Stacks as build systems
127 stars 12 forks source link

Sublime Text 3 support #2

Closed davidaparicio closed 9 years ago

davidaparicio commented 9 years ago

Hi @l0rd,

Is Sublime Text 3 supported by the sublime-docker plugin? Because I installed from Package Control on my Sublime Text 3 64bits (Ubuntu LTS 14.04) and I have this error:

Traceback (most recent call last): File "/opt/sublime_text/sublimeplugin.py", line 526, in run return self.run() File "exec in /opt/sublime_text/Packages/Default.sublime-package", line 168, in run TypeError

And if I use the actual version of the repository ('git clone' on ~/.config/sublime-text-3/Packages/User), I have this error:

Unable to find target command: docker_build

Do you have some recommendations? Best regards

l0rd commented 9 years ago

Sublime Text 3 is supported. Anyway I´ll look at that issue tomorrow. Thanks for your feeback

l0rd commented 9 years ago

Hi @davidaparicio,

Thanks for your feedback.

We've fixed the problem that caused your second issue (Unable to find target command).

I wasn't able to reproduce your first issue (TypeError). Restarting Sublime Text should fix the issue.

Can you please update the plugin and verify if everythig works for you now?

Mario

davidaparicio commented 9 years ago

Hi @l0rd,

I tried with the latest version of the package but I had the same error (Unable to find target command). But after trying other ways, I found that my path wasn't the right.

I put in ~/.config/sublime-text-3/Packages/User instead of ~/.config/sublime-text-3/Packages/

Following the README.md of SublimeLinter/SublimeLinter-for-ST2, the "Packages" directory is located at:

I tried with the Package Control install to see if I have still the TypeError with the latest version, but this issue didn't exist more.

Nevertheless, with or without Package Control, I have this error now Docker engine is not running. : docker_hub4 But you can see, the service docker.io is currently running...

For information, I installed Docker from the Ubuntu repository (LTS 14.04):

And I have currently this version:

David

l0rd commented 9 years ago

Ok I thought you were using Sublime Text 3. I'll verify with Sublime Text 2.

davidaparicio commented 9 years ago

Sorry, I copy-pasted the readme.MD I'm currently using Sublime Text 3 (the package folder path is the same) :)

l0rd commented 9 years ago

Hello David,

Thanks for your feedback. I usually install Docker with the script

curl -sSL https://get.docker.com/ | sh

And this allow me to have last version of Docker.

But installing docker this way the service name is 'docker', not 'docker.io'. That explains why my check to verify if docker was running failed on your machine.

I've now changed the check to include service 'docker.io' and it should work for you too ;-)

Thanks, Mario

davidaparicio commented 9 years ago

Hi @l0rd,

You are welcome. I have just try and it's working now ;-)

Thanks you, David