From: <e.b...@ep...> - 2014-04-18 08:46:11
|
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. |
From: Benjamin R. <ben...@ou...> - 2014-04-18 13:33:31
|
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, <e.b...@ep...> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: <e.b...@ep...> - 2014-04-18 14:12:27
|
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, <e.b...@ep...> 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 >> Mat...@li... >> 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. |
From: Thomas C. <tca...@gm...> - 2014-04-18 20:48:41
|
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, <e.b...@ep...> 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, <e.b...@ep...> 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 >>> Mat...@li... >>> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Thomas Caswell tca...@gm... |
From: <e.b...@ep...> - 2014-04-29 11:35:31
|
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, <e.b...@ep...> 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, <e.b...@ep...> 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 >>>> Mat...@li... >>>> 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 >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > > -- > Thomas Caswell > tca...@gm... > > 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. |