Giter Site home page Giter Site logo

Comments (8)

Code-Hex avatar Code-Hex commented on May 14, 2024

@forrestsun Thanks for report.
I was fix it. d2051e0

So, plz test this program.
regards.
pget_windows_amd64.zip

from pget.

Code-Hex avatar Code-Hex commented on May 14, 2024

@forrestsun Please close issue if you feel good.

from pget.

forrestsun avatar forrestsun commented on May 14, 2024

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.

Code-Hex avatar Code-Hex commented on May 14, 2024

@forrestsun The program is recompile.
please give me execute result with trace again.

from pget.

forrestsun avatar forrestsun commented on May 14, 2024

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.

forrestsun avatar forrestsun commented on May 14, 2024
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.

Code-Hex avatar Code-Hex commented on May 14, 2024

@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.

forrestsun avatar forrestsun commented on May 14, 2024

windows 7 64 pass
I corrected the error, but you still fast :)

from pget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.