Discussion:
[BitPim-devel] LG-VX10000 (Voyager)
bejon
2010-09-09 17:43:38 UTC
Permalink
I'm getting this exception when trying to retrieve the phonebook from a
VX10000. Any recommendations as to how I can work around this would be
appreciated.

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

Traceback (most recent call last):
File "gui.pyo", line 284, in run
File "gui.pyo", line 159, in __call__
File "gui.pyo", line 1906, in getdata
File "phones\com_lgvx8550.pyo", line 141, in getphonebook
File "phones\p_lgvx8550.pyo", line 607, in valid
IndexError: string index out of range

Variables by last 8 frames, innermost last

Frame run in gui.pyo at line 277
resultcb = <gui.Callback instance at 0x031C7D50>
res = None
self = <WorkerThread(BitPim helper, started daemon)>
item = (<gui.Request instance at 0x03013A80>, <gui.Callback
instance at 0x031C7D50>)
call = <gui.Request instance at 0x03013A80>
ex = IndexError('string index out of range',)
e = IndexError('string index out of range',)
first = 0

Frame __call__ in gui.pyo at line 159
self = <gui.Request instance at 0x03013A80>
args = ()
d = Keys []
{}
kwargs = Keys []
{}

Frame getdata in gui.pyo at line 1906
count = 1
i = (<bound method GetPhoneDialog.GetPhoneBookSetting of
<guiwidgets.GetPhoneDialog;
self = <WorkerThread(BitPim helper, started daemon)>
req = <guiwidgets.GetPhoneDialog; proxy of <Swig Object of type
'wxDialog *' at 0x2b59
willcall = [(<bound method GetPhoneDialog.GetPhoneBookSetting of
<guiwidgets.GetPhoneDialog
results = Keys ['groups', 'ringtone-index', 'sync', 'uniqueserial',
'wallpaper-index']
{'sync': {'phonebook': 'MERGE'}, 'wallpaper-index': {128:
{'origin': 'images', '
sync = Keys ['phonebook']
{'phonebook': 'MERGE'}
st = 0
todo = [(<bound method WorkerThread.rebootcheck of
<WorkerThread(BitPim helper, started

Frame getphonebook in phones\com_lgvx8550.pyo at line 141
pbook = Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 53, 54]
{0: {'serials': [{'serial2': 4, 'serial1': 4,
'sourcetype': 'lgvx10000', 'source
e = AttributeError("'pnfileentry' object has no attribute
'_pnfileentry__field_phone
_rt_ids = Keys []
{}
_wp_ids = Keys []
{}
_speeds = Keys [1000]
{1000: {6: 1}}
self = <phones.com_lgvx10000.Phone object at 0x02BDAD50>
_cnt = 55
pb_entry = <phones.p_lgvx8550.pbfileentry object at 0x03364070>
pb_numbers = <phones.p_lgvx8550.pnfile object at 0x034C6810>
ring_pathf = <phones.p_lgvx8550.PathIndexFile object at 0x03020BF0>
result = Keys ['groups', 'ringtone-index', 'sync', 'uniqueserial',
'wallpaper-index']
{'sync': {'phonebook': 'MERGE'}, 'wallpaper-index': {128:
{'origin': 'images', '
picid_pathf = <phones.p_lgvx8550.PathIndexFile object at 0x03123790>
pb_entries = <phones.p_lgvx8550.pbfile object at 0x030209D0>
_ices = Keys [31, 41]
{41: 1, 31: 0}

Frame valid in phones\p_lgvx8550.pyo at line 607
self = <phones.p_lgvx8550.pbfileentry object at 0x03364070>
bejon
2010-09-09 18:22:37 UTC
Permalink
Sorry that wasn't such a good post.
I'm trying to retrieve the phonebook data off of a LG-VX10000 I keep
getting the following error. Any help in how to work around this would
be very appreciated.

11:06:59.776 COM8: USB support is not available
11:06:59.776 COM8: Opening port COM8, 115200 baud, timeout 3.000000,
hardwareflow 0, softwareflow 0
11:06:59.786 COM8: Open of comm port suceeded
11:06:59.786 LG-VX10000: Attempting to contact phone
11:06:59.786 LG-VX10000: Retrieving fundamental phone information
11:06:59.786 LG-VX10000: Phone serial number
11:06:59.806 LG-VX10000: Now in brew mode
11:06:59.826 LG-VX10000: Reading group information
11:06:59.907 LG-VX10000: stat file pim/pbgroup.dat
11:06:59.927 LG-VX10000: Getting file contents 'pim/pbgroup.dat'
11:06:59.937 LG-VX10000: Open file 'pim/pbgroup.dat'
11:06:59.996 LG-VX10000: Close file
11:07:00.036 LG-VX10000: Reading wallpaper-index
11:07:00.107 LG-VX10000: stat file dload/image.dat
11:07:00.127 LG-VX10000: Getting file contents 'dload/image.dat'
11:07:00.137 LG-VX10000: Open file 'dload/image.dat'
11:07:00.648 LG-VX10000: Close file
11:07:00.838 LG-VX10000: stat file dload/sd_image.dat
11:07:00.858 LG-VX10000: Getting file contents 'dload/sd_image.dat'
11:07:00.858 LG-VX10000: Open file 'dload/sd_image.dat'
11:07:00.888 LG-VX10000: Close file
11:07:00.979 LG-VX10000: stat file dload/video.dat
11:07:00.999 LG-VX10000: Getting file contents 'dload/video.dat'
11:07:00.999 LG-VX10000: Open file 'dload/video.dat'
11:07:01.039 LG-VX10000: Close file
11:07:01.148 LG-VX10000: stat file dload/sd_video.dat
11:07:01.168 LG-VX10000: Getting file contents 'dload/sd_video.dat'
11:07:01.178 LG-VX10000: Open file 'dload/sd_video.dat'
11:07:01.209 LG-VX10000: Close file
11:07:01.229 LG-VX10000: Reading ringtone-index
11:07:01.299 LG-VX10000: stat file dload/myringtone.dat
11:07:01.319 LG-VX10000: Getting file contents 'dload/myringtone.dat'
11:07:01.319 LG-VX10000: Open file 'dload/myringtone.dat'
11:07:01.388 LG-VX10000: Close file
11:07:01.479 LG-VX10000: stat file dload/mysound.dat
11:07:01.499 LG-VX10000: Getting file contents 'dload/mysound.dat'
11:07:01.499 LG-VX10000: Open file 'dload/mysound.dat'
11:07:01.588 LG-VX10000: Close file
11:07:01.690 LG-VX10000: stat file dload/sd_sound.dat
11:07:01.710 LG-VX10000: Getting file contents 'dload/sd_sound.dat'
11:07:01.710 LG-VX10000: Open file 'dload/sd_sound.dat'
11:07:01.740 LG-VX10000: Close file
11:07:01.829 LG-VX10000: stat file dload/efs_music.dat
11:07:01.849 LG-VX10000: Getting file contents 'dload/efs_music.dat'
11:07:01.849 LG-VX10000: Open file 'dload/efs_music.dat'
11:07:01.890 LG-VX10000: Close file
11:07:01.980 LG-VX10000: stat file dload/sd_music.dat
11:07:02.000 LG-VX10000: Getting file contents 'dload/sd_music.dat'
11:07:02.000 LG-VX10000: Open file 'dload/sd_music.dat'
11:07:02.029 LG-VX10000: Close file
11:07:02.049 LG-VX10000: Fundamentals retrieved
11:07:02.059 LG-VX10000: Reading speed dials
11:07:02.130 LG-VX10000: stat file pim/pbspeed.dat
11:07:02.150 LG-VX10000: Getting file contents 'pim/pbspeed.dat'
11:07:02.150 LG-VX10000: Open file 'pim/pbspeed.dat'
11:07:02.180 LG-VX10000: Close file
11:07:02.220 LG-VX10000: Reading ICE entries
11:07:02.299 LG-VX10000: stat file pim/pbiceentry.dat
11:07:02.319 LG-VX10000: Getting file contents 'pim/pbiceentry.dat'
11:07:02.319 LG-VX10000: Open file 'pim/pbiceentry.dat'
11:07:02.351 LG-VX10000: Close file
11:07:02.381 LG-VX10000: Reading phonebook entries
11:07:02.440 LG-VX10000: stat file pim/pbentry.dat
11:07:02.460 LG-VX10000: Getting file contents 'pim/pbentry.dat'
11:07:02.460 LG-VX10000: Open file 'pim/pbentry.dat'
11:07:08.148 LG-VX10000: Close file
11:07:08.168 LG-VX10000: Read 256256 bytes at 44894 bytes/second
11:07:08.809 LG-VX10000: Reading phone numbers
11:07:08.859 LG-VX10000: stat file pim/pbnumber.dat
11:07:08.869 LG-VX10000: Getting file contents 'pim/pbnumber.dat'
11:07:08.869 LG-VX10000: Open file 'pim/pbnumber.dat'
11:07:15.539 LG-VX10000: Close file
11:07:15.559 LG-VX10000: Read 320000 bytes at 47832 bytes/second
11:07:16.160 LG-VX10000: Reading Ringtone IDs
11:07:16.210 LG-VX10000: stat file pim/pbRingIdSetAsPath.dat
11:07:16.220 LG-VX10000: Getting file contents 'pim/pbRingIdSetAsPath.dat'
11:07:16.220 LG-VX10000: Open file 'pim/pbRingIdSetAsPath.dat'
11:07:21.467 LG-VX10000: Close file
11:07:21.487 LG-VX10000: Read 255000 bytes at 48405 bytes/second
11:07:21.727 LG-VX10000: Reading Picture IDs
11:07:21.798 LG-VX10000: stat file pim/pbPictureIdSetAsPath.dat
11:07:21.819 LG-VX10000: Getting file contents 'pim/pbPictureIdSetAsPath.dat'
11:07:21.819 LG-VX10000: Open file 'pim/pbPictureIdSetAsPath.dat'
11:07:27.365 LG-VX10000: Close file
11:07:27.387 LG-VX10000: Read 255000 bytes at 45797 bytes/second
11:07:27.637 LG-VX10000: Parse entry 0 - #BAL #BAL
11:07:27.647 LG-VX10000: Parse entry 1 - #MIN Usage #MIN
11:07:27.647 LG-VX10000: Parse entry 2 - #PMT #PMT
11:07:27.657 LG-VX10000: Parse entry 3 - Voicemail
11:07:27.657 LG-VX10000: Parse entry 4 - Dad
11:07:27.667 LG-VX10000: Parse entry 5 - Mom
11:07:27.667 LG-VX10000: Parse entry 6 - Stephen
11:07:27.667 LG-VX10000: Parse entry 7 - Lynda
11:07:27.677 LG-VX10000: Parse entry 8 - Claudia
11:07:27.677 LG-VX10000: Parse entry 9 - Susan
11:07:27.687 LG-VX10000: Parse entry 10 - Stephanie
11:07:27.687 LG-VX10000: Parse entry 11 - Comcast
11:07:27.697 LG-VX10000: Parse entry 12 - Dosha
11:07:27.697 LG-VX10000: Parse entry 13 - cine
11:07:27.697 LG-VX10000: Parse entry 14 - Northwest
11:07:27.707 LG-VX10000: Parse entry 15 - Collins
11:07:27.707 LG-VX10000: Parse entry 16 - Bremner
11:07:27.717 LG-VX10000: Parse entry 17 - Leonard
11:07:27.717 LG-VX10000: Parse entry 18 - Smith
11:07:27.726 LG-VX10000: Parse entry 19 - Zarling
11:07:27.736 LG-VX10000: Parse entry 20 - Shanette
11:07:27.736 LG-VX10000: Parse entry 21 - Galen
11:07:27.746 LG-VX10000: Parse entry 22 - Walgreens 0
11:07:27.746 LG-VX10000: Parse entry 23 - Qwest
11:07:27.746 LG-VX10000: Parse entry 24 - Rose City
11:07:27.756 LG-VX10000: Parse entry 25 - Walgreens 1
11:07:27.756 LG-VX10000: Parse entry 26 - Walgreens 2
11:07:27.766 LG-VX10000: Parse entry 27 - Walgreens 3
11:07:27.766 LG-VX10000: Parse entry 28 - Wells
11:07:27.776 LG-VX10000: Parse entry 29 - Costco
11:07:27.776 LG-VX10000: Parse entry 30 - Shannon
11:07:27.776 LG-VX10000: Parse entry 31 - John
11:07:27.786 LG-VX10000: Parse entry 32 - Keith
11:07:27.786 LG-VX10000: Parse entry 33 - Walgreens 4
11:07:27.796 LG-VX10000: Parse entry 34 - Lee
11:07:27.796 LG-VX10000: Parse entry 35 - Janet
11:07:27.806 LG-VX10000: Parse entry 36 - Milissa
11:07:27.806 LG-VX10000: Parse entry 37 - Linc0ln
11:07:27.816 LG-VX10000: Parse entry 38 - Marek
11:07:27.816 LG-VX10000: Parse entry 39 - Freddie's
11:07:27.816 LG-VX10000: Parse entry 40 - Jan
11:07:27.826 LG-VX10000: Parse entry 41 - Ester
11:07:27.826 LG-VX10000: Parse entry 42 - Oscar
11:07:27.836 LG-VX10000: Parse entry 43 - Tom
11:07:27.836 LG-VX10000: Parse entry 44 - Niki
11:07:27.846 LG-VX10000: Parse entry 45 - Barbara
11:07:27.846 LG-VX10000: Parse entry 46 - Kim
11:07:27.846 LG-VX10000: Parse entry 47 - Tim
11:07:27.857 LG-VX10000: Parse entry 48 - Jetty
11:07:27.857 LG-VX10000: Parse entry 49 - Sherri
11:07:27.867 LG-VX10000: Parse entry 50 - facebook
11:07:27.867 LG-VX10000: Parse entry 51 - Theresa
11:07:27.877 LG-VX10000: Parse entry 52 - Michelle
11:07:27.877 LG-VX10000: Parse entry 53 - Bamboo
11:07:27.887 LG-VX10000: Parse entry 54 - Tacy
11:07:27.897 Exception: BitPim version: 1.0.7-official
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
File "gui.pyo", line 284, in run
File "gui.pyo", line 159, in __call__
File "gui.pyo", line 1906, in getdata
File "phones\com_lgvx8550.pyo", line 141, in getphonebook
File "phones\p_lgvx8550.pyo", line 607, in valid
IndexError: string index out of range

Variables by last 8 frames, innermost last

Frame run in gui.pyo at line 277
resultcb = <gui.Callback instance at 0x03022D00>
res = None
self = <WorkerThread(BitPim helper, started daemon)>
item = (<gui.Request instance at 0x031AA300>,
<gui.Callback instance at 0x03022D00>)
call = <gui.Request instance at 0x031AA300>
ex = IndexError('string index out of range',)
e = IndexError('string index out of range',)
first = 0

Frame __call__ in gui.pyo at line 159
self = <gui.Request instance at 0x031AA300>
args = ()
d = Keys []
{}
kwargs = Keys []
{}

Frame getdata in gui.pyo at line 1906
count = 1
i = (<bound method GetPhoneDialog.GetPhoneBookSetting
of <guiwidgets.GetPhoneDialog;
self = <WorkerThread(BitPim helper, started daemon)>
req = <guiwidgets.GetPhoneDialog; proxy of <Swig Object
of type 'wxDialog *' at 0x2b59
willcall = [(<bound method GetPhoneDialog.GetPhoneBookSetting
of <guiwidgets.GetPhoneDialog
results = Keys ['groups', 'ringtone-index', 'sync',
'uniqueserial', 'wallpaper-index']
{'sync': {'phonebook': 'MERGE'}, 'wallpaper-index':
{128: {'origin': 'images', '
sync = Keys ['phonebook']
{'phonebook': 'MERGE'}
st = 0
todo = [(<bound method WorkerThread.rebootcheck of
<WorkerThread(BitPim helper, started

Frame getphonebook in phones\com_lgvx8550.pyo at line 141
pbook = Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54]
{0: {'serials': [{'serial2': 4, 'serial1': 4,
'sourcetype': 'lgvx10000', 'source
_rt_ids = Keys []
{}
_wp_ids = Keys []
{}
_speeds = Keys [1000]
{1000: {6: 1}}
self = <phones.com_lgvx10000.Phone object at 0x0829BAD0>
_cnt = 55
pb_entry = <phones.p_lgvx8550.pbfileentry object at 0x0A9DE0D0>
pb_numbers = <phones.p_lgvx8550.pnfile object at 0x082F4030>
ring_pathf = <phones.p_lgvx8550.PathIndexFile object at 0x08290FF0>
result = Keys ['groups', 'ringtone-index', 'sync',
'uniqueserial', 'wallpaper-index']
{'sync': {'phonebook': 'MERGE'}, 'wallpaper-index':
{128: {'origin': 'images', '
picid_pathf = <phones.p_lgvx8550.PathIndexFile object at 0x0336ADB0>
pb_entries = <phones.p_lgvx8550.pbfile object at 0x09ACD490>
_ices = Keys [31, 41]
{41: 1, 31: 0}

Frame valid in phones\p_lgvx8550.pyo at line 607
self = <phones.p_lgvx8550.pbfileentry object at 0x0A9DE0D0>

Loading...