I am using matplotllib as part of web server. matplotlib causes my server
to crash with this error:

File "/apollo/env/Ssdf/lib/python2.7/site-packages/matplotlib/__init__.py",
line 597, in _get_configdir
    return _get_config_or_cache_dir(_get_xdg_config_dir())
  File
"/apollo/env/Ssdf/lib/python2.7/site-packages/matplotlib/__init__.py", line
534, in _get_xdg_config_dir
    return os.environ.get('XDG_CONFIG_HOME', os.path.join(get_home(),
'.config'))
  File
"/apollo/env/Ssdf/bin/../../../package/local_1/Linux-2.6c2.5-x86_64/Python27/Python27-487.0-0/lib/python2.7/posixpath.py",
line 77, in join
    elif path == '' or path.endswith('/'):
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
'endswith'

I have no home directory on my server (and probably don't have the
permissions to create one). What is the correct way to fix this problem?

Thanks!

Paul
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to