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. |