Is this bug related to matplotlib?  (i.e. does it happen only when 
matplotlib is imported?)  If not, you may have more luck on the wxpython 
mailing list.

Mike

MOhanKumar wrote:
> wx.AlphaPixelData() is failing on windows server 2003. The sample code is
> given below.
> The same is working fine on windows xp. what could be the reason?
>
> import wx
>
> class Size(wx.Frame):
>     def __init__(self, parent, id, title):
>         wx.Frame.__init__(self, parent, id, title, size=(250, 200))
>         absFilename =
> "C:\Python26\Lib\site-packages\win32\Demos\images\smiley.bmp"
>         bmp = wx.Bitmap(absFilename, wx.BITMAP_TYPE_BMP)
>         pixelData = wx.AlphaPixelData(bmp)
>
>         if not pixelData:
>             print "error"
>         else:
>             print "fine"
>
>
>
> app = wx.App(False)
> Size(None, -1, 'Test')
> app.MainLoop()
>
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to