-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
The process cannot access the file because it is being used by another process. #17
Comments
@forrestsun Thanks for report. So, plz test this program. |
@forrestsun Please close issue if you feel good. |
The problem is not resolved :( PS D:\TempFolder> .\pget.exe -p 10 http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10
da3.mp4 --trace
Checking now http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4
Download start from http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4
53349059 / 53349059 [===================================================================================================================] 100.00% 6s
binding with files...
0 / 53349059 [-----------------------------------------------------------------------------------------------------------------------------] 0.00%E
rror:
remove _27c69af9-30da-4f7e-8f71-407277c10da3.mp4-1.10/27c69af9-30da-4f7e-8f71-407277c10da3.mp4-1.10.0: The process cannot access the file because it i
s being used by another process.
failed to remove a file in download location
github.com/Code-Hex/pget.(*Data).BindwithFiles
/Users/CodeHex/Desktop/go/src/github.com/Code-Hex/pget/util.go:251
github.com/Code-Hex/pget.(*Pget).Run
/Users/CodeHex/Desktop/go/src/github.com/Code-Hex/pget/pget.go:78
main.main
/Users/CodeHex/Desktop/go/pget/cmd/pget/main.go:13
runtime.main
/usr/local/opt/go/libexec/src/runtime/proc.go:188
runtime.goexit
/usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1998 |
@forrestsun The program is recompile. |
Compiled code, run the program prompts: PS D:\TempFolder> .\pget.exe -p 10 http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10
da3.mp4 --trace
Checking now http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4
Download start from http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4
53349059 / 53349059 [===================================================================================================================] 100.00% 6s
binding with files...
0 / 53349059 [-----------------------------------------------------------------------------------------------------------------------------] 0.00%
Error:
remove _27c69af9-30da-4f7e-8f71-407277c10da3.mp4-2.10\27c69af9-30da-4f7e-8f71-407277c10da3.mp4-2.10.0: The process cannot access the file because it i
s being used by another process.
failed to remove a file in download location
github.com/Code-Hex/pget.(*Data).BindwithFiles
e:/gocode/src/github.com/Code-Hex/pget/util.go:269
github.com/Code-Hex/pget.(*Pget).Run
e:/gocode/src/github.com/Code-Hex/pget/pget.go:80
main.main
e:/gocode/src/github.com/Code-Hex/pget/cmd/pget/main.go:13
runtime.main
C:/Go/src/runtime/proc.go:188
runtime.goexit
C:/Go/src/runtime/asm_amd64.s:1998 By the way, please update the version number :) |
sunsl@NercUbuntu:~/gocode/pget_linux_amd64$ ./pget -p 6 http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4
Checking now http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4
Error:
context deadline exceeded
sunsl@NercUbuntu:~/gocode/pget_linux_amd64$ ./pget -p 6 http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4 --trace
Checking now http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4
Error:
context deadline exceeded
failed to head request: http://www.nerc.edu.cn/wk///2016/08/02/344a06be-dc8e-4d7b-a5b9-bc1b1edb83b5/Scorm/27c69af9-30da-4f7e-8f71-407277c10da3.mp4
github.com/Code-Hex/pget.(*Pget).CheckMirrors
/Users/CodeHex/Desktop/go/src/github.com/Code-Hex/pget/requests.go:67
runtime.goexit
/usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1998
failed to check header
github.com/Code-Hex/pget.(*Pget).Run
/Users/CodeHex/Desktop/go/src/github.com/Code-Hex/pget/pget.go:71
main.main
/Users/CodeHex/Desktop/go/pget/cmd/pget/main.go:13
runtime.main
/usr/local/opt/go/libexec/src/runtime/proc.go:188
runtime.goexit
/usr/local/opt/go/libexec/src/runtime/asm_amd64.s:1998
OS:ubuntu 14.04 64 |
@forrestsun I probably fixed issue that And the message |
windows 7 64 pass |
OS: Windows7 64
Pget v0.0.4, parallel file download client
The text was updated successfully, but these errors were encountered: