Comment 1 for bug 177569

Revision history for this message
kuzma (kuzmaionitch) wrote :

I am experiencing the same problem.
I am using Ubuntu 7.10 on a hp pavilion laptop ze4100, and my phone is a lg-vx8300

First I detect my phone (LG VX8300) and ask it to transfer my contacts. On the bottom left the scrolling bar and seeing all of my contacts' names scroll through gives me evidence to believe that the information was successfully transfered, but that a display problem resulted.
Then this exception pops up (posted below)
Judging by the output I would expect the problem to be where the wx html table drawing functions were called.
Judging by the last part of the exception it looks like the call to wx.html.HtmlDCRenderer got no args at all, but that is just my guess.

here is my error:

BitPim version: 1.0.0-Debian
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "/usr/share/bitpim/code/phonebook.py", line 1481, in Draw
    text, font=self.facename, size=self.facesize)
  File "/usr/share/bitpim/code/bphtml.py", line 490, in drawhtml
    hdc.Render(rect.x, rect.y, 0, False)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/html.py", line 1265, in Render
    return _html.HtmlDCRenderer_Render(*args, **kwargs)
TypeError: Sequence of integers expected.

Variables by last 8 frames, innermost last

Frame Draw in /usr/share/bitpim/code/phonebook.py at line 1481
           attr = <wx.grid.GridCellAttr; proxy of <Swig Object of type 'wxGridCellAttr *' at 0x9d0
           text = u'<font color="#101010"><strike>(505) 835-0240</strike></font>'
         colour = wx.Colour(16, 16, 16, 255)
             dc = <wx._gdi.PaintDC; proxy of <Swig Object of type 'wxPaintDC *' at 0xbffb308c> >
           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 0x9d0b8f8> >
            col = 3
           rect = wx.Rect(240, 450, 80, 25)
            row = 18

Frame drawhtml in /usr/share/bitpim/code/bphtml.py at line 490
       basepath = ''
             dc = <wx._gdi.PaintDC; proxy of <Swig Object of type 'wxPaintDC *' at 0xbffb308c> >
           html = u'<font color="#101010"><strike>(505) 835-0240</strike></font>'
            hdc = <wx.html.HtmlDCRenderer; proxy of <Swig Object of type 'wxHtmlDCRenderer *' at 0
           rect = wx.Rect(242, 451, 76, 23)
              x = 1.6000000000000001
           font = u'Sans'
      origscale = (1.0, 1.0)
           size = 10

Frame Render in /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/html.py at line 1265
           args = (<wx.html.HtmlDCRenderer; proxy of <Swig Object of type 'wxHtmlDCRenderer *' at
         kwargs = Keys []
                   {}