Pkg.submit() not working on Julia v0.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Pkg.submit() not working on Julia v0.5

Ayush Pandey-2
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        
LinkedIn Profile   
GitHub

Reply | Threaded
Open this post in threaded view
|

Re: [julia-users] Pkg.submit() not working on Julia v0.5

Yichao Yu
On Mon, Mar 7, 2016 at 2:37 PM, Ayush Pandey <[hidden email]> 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.

PkgDev.summit()

I guess the error message could be a little more clear on it.

>
> What are the parameters that needs to be passed to Pkg.submit() ?
>
>
>
>
>
> Yours Sincerely,
> Ayush Pandey
> LinkedIn Profile
> GitHub
Reply | Threaded
Open this post in threaded view
|

Re: [julia-users] Pkg.submit() not working on Julia v0.5

Yichao Yu


On Mar 7, 2016 4:02 PM, "Ayush Pandey" <[hidden email]> wrote:
>
> Hi,
>
> PkgDev.summit()
> ERROR: UndefVarError: PkgDev not defined
> in eval(::Module, ::Any) at ./boot.jl:267
>
> I also ran 
> PkgDev.submit()
> The error is same as above
>
> In order to check if I have PkgDev installed
> I ran Pkg.status("PkgDev")
> - PkgDev                        0.1.0
>

As any other packages, you need to import or using the package in order to use it.

>
>
>
> Yours Sincerely,
> Ayush Pandey        
> LinkedIn Profile   
> GitHub
>
> On Tue, Mar 8, 2016 at 1:10 AM, Yichao Yu <[hidden email]> wrote:
>>
>> On Mon, Mar 7, 2016 at 2:37 PM, Ayush Pandey <[hidden email]> 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.
>>
>> PkgDev.summit()
>>
>> I guess the error message could be a little more clear on it.
>>
>> >
>> > What are the parameters that needs to be passed to Pkg.submit() ?
>> >
>> >
>> >
>> >
>> >
>> > Yours Sincerely,
>> > Ayush Pandey
>> > LinkedIn Profile
>> > GitHub
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [julia-users] Pkg.submit() not working on Julia v0.5

Ayush Pandey-2
In reply to this post by Yichao Yu
Hi,

PkgDev.summit()
ERROR: UndefVarError: PkgDev not defined
in eval(::Module, ::Any) at ./boot.jl:267

I also ran 
PkgDev.submit()
The error is same as above

In order to check if I have PkgDev installed
I ran Pkg.status("PkgDev")
- PkgDev                        0.1.0




Yours Sincerely,
Ayush Pandey        
LinkedIn Profile   
GitHub


On Tue, Mar 8, 2016 at 1:10 AM, Yichao Yu <[hidden email]> wrote:
On Mon, Mar 7, 2016 at 2:37 PM, Ayush Pandey <[hidden email]> 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.

PkgDev.summit()

I guess the error message could be a little more clear on it.

>
> What are the parameters that needs to be passed to Pkg.submit() ?
>
>
>
>
>
> Yours Sincerely,
> Ayush Pandey
> LinkedIn Profile
> GitHub

Reply | Threaded
Open this post in threaded view
|

Re: Pkg.submit() not working on Julia v0.5

Josh Langsfeld
In reply to this post by Ayush Pandey-2
Hello Ayush,

Note that you are using julia 0.5 but are using the 0.4 documentation. You want to be on this page instead: http://docs.julialang.org/en/latest/manual/packages/

There's a little widget in the bottom right corner of the page that lets you select the documentation version so you can also be sure you're on the right page.

On Monday, March 7, 2016 at 2:38:40 PM UTC-5, Ayush Pandey wrote:
Hi, 

I am tryig to submit a patch to Convex.jl package following the instructions from <a href="http://docs.julialang.org/en/release-0.4/manual/packages/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fdocs.julialang.org%2Fen%2Frelease-0.4%2Fmanual%2Fpackages%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFw61vtVXVcjsSPmsUGUlnGLTm4Gg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fdocs.julialang.org%2Fen%2Frelease-0.4%2Fmanual%2Fpackages%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFw61vtVXVcjsSPmsUGUlnGLTm4Gg&#39;;return true;">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     <a href="https://github.com/Ayush-iitkgp" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2FAyush-iitkgp\46sa\75D\46sntz\0751\46usg\75AFQjCNHEPN80RcbW0rtsZgA9GlLwInNhSQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2FAyush-iitkgp\46sa\75D\46sntz\0751\46usg\75AFQjCNHEPN80RcbW0rtsZgA9GlLwInNhSQ&#39;;return true;">   
<a href="https://www.linkedin.com/pub/ayush-pandey/66/9/a52" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fwww.linkedin.com%2Fpub%2Fayush-pandey%2F66%2F9%2Fa52\46sa\75D\46sntz\0751\46usg\75AFQjCNGN-CIBFu8glJQ6ZjKZbw6F9I8SIw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fwww.linkedin.com%2Fpub%2Fayush-pandey%2F66%2F9%2Fa52\46sa\75D\46sntz\0751\46usg\75AFQjCNGN-CIBFu8glJQ6ZjKZbw6F9I8SIw&#39;;return true;">LinkedIn Profile   
<a href="https://github.com/Ayush-iitkgp" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2FAyush-iitkgp\46sa\75D\46sntz\0751\46usg\75AFQjCNHEPN80RcbW0rtsZgA9GlLwInNhSQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2FAyush-iitkgp\46sa\75D\46sntz\0751\46usg\75AFQjCNHEPN80RcbW0rtsZgA9GlLwInNhSQ&#39;;return true;">GitHub

Reply | Threaded
Open this post in threaded view
|

Re: [julia-users] Pkg.submit() not working on Julia v0.5

Yichao Yu
In reply to this post by Yichao Yu
On Mon, Mar 7, 2016 at 5:32 PM, Ayush Pandey <[hidden email]> 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 [hidden email]
> 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 <[hidden email]> 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>*
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: [julia-users] Pkg.submit() not working on Julia v0.5

Ayush Pandey-2
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.


Yours Sincerely,
Ayush Pandey        
LinkedIn Profile   
GitHub


On Tue, Mar 8, 2016 at 4:13 AM, Yichao Yu <[hidden email]> wrote:
On Mon, Mar 7, 2016 at 5:32 PM, Ayush Pandey <[hidden email]> 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 [hidden email]
> 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 <[hidden email]> 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>*
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [julia-users] Pkg.submit() not working on Julia v0.5

Yichao Yu
On Mon, Mar 7, 2016 at 6:46 PM, Ayush Pandey <[hidden email]> 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 <[hidden email]> wrote:
>>
>> On Mon, Mar 7, 2016 at 5:32 PM, Ayush Pandey <[hidden email]>
>> 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 [hidden email]
>> > 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 <[hidden email]> 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>*
>> >>
>> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [julia-users] Pkg.submit() not working on Julia v0.5

Ayush Pandey-2
The github issue is still open and I guess the solution for the above problem hasn't been found yet. 
I had to switch to direct connection to able to PkgDev.submit().

Yours Sincerely,
Ayush Pandey        
LinkedIn Profile   
GitHub


On Tue, Mar 8, 2016 at 5:20 AM, Yichao Yu <[hidden email]> wrote:
On Mon, Mar 7, 2016 at 6:46 PM, Ayush Pandey <[hidden email]> 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 <[hidden email]> wrote:
>>
>> On Mon, Mar 7, 2016 at 5:32 PM, Ayush Pandey <[hidden email]>
>> 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 [hidden email]
>> > 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 <[hidden email]> 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>*
>> >>
>> >
>
>