particle-iot-archived / particle-dev-local-compiler

Package providing local compilation for Particle devices in Particle Dev
MIT License
11 stars 0 forks source link

server error - invalid mode "/input" #24

Closed ghost closed 7 years ago

ghost commented 8 years ago

Hello, my name is Joel . I wonder why when I do the local compilation me these errors appear :

1 2 3

suda commented 8 years ago

@mjoelmendes what version of Docker are you running?

ghost commented 8 years ago

DockerToolbox-1.10.3

suda commented 8 years ago

Could you restart the vm? (docker-machine stop default && docker-machine start default) Also could you paste results of docker images command?

ghost commented 8 years ago

image

suda commented 8 years ago

Did it help? Also can you share the docker images too?

ghost commented 8 years ago

image

suda commented 8 years ago

Ok, it looks like you have only latest version (which isn't recommended to use and won't be available in next release). You can try following:

docker rmi particle/buildpack-particle-firmware:latest
docker pull particle/buildpack-particle-firmware:v0.4.9-rc.3

Then restart Atom and see if it helped.

ghost commented 8 years ago

image

suda commented 8 years ago

There are some containers still using the latest tag. Try doing docker ps -a and then docker rm <CONTAINER_ID> for each one using latest tag.

ghost commented 8 years ago

image

image

ghost commented 8 years ago

image

ghost commented 8 years ago

image

suda commented 8 years ago

If you click v0.4.9-rc.3 and select it again, the compile should succeed.

You could also increase timeout in package settings.

ghost commented 8 years ago

How do I increase the waiting time for package settings ??

suda commented 8 years ago

Ctrl + Shift + P -> Settings View: View Installed Packages -> Search for local-compiler -> Click Settings -> Adjust Compile Timeout value

ghost commented 8 years ago

I'm sorry , but I have done everything you told me , and continues to make the same mistake

image

image

image

ghost commented 8 years ago

already I restarted the PC and all, but still . I could give access to my pc if you need

suda commented 8 years ago

Can you ping me at: wojtek [at] particle [dot] io?

ghost commented 8 years ago

I'm sorry , but not QI received what you mean : Can you ping me at: wojtek [ at] particle [dot ] io ?

suda commented 8 years ago

I meant if you can email me: wojtek@particle.io :)

ghost commented 8 years ago

already sent you

ghost commented 8 years ago

:D

suda commented 8 years ago

Wow, that's a weird one. When mounting volume in Docker it's specified in LOCAL_DIR:CONTAINER_DIR:MODE format. But because Windows path contains : it parses it wrong, thinking that /input is mode... So possible fix would be escaping :.

It looks like you need to use cloud compilation until this issue is fixed.

ghost commented 8 years ago

ok , I'll wait , can not tell me if it will take ??