
When I load the yt module on Nautilus and try to use it I get the following error: File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/bin/yt", line 9, in <module> load_entry_point('yt==2.2dev', 'console_scripts', 'yt')() File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 305, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2244, in load_entry_point return ep.load() File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 1954, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/nics/e/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/src/yt-hg/yt/utilities/command_line.py", line 26, in <module> from yt.mods import * File "/nics/e/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/src/yt-hg/yt/mods.py", line 92, in <module> from yt.visualization.api import \ File "/nics/e/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/src/yt-hg/yt/visualization/api.py", line 31, in <module> from color_maps import \ File "/nics/e/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/src/yt-hg/yt/visualization/color_maps.py", line 26, in <module> import matplotlib File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/lib/python2.7/site-packages/matplotlib/__init__.py", line 739, in <module> rcParams = rc_params() File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/lib/python2.7/site-packages/matplotlib/__init__.py", line 657, in rc_params fname = matplotlib_fname() File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/lib/python2.7/site-packages/matplotlib/__init__.py", line 595, in matplotlib_fname fname = os.path.join(get_configdir(), 'matplotlibrc') File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/lib/python2.7/site-packages/matplotlib/__init__.py", line 248, in wrapper ret = func(*args, **kwargs) File "/sw/analysis/yt/2.1/sles11.1_gnu4.3.4/lib/python2.7/site-packages/matplotlib/__init__.py", line 460, in _get_configdir raise RuntimeError('Could not write to MPLCONFIGDIR="%s"'%configdir) RuntimeError: Could not write to MPLCONFIGDIR="/lustre/scratch/perutaca/.matplotlib/" Does the module need to be updated or is there something wrong with my setup? Best, Carolyn

Carolyn,
RuntimeError: Could not write to MPLCONFIGDIR="/lustre/scratch/perutaca/.matplotlib/"
The error that matters is this one, above. Does that directory exist? Is it writable? Is this your Kraken path and therefore not functional on Nautilus? -- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice)

Ah, yes. somehow I must've overwritten my Nautilus .bashrc file with the Kraken one. Thanks! On Sep 19, 2011, at 10:43 AM, Stephen Skory wrote:
Carolyn,
RuntimeError: Could not write to MPLCONFIGDIR="/lustre/scratch/perutaca/.matplotlib/"
The error that matters is this one, above. Does that directory exist? Is it writable? Is this your Kraken path and therefore not functional on Nautilus?
-- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Forget that last email. Nautilus and Kraken share the home directory so I need to remove that explicit line. On Sep 19, 2011, at 10:43 AM, Stephen Skory wrote:
Carolyn,
RuntimeError: Could not write to MPLCONFIGDIR="/lustre/scratch/perutaca/.matplotlib/"
The error that matters is this one, above. Does that directory exist? Is it writable? Is this your Kraken path and therefore not functional on Nautilus?
-- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Carolyn Peruta
-
Stephen Skory