From: Michael F. <mi...@pc...> - 2005-04-11 18:50:33
|
Hello, -----Original Message----- >From: "Werner F. Bruhin"<wer...@fr...> >Sent: 11/04/05 19:35:02 >To: = "py2...@li..."<py2...@li...> >Subject: [Py2exe-users] Optimize problem when building with = matplotlib >This got reported on the matplotlib list by Andrea, and it happens = to me=20 >to if I leave Optimize: 2. > >figimage.__doc__ =3D Figure.figimage.__doc__ + """ >Addition kwargs: hold =3D [True|False] overrides default hold = state""" > >Breaks py2exe when trying to run the exe with an error like: > >"Can not concatenate NoneType with str" > That will be because optimizing removes docstrings, so they will ne = None. :-) Regards, Fuzzy Http://www.voidspace.org.uk/python >Not optimizing "fixes" it, but obviously just a work around. > >See you >Werner > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real = users. >Discover which products truly live up to the hype. Start reading = now. >http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >_______________________________________________ >Py2exe-users mailing list >Py2...@li... > > > [Message truncated. Tap Edit->Mark for Download to get remaining = portion.] |