Comments (8)
@forrestsun Thanks for report.
I was fix it. d2051e0
So, plz test this program.
regards.
pget_windows_amd64.zip
from pget.
@forrestsun Please close issue if you feel good.
from pget.
The problem is not resolved :(
Run the same error message after re-downloading
You provide the program it is recompiled?The version number is still v0.0.4
I will try to download the code from github compiled
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
from pget.
@forrestsun The program is recompile.
please give me execute result with trace again.
from pget.
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 :)
from pget.
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
pget 0.0.4
from pget.
@forrestsun I probably fixed issue that The process cannot access the file because it i s being used by another process.
b35d5a6
So, please tell me results after one more try download.
Thanks.
And the message context deadline exceeded
output as timeout 👍
from pget.
windows 7 64 pass
I corrected the error, but you still fast :)
from pget.
Related Issues (20)
- not supported range access HOT 1
- example is readme fails HOT 1
- Progress Bar freezes HOT 6
- Self locked? HOT 4
- [bug] does not support range request HOT 2
- is this correct? HOT 1
- Support ignore WARNING message when process larger than 4 HOT 2
- Support retry instead of exit process HOT 4
- Can not detect already downloaded files HOT 1
- Error: file name too long HOT 2
- Please add support for recursive download
- Problems used in the project HOT 1
- feature request: allow skipping the TLS certificates check
- failed to remove file -- being used by another process HOT 1
- Attempt do download pget_0.1.1_Linux_386.deb fails: file name too long HOT 1
- Attempt to download Linux kernel fails: does not support range request HOT 1
- Release names of 0.2.x are inconsistence with 0.1.x
- New benchmark
- Feature request: support wrapping output / url information in quotes to handle spaces
- Feature Request: Support skipping download if entire file already exists
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 pget.