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

Using PyPlot breaks Pkg.add #8767

Closed
leotac opened this issue Oct 22, 2014 · 1 comment
Closed

Using PyPlot breaks Pkg.add #8767

leotac opened this issue Oct 22, 2014 · 1 comment

Comments

@leotac
Copy link
Contributor

leotac commented Oct 22, 2014

Not sure if it should go here or in PyPlot.
Anyway, "using PyPlot" breaks Pkg.add().
Example:

using PyPlot
Pkg.add("Gadfly")

I get the error:

ERROR: `convert` has no method matching convert(::Type{UTF8String}, ::ASCIIString)
 in wait at task.jl:51
 in sync_end at ./task.jl:311
 in add at pkg/entry.jl:319
 in add at pkg/entry.jl:71
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in __cd#230__ at ./pkg/dir.jl:28
 in add at pkg.jl:20

Same thing happens in 0.3.1 and in the nightly build.

@leotac leotac changed the title Plotting with PyPlot breaks Pkg.add Using PyPlot breaks Pkg.add Oct 22, 2014
@timholy
Copy link
Member

timholy commented Oct 22, 2014

This is presumably #8631. Until it's fixed, the only known workaround is to use julia 0.3 and Pkg.pin("Color",v"0.3.9"). We might have to fork Color into 0.3- and 0.4- branches just to avoid this problem (but currently Color is almost unusable on julia 0.4, so this isn't a great solution either). The bug seems to be present on julia 0.3 too (it's why you're getting this error), but at least it seems to be harder to trigger.

I'm going to close this, since there is nothing new here.

@timholy timholy closed this as completed Oct 22, 2014
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

No branches or pull requests

2 participants