-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gobin does not work at all on Windows #9
Comments
Do you have any error messages, screencasts etc. which demonstrate the problem? |
@rjeczalik No screencast and no error messages. Here is what's happening. I go to the CMD prompt and then: Here is the output of Please let me know what do you want me to test. Thanks! |
@tssajo Thanks, it's enough for me. |
Hello, |
@tssajo No, sorry - I was overwhelmed with other activities and in the meantime I lost access to my only windows box. Maybe you could troubleshoot this for me?
fmt.Println(path, canwrite, fi.IsDir, fi.Mode().Regular(), IsExecutable(path), IsBinary(path)) |
Yes, I'll troubleshoot! That's what I wanted to offer, actually. I add that line now and I get back to you in a few minutes. |
Typo - should be: fmt.Println(path, canwrite, fi.IsDir, fi.Mode().IsRegular(), IsExecutable(path), IsBinary(path)) |
Yes, I just fixed that line to this: It compiles now. However, the Go 1.10 build command does not place the gobin program into my |
Try |
Oh, please ensure you install |
Well, I tried that already but nothing! :( See: So go build runs with no errors, same for go install but the binary file is nowhere to be found... :( I've never seen this before. But maybe I am doing something wrong... Or the freshly installed Go 1.10 just doesn't work for some reason. (I installed it less than an hour ago.) Any ideas? |
See my second comment, run |
OK, It got installed when I ran |
I have no idea why it is looking at my |
It looks for every executable file in %PATH%. |
OK Anyhow, for all go binary files the results are: as you can see |
one thing I can think of: in Windows the directory separator is "\" while on *nix it is "/" |
Oh sorry, another typo - it's a middle of a night for me. Could you try this line instead:
|
Sure. Results are:
|
That is what I was afraid of, something here fails, and that would not be easy to debug remotely. You could give it a shot, if you want, just log all the errors there and see what we may get. My hunch is something in |
OK, I will check it out. But only tomorrow, not tonight. I'll report you back what I've found. If I manage to fix it, I'll submit a PR. Thanks for trying to help tonight! |
This is a very useful program! It works perfectly on Linux. But it does not work at all on Windows 7 x64 :(
Can you please fix it?
Please let me know if you need any specific info from me or if you want me to test something for you on Windows. Thanks!
The text was updated successfully, but these errors were encountered: