0.9.14 fails under new wxPython library

Sean Burke <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
Hi Joe.
Please take a look at the attached log for a wxPython-related build 
error.  It is triggered during the phonebook import page.  I believe the 
cause is a deprecated wx call, but I haven't look deep enough yet to 
isolate it.


Best,

Sean


BitPim version: bitpim-trunk-bitpim-4167-developer build
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "phonebook.pyo", line 1481, in Draw
  File "bphtml.pyo", line 488, in drawhtml
  File "wx/html.pyo", line 1265, in Render
TypeError: Sequence of integers expected.

Variables by last 8 frames, innermost last

Frame Draw in phonebook.pyo at line 1481
           attr =  <wx.grid.GridCellAttr; proxy of <Swig Object of type 
'wxGridCellAttr *' at 0x7ab
           text =  u'<font color="#000000"><strike>(518) 
331-6025</strike></font>'
         colour =  wx.Colour(0, 0, 0, 255)
             dc =  <wx._gdi.PaintDC; proxy of <Swig Object of type 
'wxPaintDC *' at 0xbfff9d40> >
           self =  <phonebook.ImportCellRenderer; proxy of <Swig Object 
of type 'wxPyGridCellRender
     isSelected =  0
        rowtype =  0
           grid =  <wx.grid.Grid; proxy of <Swig Object of type 'wxGrid 
*' at 0x18b6c00> >
            col =  4
           rect =  wx.Rect(320, 420, 80, 20)
            row =  21

Frame drawhtml in bphtml.pyo at line 488
       basepath =  ''
             dc =  <wx._gdi.PaintDC; proxy of <Swig Object of type 
'wxPaintDC *' at 0xbfff9d40> >
           html =  u'<font color="#000000"><strike>(518) 
331-6025</strike></font>'
            hdc =  <wx.html.HtmlDCRenderer; proxy of <Swig Object of 
type 'wxHtmlDCRenderer *' at 0
           rect =  wx.Rect(322, 421, 76, 18)
              x =  1.6000000000000001
           font =  u'Lucida Grande'
      origscale =  (1.0, 1.0)
           size =  13

Frame Render in wx/html.pyo at line 1265
           args =  (<wx.html.HtmlDCRenderer; proxy of <Swig Object of 
type 'wxHtmlDCRenderer *' at
         kwargs =  Keys []
                   {}

-- 
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.