Crash during phonebook import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bitpim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bitpim
Error reported by Bitpim:
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/
text, font=self.facename, size=self.facesize)
File "/usr/share/
hdc.
File "/usr/lib/
return _html.HtmlDCRen
TypeError: Sequence of integers expected.
Variables by last 8 frames, innermost last
Frame Draw in /usr/share/
attr = <wx.grid.
text = u'<font color="
colour = wx.Colour(16, 16, 16, 255)
dc = <wx._gdi.PaintDC; proxy of <Swig Object of type 'wxPaintDC *' at 0x7fffb7297b60>
self = <phonebook.
isSelected = 0
rowtype = 1
grid = <wx.grid.Grid; proxy of <Swig Object of type 'wxGrid *' at 0x3e5f3b0> >
col = 4
rect = wx.Rect(320, 682, 80, 22)
row = 31
Frame drawhtml in /usr/share/
basepath = ''
dc = <wx._gdi.PaintDC; proxy of <Swig Object of type 'wxPaintDC *' at 0x7fffb7297b60>
html = u'<font color="
hdc = <wx.html.
rect = wx.Rect(322, 683, 76, 20)
x = 1.6000000000000001
font = u'FreeSans'
origscale = (1.0, 1.0)
size = 10
Frame Render in /usr/lib/
args = (<wx.html.
kwargs = Keys []
Solution for me was to install the newest version from Bitpim's SF repo using sudo dpkg -i --force-
Steps to reproduce:
1. Install Bitpim and set up rfcomm
2. Open Bitpim and get Phonebook data from the Phone
3. Crash will occur when Bitpim tries to display the contacts table for merging.
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. HtmlDCRenderer got no args at all, but that is just my guess.
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.
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): bitpim/ code/phonebook. py", line 1481, in Draw bitpim/ code/bphtml. py", line 490, in drawhtml Render( rect.x, rect.y, 0, False) python2. 5/site- packages/ wx-2.8- gtk2-unicode/ wx/html. py", line 1265, in Render derer_Render( *args, **kwargs)
File "/usr/share/
text, font=self.facename, size=self.facesize)
File "/usr/share/
hdc.
File "/usr/lib/
return _html.HtmlDCRen
TypeError: Sequence of integers expected.
Variables by last 8 frames, innermost last
Frame Draw in /usr/share/ bitpim/ code/phonebook. py at line 1481 GridCellAttr; proxy of <Swig Object of type 'wxGridCellAttr *' at 0x9d0 #101010" ><strike> (505) 835-0240< /strike> </font> ' ImportCellRende rer; proxy of <Swig Object of type 'wxPyGridCellRender
attr = <wx.grid.
text = u'<font color="
colour = wx.Colour(16, 16, 16, 255)
dc = <wx._gdi.PaintDC; proxy of <Swig Object of type 'wxPaintDC *' at 0xbffb308c> >
self = <phonebook.
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 #101010" ><strike> (505) 835-0240< /strike> </font> ' HtmlDCRenderer; proxy of <Swig Object of type 'wxHtmlDCRenderer *' at 0
basepath = ''
dc = <wx._gdi.PaintDC; proxy of <Swig Object of type 'wxPaintDC *' at 0xbffb308c> >
html = u'<font color="
hdc = <wx.html.
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 HtmlDCRenderer; proxy of <Swig Object of type 'wxHtmlDCRenderer *' at
{}
args = (<wx.html.
kwargs = Keys []