Your error message talks about `AlphaColorValue` and `ColorValue`. Those types 
only exist in the Color package, so something is loading it.

Here's my suggestion: do a `git diff` in the `Color` directory and figure out 
why it's dirty. Presumably you don't need the changes you made because Color 
is deprecated anyway. Stash (`git stash`) or discard (`git checkout 
whatever_file_I_changed.jl`) the changes, then do `Pkg.update()`. This will 
give you the latest version of Color.

The key change is a warning message:

WARNING: Color is deprecated, please use Colors instead. See 
https://github.com/JuliaGraphics/Colors.jl

Any time you see that warning, it means you have some other outdated package 
that needs to be updated. Repeat the above process until the warning doesn't 
appear.

--Tim

On Wednesday, September 16, 2015 12:56:37 AM Serge Santos wrote:
> I only initialized Colors (i.e., using Colors) and not Color.
> 
> Pkg.status() says
> 
> - Color                          0.4.8              2fd36703 (dirty)
> - ColorTypes                 0.1.4
> - Colors                        0.5.3
> 
> 
> Serge
> 
> On Wednesday, 16 September 2015 00:12:13 UTC+1, Serge Santos wrote:
> > Hi,
> > 
> > I got an error when using the parameter Theme with Gadfly, so I tried
> > using an example from http://gadflyjl.org/themes.html#examples (see
> > below).
> > 
> > When I run the example from the website below, I get an error saying
> > 'convert' has no method matching
> > convert(::Type{Union(Nothing,AlphaColorValue{C<:ColorValue{T},T<:Union(Flo
> > atingPoint,FixedPoint)},ColorValue{T})},::RGB{UfixedBase{UInt8,8}}). I
> > don't understand what I am doing wrong here when using the example from
> > Gadfly. Any idea? Thanks
> > 
> > plot(x=rand(10), y=rand(10),
> > 
> >      Theme(panel_fill=colorant"black", default_color=colorant"orange"))

Reply via email to