As Tony said, the short term fix for you can be to checkout/pin a previous
version of Plots... in this case you can use v0.5.3.  Sorry about the
inconvenience... I didn't realize that anyone was utilizing those internal
methods.  I plan on submitting a PR to SymPy to fix it this morning.

Side note... is there an easy way to identify these issues in the future?
How could I have known that SymPy would break?

On Mon, Apr 11, 2016 at 8:15 AM, j verzani <[email protected]> wrote:

> Yes, there have been changes to the `Plots` package that need to be
> adjusted for. Hopefully there will be something done today on this.
>
> On Monday, April 11, 2016 at 7:35:08 AM UTC-4, Jameson Quinn wrote:
>>
>> I'm trying to load the SymPy package so that I can do some symbolic
>> calculus. I'm not sure this is the right place to post simple "crash
>> log"-type questions like this, and in general I feel like a nooB for
>> posting on a mailing list after a total of just 3 google searches and 2
>> source files opened and looked-at, but ... well, I am new at Julia, so I
>> don't know where to look and what to try for things like this as I would in
>> my stronger languages. So, if this is the wrong place, apologies in
>> advance.
>>
>>
>> INFO: Precompiling module SymPy...
>> ERROR: LoadError: LoadError: UndefVarError: computeY not defined
>>  in include at
>> /Applications/Julia-0.4.3.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in include_from_node1 at
>> /Applications/Julia-0.4.3.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in include at
>> /Applications/Julia-0.4.3.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in include_from_node1 at
>> /Applications/Julia-0.4.3.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  [inlined code] from none:2
>>  in anonymous at no file:0
>>  in process_options at
>> /Applications/Julia-0.4.3.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in _start at
>> /Applications/Julia-0.4.3.app/Contents/Resources/julia/lib/julia/sys.dylib
>> while loading /Users/chema/.julia/v0.4/SymPy/src/plot-v4.jl, in
>> expression starting on line 453
>> while loading /Users/chema/.julia/v0.4/SymPy/src/SymPy.jl, in expression
>> starting on line 170
>> Failed to precompile SymPy to /Users/chema/.julia/lib/v0.4/SymPy.ji
>>
>>
>> The context of line 453 /Users/chema/.julia/v0.4/SymPy/src/plot-v4.jl is:
>>
>> ##################################################
>> ### Plug into Plots interface. Where there is something defined for
>> Functions we
>> ### define for symbolic expressions
>> ## Additions to Plots so that expressions are treated like functions
>>
>> typealias SymOrSyms @compat(Union{Sym, Plots.AVec{Sym}})
>> Plots.convertToAnyVector(ex::Sym; kw...) = Any[ex], nothing
>> function Plots.computeY(xs, ex::Sym)  #line 453
>>     u = free_symbols(ex)[1]
>>     mapsubs(ex, u, xs)
>> end
>>
>

Reply via email to