469,579 Members | 1,220 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,579 developers. It's quick & easy.

matplotlib and zope

Hello All,

I've been using zope and matplotlib for some time now, and I want to
connect them. I'am using the example code from page:
http://www.scipy.org/Cookbook/Matplo...otlib_and_Zope ,
but whenever I try to import matplotlib, and/or pylab packages i get
this error from zope:

Error Type: RuntimeError
Error Value: '/' is not a writable dir; you must set environment
variable HOME to be a writable dir

Have You got any ideas, on what might go wrong?
Is it a problem with matplotlib itself? Have anyone had the same issue?

I'am using matplotlib 0.87.4, and zope 2.9.5 with python 2.4.3 on
gentoo linux box.

Thanks in advance for any help.

Marek Szczypinski

Here is the traceback:

Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Products.ExternalMethod.ExternalMethod, line 59, in
manage_addExternalMethod
Module Products.ExternalMethod.ExternalMethod, line 111, in __init__
Module Products.ExternalMethod.ExternalMethod, line 134, in
manage_edit
Module Products.ExternalMethod.ExternalMethod, line 141, in
getFunction
Module App.Extensions, line 148, in getObject
- __traceback_info__:
('/var/lib/zope/zope-markacy/Extensions/mpl.py', 'mpl')
Module /var/lib/zope/zope-markacy/Extensions/mpl.py, line 1, in ?
Module None, line 1011, in ?
Module None, line 968, in rc_params
Module None, line 914, in matplotlib_fname
Module None, line 273, in wrapper
Module None, line 324, in _get_configdir
RuntimeError: '/' is not a writable dir; you must set environment
variable HOME to be a writable dir

Nov 14 '06 #1
0 949

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by John Hunter | last post: by
3 posts views Thread by John Hunter | last post: by
reply views Thread by fabian | last post: by
2 posts views Thread by Grant Edwards | last post: by
reply views Thread by spross | last post: by
4 posts views Thread by Bill Jackson | last post: by
4 posts views Thread by John Henry | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.