On Mon, Mar 7, 2016 at 6:46 PM, Ayush Pandey <[email protected]> wrote: > Pkg.add() error was solved using the above thread. > I have already setup my Julia as per the instructions given in the thread > still the PkgDev.submit() error persist.
Ahh, in which case it might be related to https://github.com/JuliaLang/julia/issues/15381 ? > > > Yours Sincerely, > Ayush Pandey > LinkedIn Profile > GitHub > > On Tue, Mar 8, 2016 at 4:13 AM, Yichao Yu <[email protected]> wrote: >> >> On Mon, Mar 7, 2016 at 5:32 PM, Ayush Pandey <[email protected]> >> wrote: >> > Thanks a lot. It did help :) >> > But now I seem to be running into a newer problem. >> > >> > PkgDev.submit("Convex") >> > INFO: Forking JuliaOpt/Convex.jl to Ayush-iitkgp >> > Enter host password for user 'Ayush-iitkgp': >> > >> > ERROR: Unknown value >> > Line: 0 >> > Around: ...HTTP/1.1 201 Created ... >> > ^ >> > >> > in error(::ASCIIString) at ./error.jl:21 >> > [inlined code] from ./strings/types.jl:185 >> > in _error(::ASCIIString, ::JSON.Parser.ParserState{ASCIIString}) at >> > /home/hduser/.julia/v0.5/JSON/src/Parser.jl:61 >> > in parse_value(::JSON.Parser.ParserState{ASCIIString}, ::Type{T}) at >> > /home/hduser/.julia/v0.5/JSON/src/Parser.jl:218 >> > in #parse#1(::Type{Dict{K,V}}, ::Any, ::ASCIIString) at >> > /home/hduser/.julia/v0.5/JSON/src/Parser.jl:308 >> > in token(::ASCIIString) at >> > /home/hduser/.julia/v0.5/PkgDev/src/github.jl:78 >> > [inlined code] from /home/hduser/.julia/v0.5/PkgDev/src/github.jl:56 >> > in req(::ASCIIString, ::Void, ::Cmd) at >> > /home/hduser/.julia/v0.5/PkgDev/src/github.jl:88 >> > in POST(::ASCIIString) at >> > /home/hduser/.julia/v0.5/PkgDev/src/github.jl:101 >> > in fork(::SubString{UTF8String}, ::SubString{UTF8String}) at >> > /home/hduser/.julia/v0.5/PkgDev/src/github.jl:114 >> > in (::PkgDev.Entry.##2#3)(::Base.LibGit2.GitRepo) at >> > /home/hduser/.julia/v0.5/PkgDev/src/entry.jl:32 >> > in with(::PkgDev.Entry.##2#3, ::Base.LibGit2.GitRepo) at >> > ./libgit2/types.jl:481 >> > in #pull_request#1(::ASCIIString, ::ASCIIString, ::ASCIIString, ::Any, >> > ::ASCIIString) at /home/hduser/.julia/v0.5/PkgDev/src/entry.jl:13 >> > [inlined code] from ./boot.jl:331 >> > in submit(::ASCIIString, ::ASCIIString) at >> > /home/hduser/.julia/v0.5/PkgDev/src/entry.jl:45 >> > [inlined code] from /home/hduser/.julia/v0.5/PkgDev/src/entry.jl:43 >> > in >> > >> > (::Base.Pkg.Dir.##2#3{Array{Any,1},PkgDev.Entry.#submit,Tuple{ASCIIString}})() >> > at ./pkg/dir.jl:31 >> > in >> > >> > cd(::Base.Pkg.Dir.##2#3{Array{Any,1},PkgDev.Entry.#submit,Tuple{ASCIIString}}, >> > ::UTF8String) at ./file.jl:47 >> > in #cd#1(::Array{Any,1}, ::Any, ::Any, ::ASCIIString, >> > ::Vararg{ASCIIString}) at ./pkg/dir.jl:31 >> > [inlined code] from ./boot.jl:331 >> > in submit(::ASCIIString) at >> > /home/hduser/.julia/v0.5/PkgDev/src/PkgDev.jl:44 >> > in eval(::Module, ::Any) at ./boot.jl:267 >> > >> > I am behind a corporate proxy. >> > >> > >> > When I run ssh -T [email protected] >> > Hi Ayush-iitkgp! You've successfully authenticated, but GitHub does not >> > provide shell access. >> > >> > It is giving the expected result. >> > >> > I am using Corkscrew and my ~/.ssh/config file has the following >> > configuration >> > User git >> > Hostname ssh.github.com >> > Port 443 >> > ProxyCommand corkscrew 10.3.100.207 8080 %h %p >> > IdentityFile /home/hduser/.ssh/id_rsa >> > >> > Any help would be appreciated :) >> >> See https://github.com/JuliaLang/julia/issues/13472 >> >> > >> > >> > Yours Sincerely, >> > Ayush Pandey >> > LinkedIn Profile >> > GitHub >> > >> > On Tue, Mar 8, 2016 at 2:57 AM, Tim Holy <[email protected]> wrote: >> >> >> >> The error message could be more explicit, but I suspect it should be >> >> `PkgDev.submit`, not `Pkg.submit`. You have to say `using PkgDev` >> >> before >> >> it >> >> will work. >> >> >> >> Best, >> >> --Tim >> >> >> >> On Tuesday, March 08, 2016 01:07:56 AM Ayush Pandey wrote: >> >> > Hi, >> >> > >> >> > I am tryig to submit a patch to Convex.jl package following the >> >> > instructions from >> >> > http://docs.julialang.org/en/release-0.4/manual/packages/ >> >> > >> >> > The error comes when i run >> >> > Pkg.submit("Convex") >> >> > >> >> > The following error comes: >> >> > >> >> > "ERROR: Pkg.submit(pkg[, commit]) has been moved to the package >> >> > PkgDev.jl. >> >> > Run Pkg.add("PkgDev") to install PkgDev on Julia v0.5-" >> >> > >> >> > I have already installed *PkgDev* but the error don't seem to be >> >> > going >> >> > away. >> >> > >> >> > What are the parameters that needs to be passed to Pkg.submit() ? >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > *Yours Sincerely,* >> >> > *Ayush Pandey* * <https://github.com/Ayush-iitkgp> * >> >> > *LinkedIn Profile >> >> > <https://www.linkedin.com/pub/ayush-pandey/66/9/a52> >> >> > * >> >> > *GitHub <https://github.com/Ayush-iitkgp>* >> >> >> > > >
