Comments (6)
I'm testing it!
I'm getting an error when okteto tries to execute syncthing
okteto up
Installing dependencies...
syncthing.exe 16.56 MiB / 16.56 MiB [======================================================================] 100.00% 7s
β Exec: "C:\\Users\\dado_/.okteto/syncthing": file does not exist
I also tried executing the syncthing bin installed in .okteto and got the same error.
I saw that syncthing is available via chocolatey and I installed it but okteto is installing it's own binary.
May I suggested adding Okteto to be installed by chocolatey? if I have time this weekend I might check how chocolatey packages are created.
from okteto.
Wait I just noticed that this is the CND repo and not Okteto. My bad!
Couldn't find the Okteto repo for issues though?
from okteto.
You're in the right repo for those issue. CND is the core library of Okteto π .
Thanks for testing it on windows! The current design is for the binary itself to download the dependency. We did it that way because most of our users where directly downloading the binary, and so that we didn't depend on external package managers (brew for macOS, chocolatey for Windows, etc...).
As for the issue you ran into, I think there might two issues there:
- https://github.com/cloudnativedevelopment/cnd/blob/master/pkg/syncthing/syncthing.go#L33 assumes that the name of the binary is "syncthing", but based on the screenshot it looks like for windows is "syncthing.exe". Maybe we need an OS-dependent way of generating that binary name?
- Looks like we're using the wrong file separator on Windows( "/" instead of ""). Based on golang/go#1423, it seems like we need to use filepath.Join instead of path.Join when creating paths.
Filed #202 and #203 to track your findings.
from okteto.
Ok. Before I go any further and to be able to help better. I have to say I'm not very experienced in Windows command line. It just happened that I thought of testing this today.
I was trying to run okteto in bash using cmder. I couldn't/didn't know how to run it in cmd or PowerShell..
I don't wanna assume that they run the same way. So maybe running from bash caused the path problem? if so, could you please let me know how can I run the binary in cmd or PowerShell so I can test again? :)
from okteto.
This is great @dadoeyad . We'll add a guide to our docs on how to run on windows, both on powershell and on the regular cmd line.
I don't think cmder had anything to do with the issue you encountered. I think it's related to how we calculate paths and binary names.
from okteto.
I think better docs will help so thanks!!
Please let me know when the new okteto binary is released and I'll test again.
from okteto.
Related Issues (20)
- 1
- 10000
- 100000000
- 1000000
- 200000
- 100000
- 2000000
- 100000
- Add support for error hints in `okteto build` HOT 2
- Canβt add a variable with special characters using the launch environment deployment HOT 1
- Using `OKTETO_USE_STATIC_KUBETOKEN ` as an Okteto secret creates a dynamic kubetoken HOT 1
- Dev sessions get disconnected with "The server has asked for the client to provide credentials (get deployments.apps)` HOT 1
- Don't try to regenerate an expired API token HOT 1
- Can't use existing volume with new container HOT 1
- Is windows podman supported? HOT 1
- Remote okteto deploy broken when `var` has whitespace HOT 2
- Test
- Connection lost to your development container on starting debugging from PyCharm HOT 2
- Shadiibot
- running "okteto context delete" on a kubernetes context doesn't delete the context, nor the command fails HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okteto.