Skip to content
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

PkgDev.publish() seems to be broken #38

Closed
jdlangs opened this issue Apr 21, 2016 · 9 comments · Fixed by JuliaLang/julia#16020
Closed

PkgDev.publish() seems to be broken #38

jdlangs opened this issue Apr 21, 2016 · 9 comments · Fixed by JuliaLang/julia#16020

Comments

@jdlangs
Copy link

jdlangs commented Apr 21, 2016

On both latest Julia and PkgDev:

julia> PkgDev.publish()
ERROR: MethodError: no method matching find_in_path(::SubString{UTF8String}, ::ASCIIString)
Closest candidates are:
  find_in_path(::Union{ASCIIString,UTF8String}, ::Any)
 in dir(::SubString{UTF8String}) at /home/jdlangs/.julia/v0.5/PkgDev/src/PkgDev.jl:21
 in (::PkgDev.Entry.##4#7{ASCIIString})(::Base.LibGit2.GitRepo) at /home/jdlangs/.julia/v0.5/PkgDev/src/entry.jl:69
 in with(::PkgDev.Entry.##4#7{ASCIIString}, ::Base.LibGit2.GitRepo) at ./libgit2/types.jl:565
 in publish(::ASCIIString, ::ASCIIString) at /home/jdlangs/.julia/v0.5/PkgDev/src/entry.jl:51
 in publish() at /home/jdlangs/.julia/v0.5/PkgDev/src/PkgDev.jl:58
 in eval(::Module, ::Any) at ./boot.jl:236
@tkelman
Copy link
Contributor

tkelman commented Apr 21, 2016

tagged version or master of PkgDev?

@jdlangs
Copy link
Author

jdlangs commented Apr 21, 2016

master

@wildart
Copy link
Member

wildart commented Apr 21, 2016

Do you have recent julia master? What does PkgDev.dir("PkgDev") report?

@jdlangs
Copy link
Author

jdlangs commented Apr 22, 2016

Yes, this was on today's nightly build. PkgDev.dir("PkgDev") gives what I assume is the expected output: "/home/jdlangs/.julia/v0.5/PkgDev"

The same error shows up for the tagged version of PkgDev too so presumably it's from some recent julia change.

@tkelman
Copy link
Contributor

tkelman commented Apr 22, 2016

could use a bisect on julia then, I suppose?

@jdlangs
Copy link
Author

jdlangs commented Apr 22, 2016

Sure, I can probably do that in a few hours.

@wildart
Copy link
Member

wildart commented Apr 22, 2016

My nightly build works fine.

Julia Version 0.5.0-dev+3669
Commit 17dfdc1* (2016-04-21 15:28 UTC)

@jdlangs
Copy link
Author

jdlangs commented Apr 22, 2016

Did the bisect and found the breaking commit: JuliaLang/julia@ad37021

@tkelman
Copy link
Contributor

tkelman commented Apr 22, 2016

nevermind, SubString

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants