-
Notifications
You must be signed in to change notification settings - Fork 231
Pub Publish hangs #15
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
Comments
<img src="https://avatars.githubusercontent.com/u/8631949?v=3" align="left" width="48" height="48"hspace="10"> Comment by floitschG |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 CC-ing Peter Ahe, who knows more than I do about Windows batch scripting. I can see two things going wrong here. First, the "find" command in the batch script that starts pub is failing. I have no idea what this command is for or what the failure might do, but hopefully Peter can shed some light on it. The other thing is that it looks like the "git" executable that we try to spawn never exits. I'm not sure why this would be, and I'm curious what happens if you run "git --version" manually in a terminal. It may be that your Git installation is corrupted somehow; try reinstalling it and see if that helps. cc @peter-ahe-google. |
This comment was originally written by [email protected] Manually running git from the command line: cmd> cmd /c git --version But, in previous pub publish, git was not defined in my path and publish worked. Now don't work in both cases. |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 Have you tried reinstalling git? |
This comment was originally written by [email protected] git reinstalled, and nothing new. I see, while publish is hanged, the process eat 12% CPU for ever. |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 I'm sorry, but I have no idea why this would be happening :(. I can't imagine why the same git command would never terminate when run from within pub but work fine elsewhere. It'll probably work if you completely uninstall git, but short of that I don't know of a way for you to work around this. Added CannotReproduce label. |
This comment was originally written by [email protected] I have removed git from the system and reinstalled it. Same result. CMD> git --version and the "cmd> pub -v publish" result is the same. Frozen. I think the problem is not git related. |
Originally opened as dart-lang/sdk#23362
This issue was originally filed by [email protected]
What steps will reproduce the problem?
1.cmd> pub -v publish
2.
3.
What is the expected output? What do you see instead?
find: > bin [: No such file or directory
FINE: Pub 1.10.0-dev.1.10
IO : Spawning "cmd /c ver" in C:\Dart\directory.
IO : Finished ver. Exit code 0.
| stdout:
| |
| | Microsoft Windows [Versi-ón 6.3.9600]
| Nothing output on stderr.
IO : Spawning "cmd /c git --version" in C:\Dart\directory.
And nothing more happens for ever. (directory is changed from the package directory).
What version of the product are you using? 1.10.0-dev.1.10
On what operating system? Windows 8.1
What browser (if applicable)?
Please provide any additional information below.
Previous publish were ok, in april 2015.
The text was updated successfully, but these errors were encountered: