Error with get_home()?

Hi list

I develop an application which used matplotlib and there is a problem on some
computers. When home directory is simple e.g.

C:/Documents and Settings/alex/.qgis/

all works, but when home directory path contains a dot, for example

C:/Documents and Settings/compase.UWW/.qgis/

I've get an error:

Couldn't load plugin statist due an error when calling its classFactory() method

Traceback (most recent call last):
File "C:/Program Files/Quantum GIS Enceladus/./python\qgis\",
line 141, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Documents and
Settings/compase.UWW/.qgis//python/plugins\statist\", line
48, in classFactory
from statist import statistPlugin
File "C:/Documents and
Settings/compase.UWW/.qgis//python/plugins\statist\", line
37, in
import doStatist, doAbout, utils
File "C:/Documents and
Settings/compase.UWW/.qgis//python/plugins\statist\", line
45, in
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
File "C:\Python25\lib\site-packages\matplotlib\", line 709, in
rcParams = rc_params()
File "C:\Python25\lib\site-packages\matplotlib\", line 627,
in rc_params
fname = matplotlib_fname()
File "C:\Python25\lib\site-packages\matplotlib\", line 565,
in matplotlib_fname
fname = os.path.join(get_configdir(), 'matplotlibrc')
File "C:\Python25\lib\site-packages\matplotlib\", line 240,
in wrapper
ret = func(*args, **kwargs)
File "C:\Python25\lib\site-packages\matplotlib\", line 439,
in _get_configdir
raise RuntimeError("Failed to create %s/.matplotlib; consider setting
MPLCONFIGDIR to a writable directory for matplotlib configuration
RuntimeError: Failed to create U:\/.matplotlib; consider setting
MPLCONFIGDIR to a writable directory for matplotlib configuration data

Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

Python path: ['C:/Program Files/Quantum GIS Enceladus/./python',
'C:/Documents and Settings/compase.UWW/.qgis//python', 'C:/Documents
and Settings/compase.UWW/.qgis//python/plugins', 'C:/Program
Files/Quantum GIS Enceladus/./python/plugins', 'C:\\Program
Files\\ArcGIS\\bin', 'C:\\Program Files\\Quantum GIS
Enceladus\\bin\\', 'C:\\Python25\\Lib',
'C:\\Python25\\DLLs', 'C:\\Python25\\Lib\\lib-tk', 'C:\\Program
Files\\Quantum GIS Enceladus', 'C:\\Program Files\\Quantum GIS
Enceladus\\bin', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages',
'C:\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\Program
Files\\Quantum GIS Enceladus\\python\\plugins\\fTools\\tools']

Is this a bug?



Alexander Bruy
mailto: alexander.bruy@...287...