[matplotlib-devel] when $HOME filesystem not writable
Hello, I run my code from a batch system, from where the $HOME-filesystem is not writable. In __init__.py in _get_home it finds ("~"), but then crashes because it doesn't have access to it. I tried to set XDG_CONFIG_HOME and MPLCONFIGDIR to circumvent this problem. But it still aborts. The only solution I have found so far is to hack the code and replace ("~") by my writable work-directory. Is there any other way to tell it which directory to use - without having to touch the actual code? Thanks, Elena _ Dr Elena Breitmoser |EPCC| The University of Edinburgh, JCMB, Mayfield Rd, UK-Edinburgh EH9 3JZ Tel/Fax: +44 (0)131 650 6494/6555 * Room 3401* _ "The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336." -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] when $HOME filesystem not writable
Hi, I use matplotlib version 1.3.1. Elena On Fri, 18 Apr 2014, Benjamin Root wrote: > Which version of matplotlib are you using? I am fairly certain we fixed > this problem for Google App Engine, which also does not have writable home > directories. > > Ben Root > > > On Fri, Apr 4, 2014 at 4:50 AM, wrote: > >> Hello, >> >> I run my code from a batch system, from where the $HOME-filesystem is not >> writable. In __init__.py in _get_home it finds ("~"), but then crashes >> because it doesn't have access to it. I tried to set XDG_CONFIG_HOME and >> MPLCONFIGDIR to circumvent this problem. But it still aborts. The only >> solution I have found so far is to hack the code and replace ("~") by my >> writable work-directory. >> >> Is there any other way to tell it which directory to use - without having >> to touch the actual code? >> >> Thanks, >> Elena >> >> >> _ >> >> Dr Elena Breitmoser >> |EPCC| >> The University of Edinburgh, >> JCMB, Mayfield Rd, >> UK-Edinburgh EH9 3JZ >> Tel/Fax: +44 (0)131 650 6494/6555 * Room >> 3401* >> >> _ >> >> "The University of Edinburgh is a charitable body, registered in >> Scotland, with registration number SC005336." >> >> -- >> The University of Edinburgh is a charitable body, registered in >> Scotland, with registration number SC005336. >> >> >> >> -- >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/NeoTech >> ___ >> Matplotlib-devel mailing list >> Matplotlib-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> > Cheers, Elena _ Dr Elena Breitmoser |EPCC| The University of Edinburgh, JCMB, Mayfield Rd, UK-Edinburgh EH9 3JZ Tel/Fax: +44 (0)131 650 6494/6555 * Room 3401* _ "The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336." -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] when $HOME filesystem not writable
Tom, I can use the current master branch. But in contrast to the issue on Google App Engine, the computer I am working on can see the HOME-dir, so it will set it. But then it has no read/write permissions on it (when running as a batch job). Thanks, Elena On Fri, 18 Apr 2014, Thomas Caswell wrote: > Elena, > > Is it possible for you to use the current master branch? We > definitely fixed this so that it would work with gae. > > Tom > > On Fri, Apr 18, 2014 at 9:32 AM, wrote: >> Hi, >> >> I use matplotlib version 1.3.1. >> >> Elena >> >> On Fri, 18 Apr 2014, Benjamin Root wrote: >> >>> Which version of matplotlib are you using? I am fairly certain we fixed >>> this problem for Google App Engine, which also does not have writable home >>> directories. >>> >>> Ben Root >>> >>> >>> On Fri, Apr 4, 2014 at 4:50 AM, wrote: >>> Hello, I run my code from a batch system, from where the $HOME-filesystem is not writable. In __init__.py in _get_home it finds ("~"), but then crashes because it doesn't have access to it. I tried to set XDG_CONFIG_HOME and MPLCONFIGDIR to circumvent this problem. But it still aborts. The only solution I have found so far is to hack the code and replace ("~") by my writable work-directory. Is there any other way to tell it which directory to use - without having to touch the actual code? Thanks, Elena _ Dr Elena Breitmoser |EPCC| The University of Edinburgh, JCMB, Mayfield Rd, UK-Edinburgh EH9 3JZ Tel/Fax: +44 (0)131 650 6494/6555 * Room 3401* _ "The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336." -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >>> >> >> >> Cheers, >> Elena >> >> _ >> >> Dr Elena Breitmoser >> |EPCC| >> The University of Edinburgh, >> JCMB, Mayfield Rd, >> UK-Edinburgh EH9 3JZ >> Tel/Fax: +44 (0)131 650 6494/6555 * Room 3401* >> _ >> >> "The University of Edinburgh is a charitable body, registered in >> Scotland, with registration number SC005336." >> >> -- >> The University of Edinburgh is a charitable body, registered in >> Scotland, with registration number SC005336. >> >> >> -- >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/NeoTech >> ___ >> Matplotlib-devel mailing list >> Matplotlib-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > > -- > Thomas Caswell > tcasw...@gmail.com > > Cheers, Elena _ Dr Elena Breitmoser |EPCC| The University of Edinburgh, JCMB, Mayfield Rd, UK-Edinburgh EH9 3JZ Tel/Fax: +44 (0)131 650 6494/6555 * Room 3401* _ "The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336." -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs