[Slackbuilds-users] possible matplotlib patch

Serban Udrea serban.udrea at skmail.ikp.physik.tu-darmstadt.de
Tue Dec 4 11:02:00 UTC 2018


On 12/4/18 2:09 AM, Benjamin Trigona-Harany wrote:
> Hi Serban,
> 
> I wonder if this small patch would make sense for libraries/matplotlib? I've been 
> having an issue where the script fails silently shortly after setup.py is run.
> 
> The following error is in SETUP.OUTPUT:
> Unable to access the X Display, is $DISPLAY set properly?
> 
> After some trial and error, I've found that disabling wxagg in setup.cfg avoids 
> the script needing access to X. I do have wxPython and wxGTK3 installed but this 
> issue only crops up on one of my two Slackware laptops. The patch simply ensures 
> that wxagg is disabled and I don't think there's any downside to doing this.
> 
> Incidentally, I don't think SETUP.OUTPUT was meant to be added to the repo, 
> although no harm from it being there.
> 

Hi Benjamin,

And thank you for investigating the issue, reporting it and preparing the patch. 
I'm not sure that disabling wxagg is always ok. I would put its disabling as an 
option for now and try to find out more about this issue.

I'm puzzled! Why should there be any need for accessing X? Did you enable tests?

Yes, SETUP.OUTPUT was intended just for me. I'll correct this. However, could you 
please send me a SETUP.OUTPUT containing the error.

Best regards,
Serban


More information about the SlackBuilds-users mailing list