[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-10-08 Thread Steven G. Johnson
There seems to be some breakage right now in Anaconda from their switch 
from Qt4 to Qt5.   Updating to PyCall and PyPlot master, and forcing the 
Qt4Agg backend (e.g. with ENV["MPLBACKEND"]="Qt4Agg") should work.


[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-10-08 Thread Ferran Mazzanti
Dear all,

sorry for not replying before but I've been very busy lately... Still I 
wanted to report back here. While I found some of teh previous solutions to 
work, I finally found out there was a bad interaction between Anaconda's 
Python and julia. SImply got rid of Anaconda and then reinstalled julia 
0.5.0 and PyPlot and that worked out well again :)

Thanks for your kind help,

Ferran.

On Thursday, August 18, 2016 at 10:47:27 AM UTC+2, Ferran Mazzanti wrote:
>
> Dear all,
>
> looks like lots of messing around with versions had rendered PyPlot 
> unusable in 0.4.6 under OSX (at least).
> Now I need to do some work that requires its use so I need to have it up 
> and working. Could anybody please let me know
> if it is possible to revert to a previous working version, and how this is 
> done? I know it used to work with 0.4.6 as I had it
> installed, but once I did an update and things stopped working since then.
>
> Thanks for your help,
>
> Ferran.
>


[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-09-29 Thread Andreas Lobinger
Hello colleague,

On Thursday, September 29, 2016 at 9:36:43 AM UTC+2, Ferran Mazzanti wrote:
>
> Nobody is using PyPlot under OSX, please?
>

your description of the error/failure is quite broad. Please file an issue 
to the package and provide details.

I'm not a OSX user (and also not pyplot), but recently it looked like the 
main problems (of packages of this style) are in the area of interactions 
between OSX and the python packaging/distribution mechanism(s) (Conda, 
Ananconda, brew etc.).

So actually the situation is different at every computer, because it 
contains the history of all (re-)configurations.


 


Re: [julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-09-29 Thread Mauro
Have you tried the latest master?

Pkg.checkout("PyPlot", "master")

Otherwise revert to an older version and try that.  I think from within
Julia you'd have to edit the REQUIRE file (or is there an easier way?).
Probably ~/.julia/v0.5/REQUIRE or ~/.julia/v0.4/REQUIRE, modify the line
with PyPlot. For example:

PyPlot 2.1.0 2.2.0

to get version 2.1.0 installed.  To actually install it run
Pkg.resolve() at the julia prompt.  Other packages may be downgraded
too.  Also, you may run into problems with required version from other
packages.

Alternatively, and less safe, cd into ~/.julia/v0.5/PyPlot and there run
in the shell

$ git checkout v2.2.0

Then check whether PyPlot works again.

I hope this helps.

On Thu, 2016-09-29 at 09:36, Ferran Mazzanti  wrote:
> Nobody is using PyPlot under OSX, please?
> Best,
> Ferran.
>
> On Wednesday, September 28, 2016 at 10:35:58 AM UTC+2, Ferran Mazzanti
> wrote:
>>
>> Hi,
>>
>> it seems that PyPlot is still broken in 0.5.0 and OSX, at least
>> Mavericks... Anybody else has faced this problem? If yes, how can I solve
>> it? If not, what versions of PyCall/PyPlot are you using? The ones I was
>> told to use here still work, but spit quite a lot of warnings etc... and it
>> is not clean.
>>
>> Thanks a lot,
>>
>> Ferran.
>>
>> On Thursday, August 18, 2016 at 10:47:27 AM UTC+2, Ferran Mazzanti wrote:
>>>
>>> Dear all,
>>>
>>> looks like lots of messing around with versions had rendered PyPlot
>>> unusable in 0.4.6 under OSX (at least).
>>> Now I need to do some work that requires its use so I need to have it up
>>> and working. Could anybody please let me know
>>> if it is possible to revert to a previous working version, and how this
>>> is done? I know it used to work with 0.4.6 as I had it
>>> installed, but once I did an update and things stopped working since then.
>>>
>>> Thanks for your help,
>>>
>>> Ferran.
>>>
>>


[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-09-29 Thread Ferran Mazzanti
Nobody is using PyPlot under OSX, please?
Best,
Ferran.

On Wednesday, September 28, 2016 at 10:35:58 AM UTC+2, Ferran Mazzanti 
wrote:
>
> Hi,
>
> it seems that PyPlot is still broken in 0.5.0 and OSX, at least 
> Mavericks... Anybody else has faced this problem? If yes, how can I solve 
> it? If not, what versions of PyCall/PyPlot are you using? The ones I was 
> told to use here still work, but spit quite a lot of warnings etc... and it 
> is not clean.
>
> Thanks a lot,
>
> Ferran.
>
> On Thursday, August 18, 2016 at 10:47:27 AM UTC+2, Ferran Mazzanti wrote:
>>
>> Dear all,
>>
>> looks like lots of messing around with versions had rendered PyPlot 
>> unusable in 0.4.6 under OSX (at least).
>> Now I need to do some work that requires its use so I need to have it up 
>> and working. Could anybody please let me know
>> if it is possible to revert to a previous working version, and how this 
>> is done? I know it used to work with 0.4.6 as I had it
>> installed, but once I did an update and things stopped working since then.
>>
>> Thanks for your help,
>>
>> Ferran.
>>
>

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-09-28 Thread Ferran Mazzanti
Hi,

it seems that PyPlot is still broken in 0.5.0 and OSX, at least 
Mavericks... Anybody else has faced this problem? If yes, how can I solve 
it? If not, what versions of PyCall/PyPlot are you using? The ones I was 
told to use here still work, but spit quite a lot of warnings etc... and it 
is not clean.

Thanks a lot,

Ferran.

On Thursday, August 18, 2016 at 10:47:27 AM UTC+2, Ferran Mazzanti wrote:
>
> Dear all,
>
> looks like lots of messing around with versions had rendered PyPlot 
> unusable in 0.4.6 under OSX (at least).
> Now I need to do some work that requires its use so I need to have it up 
> and working. Could anybody please let me know
> if it is possible to revert to a previous working version, and how this is 
> done? I know it used to work with 0.4.6 as I had it
> installed, but once I did an update and things stopped working since then.
>
> Thanks for your help,
>
> Ferran.
>


[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Patrick Kofod Mogensen
At Github :)

https://github.com/stevengj/PyCall.jl/issues/new for PyCall
or 
https://github.com/stevengj/PyPlot.jl/issues/new for PyPlot


On Thursday, August 18, 2016 at 9:42:49 PM UTC+2, Ferran Mazzanti wrote:
>
> Yes of course... how do I do that?
> Thanks,
> Ferran.
>
> On Thursday, August 18, 2016 at 8:29:08 PM UTC+2, Steven G. Johnson wrote:
>>
>> Please file an issue if the latest version of PyCall (or PyPlot) is 
>> failing for you.
>>
>

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Ferran Mazzanti
Yes of course... how do I do that?
Thanks,
Ferran.

On Thursday, August 18, 2016 at 8:29:08 PM UTC+2, Steven G. Johnson wrote:
>
> Please file an issue if the latest version of PyCall (or PyPlot) is 
> failing for you.
>


[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Steven G. Johnson
Please file an issue if the latest version of PyCall (or PyPlot) is failing 
for you.


[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Ferran Mazzanti
Hi again,

thanks all of you for the replies. And specially to Bart, who gave me the 
precise information. I just did:

Pkg.pin("PyCall",v"1.4.0")
Pkg.pin("PyPlot",v"2.1.1")
Pkg.build("PyPlot")

and from there

using PyPlot

did the trick :)

Cheers,

Ferran.



[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Avik Sengupta
Pkg.pin(packageName, version) should force a package at a particular 
version. Unfortunately, depending on how package dependencies have been set 
up, older versions of the package might still be happy to work with newer 
versions of the dependencies, and that might trigger the bug you are 
seeing. PyCall however has only a handful of dependencies, so it should not 
be to difficult to do this manually, recursively for all its dependencies. 

Regards
-
Avik

On Thursday, 18 August 2016 09:47:27 UTC+1, Ferran Mazzanti wrote:
>
> Dear all,
>
> looks like lots of messing around with versions had rendered PyPlot 
> unusable in 0.4.6 under OSX (at least).
> Now I need to do some work that requires its use so I need to have it up 
> and working. Could anybody please let me know
> if it is possible to revert to a previous working version, and how this is 
> done? I know it used to work with 0.4.6 as I had it
> installed, but once I did an update and things stopped working since then.
>
> Thanks for your help,
>
> Ferran.
>


[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Andreas Lobinger
Hello colleague,

On Thursday, August 18, 2016 at 10:47:27 AM UTC+2, Ferran Mazzanti wrote:
>
> Dear all,
>
> looks like lots of messing around with versions had rendered PyPlot 
> unusable in 0.4.6 under OSX (at least).
> Now I need to do some work that requires its use so I need to have it up 
> and working. Could anybody please let me know
> if it is possible to revert to a previous working version, and how this is 
> done? I know it used to work with 0.4.6 as I had it
> installed, but once I did an update and things stopped working since then.
>

You can use Pkg.checkout("package-name","version/branch") (read: 
http://docs.julialang.org/en/release-0.4/stdlib/pkg/#Base.Pkg.checkout)  
Unfortunately you need to do this not only on the package itself, but also 
on the dependencies.
I recommend to open an issue on 
https://github.com/stevengj/PyPlot.jl/issues and browse there, if your 
specific error situation already has a workaround.