From: bitpim-devel-***@lists.sourceforge.net
[mailto:bitpim-devel-***@lists.sourceforge.net] On Behalf Of Simon C
Sent: Monday, April 03, 2006 5:41 PM
To: bitpim-***@lists.sourceforge.net
Subject: Re: [BitPim-devel] LG PM-325 & MM-535
Adding ringtone or wallpaper data caused exceptions and
did not complete.
Can you post the exceptions.
Simon
________________________________
HERE'S THE EXCEPTION WINDOW CONTENTS WHEN TRYING TO UPLOAD A NEW RINGER:
BitPim version: 0.8.10-official
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\gui.py", line 270, in run
res=call()
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\gui.py", line 147, in __call__
return apply(self.method, self.args+args, d)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\gui.py", line 1753, in senddata
apply(func, args)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\gui.py", line 1765, in writeringtone
return self.commphone.saveringtones(data, merge)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\phones\com_lgpm325.py", line 621, in
saveringtones
return self.savemedia('ringtone', 'ringtone-index', results, merge,
self.getringtoneindices)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\phones\com_lgpm325.py", line 925, in
savemedia
ifile.writetobuffer(buffer)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\phones\p_lgpm325.py", line 2856, in
writetobuffer
self.__field_items.writetobuffer(buf)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\prototypes.py", line 1118, in writetobuffer
self._ensurelength()
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\prototypes.py", line 1198, in _ensurelength
raise ValueLengthException(len(self), self._length)
ValueLengthException: The value (length 100) is the wrong size for space
30
Variables by last 8 frames, innermost last
Frame __call__ in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\gui.py at line 147
self = <gui.Request instance at 0x049B6508>
args = ()
d = Keys []
{}
kwargs = Keys []
{}
Frame senddata in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\gui.py at line 1753
count = 0
self = <WorkerThread(BitPim helper, started daemon)>
args = [{'wallpaper-index': {1: {'origin': 'builtin',
'name': 'Starfish'}, 2: {'origin'
xx = (<bound method WorkerThread.writeringtone of
<WorkerThread(BitPim helper, starte
dict = Keys ['groups', 'ringtone', 'ringtone-index',
'uniqueserial', 'wallpaper-index']
{'wallpaper-index': {1: {'origin': 'builtin', 'name':
'Starfish'}, 2: {'origin':
func = <bound method WorkerThread.writeringtone of
<WorkerThread(BitPim helper, started
todo = [(<bound method WorkerThread.writeringtone of
<WorkerThread(BitPim helper, start
desc = 'Ringtone'
Frame writeringtone in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\gui.py at line 1765
merge = True
self = <WorkerThread(BitPim helper, started daemon)>
data = Keys ['groups', 'ringtone', 'ringtone-index',
'uniqueserial', 'wallpaper-index']
{'wallpaper-index': {1: {'origin': 'builtin', 'name':
'Starfish'}, 2: {'origin':
Frame saveringtones in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\phones\com_lgpm325.py
at line 621
merge = True
self = <phones.com_lgpm325.Phone instance at 0x04C349B8>
results = Keys ['groups', 'ringtone', 'ringtone-index',
'uniqueserial', 'wallpaper-index']
{'wallpaper-index': {1: {'origin': 'builtin', 'name':
'Starfish'}, 2: {'origin':
Frame savemedia in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\phones\com_lgpm325.py
at line 925
content_changed = False
countfile = <phones.p_lgpm325.content_count object at 0x04CDEBD0>
sp = 0
results = Keys ['groups', 'ringtone', 'ringtone-index',
'uniqueserial', 'wallpaper-index']
{'wallpaper-index': {1: {'origin': 'builtin', 'name':
'Starfish'}, 2: {'origin':
data =
'\xff\xf3@\xc0\x00\x0e\x88b\x1b\x8e\x18\xc6HEf\xa3!5-S\x10\x1d\x84<(\xa2
\xc2+\x8
size = 121968
index = 9
ifile = <phones.p_lgpm325.indexfile object at 0x04C070B0>
index_const = 2
media = Keys []
{}
self = <phones.com_lgpm325.Phone instance at 0x04C349B8>
content = Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14]
{0: {'C': <phones.p_lgpm325.content_entry object at
0x049C0A30>, 'E': <phones.p_
buffer = <prototypes.buffer instance at 0x04CD2300>
init = Keys [0, 1, 2, 3, 4, 9]
{0: {'data':
'\xff\xf3@\xc0\x00\x0e\x08\x8a\x14HzLM$\x10\x1d\xa0@/\xa4,\xebH\x1d
type = 'ringers'
cfile = <phones.p_lgpm325.content_file object at 0x04C3A1B0>
content_count = 13
keys = [0, 1, 2, 3, 4, 9]
mediakey = 'ringtone'
applications = Keys []
{}
content_type = 'Ringers'
size_fix = 121968
dirlisting = Keys ['$SYS.FACTORY', '$SYS_RMT', '$USER_DIRS', '00',
'00.dat', '00.gcd', '00.url', '01', '01.dat', '01.gcd', '01.url', '02',
'02.dat', '02.gcd', '02.url', '03', '03.dat', '03.gcd', '03.url', '04',
'04.dat', '04.gcd', '04.url', '06', '06.ico', '06.jad', '06.oma',
'06.url', '06_1.ico', '07', '07.ico', '07.jad', '07.oma', '07.url',
'07_1.ico', '08', '08.jad', '08.oma', '08.url', '12', '12.dat',
'12.gcd', '12.url', '13', '13.dat', '13.gcd', '13.url', '14', '14.dat',
'14.gcd', '14.url', 'CLK_DB', 'Dcam', 'LG.cfg', 'OWS', 'VoiceDB',
'alarm', 'ams', 'contentInfo', 'contentchanged', 'realContent',
'runCount', 'version.txt']
{'07.jad': {'date': (0, ''), 'type': 'file', 'name':
'ams/07.jad', 'size': 650},
reindexfunction = <bound method Phone.getringtoneindices of
<phones.com_lgpm325.Phone instance at
buf = <prototypes.buffer instance at 0x049ED8A0>
name = 'country.mid'
g = <phones.p_lgpm325.content_file object at 0x03D5D2D0>
i = 'ams/VoiceDB'
k = 99
max_media_entries = 100
mediaindexkey = 'ringtone-index'
merge = True
w = 1
indexfile = 'setas/amsRingerIndex.map'
entry = <phones.p_lgpm325.indexentry object at 0x04CE6CD0>
Frame writetobuffer in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\phones\p_lgpm325.py
at line 2856
self = <phones.p_lgpm325.indexfile object at 0x04C070B0>
buf = <prototypes.buffer instance at 0x04CD2300>
Frame writetobuffer in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\prototypes.py at line
1118
self = <prototypes.LIST object at 0x04C3C370>
buf = <prototypes.buffer instance at 0x04CD2300>
Frame _ensurelength in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\prototypes.py at line
1198
self = <prototypes.LIST object at 0x04C3C370>
AND HERE'S THE EXCEPTION WHEN UPLOADING A NEW WALLPAPER:
BitPim version: 0.8.10-official
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\gui.py", line 270, in run
res=call()
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\gui.py", line 147, in __call__
return apply(self.method, self.args+args, d)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\gui.py", line 1753, in senddata
apply(func, args)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\gui.py", line 1760, in writewallpaper
return self.commphone.savewallpapers(data, merge)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\phones\com_lgpm325.py", line 618, in
savewallpapers
return self.savemedia('wallpapers', 'wallpaper-index', results,
merge, self.getwallpaperindices)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\phones\com_lgpm325.py", line 925, in
savemedia
ifile.writetobuffer(buffer)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\phones\p_lgpm325.py", line 2856, in
writetobuffer
self.__field_items.writetobuffer(buf)
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\prototypes.py", line 1118, in writetobuffer
self._ensurelength()
File "C:\Documents and Settings\A0321703\My Documents\bitpim\bitpim
source\releases\0.8.10\src\prototypes.py", line 1198, in _ensurelength
raise ValueLengthException(len(self), self._length)
ValueLengthException: The value (length 100) is the wrong size for space
30
Variables by last 8 frames, innermost last
Frame __call__ in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\gui.py at line 147
self = <gui.Request instance at 0x04D66738>
args = ()
d = Keys []
{}
kwargs = Keys []
{}
Frame senddata in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\gui.py at line 1753
count = 0
self = <WorkerThread(BitPim helper, started daemon)>
args = [{'wallpaper-index': {1: {'origin': 'builtin',
'name': 'Starfish'}, 2: {'origin'
xx = (<bound method WorkerThread.writewallpaper of
<WorkerThread(BitPim helper, start
dict = Keys ['groups', 'ringtone-index', 'uniqueserial',
'wallpaper-index', 'wallpapers']
{'wallpaper-index': {1: {'origin': 'builtin', 'name':
'Starfish'}, 2: {'origin':
func = <bound method WorkerThread.writewallpaper of
<WorkerThread(BitPim helper, starte
todo = [(<bound method WorkerThread.writewallpaper of
<WorkerThread(BitPim helper, star
desc = 'Wallpaper'
Frame writewallpaper in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\gui.py at line 1760
merge = True
self = <WorkerThread(BitPim helper, started daemon)>
data = Keys ['groups', 'ringtone-index', 'uniqueserial',
'wallpaper-index', 'wallpapers']
{'wallpaper-index': {1: {'origin': 'builtin', 'name':
'Starfish'}, 2: {'origin':
Frame savewallpapers in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\phones\com_lgpm325.py
at line 618
merge = True
self = <phones.com_lgpm325.Phone instance at 0x049B66C0>
results = Keys ['groups', 'ringtone-index', 'uniqueserial',
'wallpaper-index', 'wallpapers']
{'wallpaper-index': {1: {'origin': 'builtin', 'name':
'Starfish'}, 2: {'origin':
Frame savemedia in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\phones\com_lgpm325.py
at line 925
content_changed = True
countfile = <phones.p_lgpm325.content_count object at 0x04D7AEF0>
sp = 11
content_count = 14
data = None
size = 7056
index = 14
ifile = <phones.p_lgpm325.indexfile object at 0x04CFD2D0>
index_const = 3
media = Keys []
{}
self = <phones.com_lgpm325.Phone instance at 0x049B66C0>
add_to_index = 'index'
content = Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14]
{0: {'C': <phones.p_lgpm325.content_entry object at
0x048D15B0>, 'E': <phones.p_
buffer = <prototypes.buffer instance at 0x04D6EB48>
init = Keys [5, 10, 12, 13, 14]
{10: {'origin': u'images', 'data':
'BM>\xbb\x00\x00\x00\x00\x00\x006\x00\x00\x00
type = 'images'
cfile = <phones.p_lgpm325.content_file object at 0x047CC230>
C = <phones.p_lgpm325.content_entry object at 0x04D7A9B0>
E = <phones.p_lgpm325.content_entry object at 0x04D7A9D0>
keys = [5, 10, 12, 13, 14]
mediakey = 'wallpapers'
results = Keys ['groups', 'ringtone-index', 'uniqueserial',
'wallpaper-index', 'wallpapers']
{'wallpaper-index': {1: {'origin': 'builtin', 'name':
'Starfish'}, 2: {'origin':
applications = Keys []
{}
content_type = 'Screen Savers'
dirlisting = Keys ['$SYS.FACTORY', '$SYS_RMT', '$USER_DIRS', '00',
'00.dat', '00.gcd', '00.url', '01', '01.dat', '01.gcd', '01.url', '02',
'02.dat', '02.gcd', '02.url', '03', '03.dat', '03.gcd', '03.url', '04',
'04.dat', '04.gcd', '04.url', '06', '06.ico', '06.jad', '06.oma',
'06.url', '06_1.ico', '07', '07.ico', '07.jad', '07.oma', '07.url',
'07_1.ico', '08', '08.jad', '08.oma', '08.url', '12', '12.dat',
'12.gcd', '12.url', '13', '13.dat', '13.gcd', '13.url', '14', '14.dat',
'14.gcd', '14.url', 'CLK_DB', 'Dcam', 'LG.cfg', 'OWS', 'VoiceDB',
'alarm', 'ams', 'contentInfo', 'contentchanged', 'realContent',
'runCount', 'version.txt']
{'07.jad': {'date': (0, ''), 'type': 'file', 'name':
'ams/07.jad', 'size': 650},
reindexfunction = <bound method Phone.getwallpaperindices of
<phones.com_lgpm325.Phone instance at
buf = <prototypes.buffer instance at 0x04CFE648>
name = 'Home.jpg'
g = <phones.p_lgpm325.content_file object at 0x04762A70>
i = 'ams/VoiceDB'
k = 99
max_media_entries = 100
mediaindexkey = 'wallpaper-index'
merge = True
w = 0
indexfile = 'setas/amsImageIndex.map'
entry = <phones.p_lgpm325.indexentry object at 0x04D858F0>
Frame writetobuffer in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\phones\p_lgpm325.py
at line 2856
self = <phones.p_lgpm325.indexfile object at 0x04CFD2D0>
buf = <prototypes.buffer instance at 0x04D6EB48>
Frame writetobuffer in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\prototypes.py at line
1118
self = <prototypes.LIST object at 0x04D7AF50>
buf = <prototypes.buffer instance at 0x04D6EB48>
Frame _ensurelength in C:\Documents and Settings\A0321703\My
Documents\bitpim\bitpim source\releases\0.8.10\src\prototypes.py at line
1198
self = <prototypes.LIST object at 0x04D7AF50>