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

Is convert broken? #8836

Closed
davidssmith opened this issue Oct 28, 2014 · 8 comments
Closed

Is convert broken? #8836

davidssmith opened this issue Oct 28, 2014 · 8 comments

Comments

@davidssmith
Copy link
Contributor

This may be a dup, but so many things are broken for me right now that I need to post about it for either help or catharsis. Why is convert dying on everything? Is this because of the new syntax changes?

I'm frustrated because I have a production code that is now broken, and I can't figure out why. I don't think I changed anything.

For example,

julia> Pkg.add("PyPlot")
ERROR: `convert` has no method matching convert(::Type{UTF8String}, ::ASCIIString)
 in wait at ./task.jl:284
 in wait at ./task.jl:194
 in wait at task.jl:48
 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#227__ at ./pkg/dir.jl:28
 in add at pkg.jl:20

julia> versioninfo()
Julia Version 0.3.3-pre+11
Commit e92b32c* (2014-10-25 16:57 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin14.0.0)
  CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3


@ihnorton
Copy link
Member

Can you try

git checkout v0.3.1

And then make. There should not be breaking changes on the release-0.3 branch but maybe something slipped in.

@ivarne
Copy link
Sponsor Member

ivarne commented Oct 28, 2014

I don't see this. Is this a Yosemite issue? I haven't updated yet, but it might require a recompile of something.

cc: @staticfloat

@davidssmith
Copy link
Contributor Author

I am on Yosemite. I've nuked everything and am recompiling v0.3.1. I'll report back the results.

@garborg
Copy link
Contributor

garborg commented Oct 28, 2014

Was Pkg.add("PyPlot") the first expression evaluated in your Julia session? Asking because convert has been reported to break after using Color (or any package that requires Color), and that hasn't been resolved, so if you didn't use anything that uses Color, a minimal reproducible case that causes the error would be very helpful.

@davidssmith
Copy link
Contributor Author

Yes it was.

Edit: Wait, what if Color.jl had been pre-compiled in userimg.jl?

@ivarne
Copy link
Sponsor Member

ivarne commented Oct 28, 2014

userimg.jl is definitely crucial information. There are lots of issues that packages might cause when they are included there. If this is somehow connected to Color.jl, we should track things connected to that, and there is already an issue (#8631) tracking this, so I'll close this as a dup.

@davidssmith You should usually create a new comment rather than editing a comment when you totally change the content. Lots of people follow discussion on email, and some might have seen the first version, and they don't get to see the edited comment.

@ivarne ivarne closed this as completed Oct 28, 2014
@davidssmith
Copy link
Contributor Author

Thanks for the tip, @ivarne. I did not realize that.

Sounds like userimg.jl is still playing with fire at this stage.

@davidssmith
Copy link
Contributor Author

For reference, removing Color.jl from userimg.jl seems to have fixed the problem.

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

4 participants