Hi,
I haven't had help for my problem to display graphic for module
board_manufacturing and other then I have work a lot of hour to understand and
to solve the problem.
The problem comes from the library matplotlib;
To solve this I have dowload the last win32 install here and installed it :
matplotlib-0.98.5.3.win32-py2.5.exe
http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
in the same time I have upgrade py2exe to py2exe-0.6.9.win32-py2.5.exe :
http://sourceforge.net/project/showfiles.php?group_id=15583&package_id=35995&release_id=640751
I have compiled the client gtk installed an run it; my error for figure.pyo has
been solved, but new errors are comen:
first : % none type and dict in mlab => to solve it :
I Do a test "if", and if no doc, we give the value ""
go to C:\Python25\Lib\site-packages\matplotlib open the file mlab.py ,
for the lines :psd.__doc__ = psd.__doc__ % kwdocd
change to :
if psd.__doc__ is not None:
psd.__doc__ = psd.__doc__ % kwdocd
else:
psd.__doc__ = ""
for the line :csd.__doc__ = csd.__doc__ % kwdocd
change to :
if csd.__doc__ is not None:
csd.__doc__ = csd.__doc__ % kwdocd
else:
csd.__doc__ = ""
for the line :specgram.__doc__ = specgram.__doc__ % kwdocd
change to :
if specgram.__doc__ is not None:
specgram.__doc__ = specgram.__doc__ % kwdocd
else:
specgram.__doc__ = ""
for the line :cohere.__doc__ = cohere.__doc__ % kwdocd
change to :
if cohere.__doc__ is not None:
cohere.__doc__ = cohere.__doc__ % kwdocd
else:
cohere.__doc__ = ""
this is the end?
NO
Another error's message : no module _backend_gdk
go to C:\Python25\Lib\site-packages\matplotlib\backends open the file
backend_gdk,
line :from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array
change to :
from matplotlib.backends.backend_gdk import pixbuf_get_pixels_array (there is
"_ " in too)
after correction I have another error can' import pixbuf_get_pixels_array
to solve it :
cut from matplotlib.backends.backend_gdk import pixbuf_get_pixels_array
paste after :
def draw_image(self, x, y, im, bbox, clippath=None, clippath_trans=None):
and
def _draw_mathtext(self, gc, x, y, s, prop, angle):
Now the client can display graphics for module board_manufacturing
I hope that there will not more incompatibility or problems with this changes.
I will do changement in the script later
Thanks to this who haven't helped.
A+
------------------------
Sauvegardons la banquise, sinon les pingouins vont disparaitre !
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=38217#38217
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users