Discussion:
[BitPim-devel] vx5200 code committed
Simon C
2005-10-25 09:11:01 UTC
Permalink
Includes support for phonebook, SMS, calendar, memo, ringers, wallpaper and
call history.
I created a subclass for the lg new media index to handle this phone.

Simon
Joe Pham
2005-10-25 12:43:49 UTC
Permalink
Ran into this exception:

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\dad\My Documents\cell_apps\bitpim\gui.py", line 173, in run
res=call()
File "c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\gui.py", line 113, in __call__
return apply(self.method, self.args+args, d)
File "c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\gui.py", line 1659, in getdata
i[1](results)
File "c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_lgvx4400.py", line 137, in getsms
result['sms']=self._readsms()
File "c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_lgvx4400.py", line 143, in _readsms
for item in self.listfiles("sms").values():
AttributeError: Phone instance has no attribute 'listfiles'

Variables by last 8 frames, innermost last

Frame __bootstrap in c:\python23\lib\threading.py at line 436
self = <WorkerThread(BitPim helper, started daemon)>

Frame run in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\gui.py at line 166
e = <exceptions.AttributeError instance at 0x02B910A8>
res = None
self = <WorkerThread(BitPim helper, started daemon)>
item = (<gui.Request instance at 0x02E6CEE0>, <gui.Callback instance at 0x02B23260>)
call = <gui.Request instance at 0x02E6CEE0>
ex = <exceptions.AttributeError instance at 0x02B910A8>
resultcb = <gui.Callback instance at 0x02B23260>
first = 0

Frame __call__ in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\gui.py at line 113
self = <gui.Request instance at 0x02E6CEE0>
args = ()
d = Keys []
{}
kwargs = Keys []
{}

Frame getdata in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\gui.py at line 1659
count = 1
i = (<bound method GetPhoneDialog.GetSMSSetting of <guiwidgets.GetPhoneDialog; proxy
self = <WorkerThread(BitPim helper, started daemon)>
req = <guiwidgets.GetPhoneDialog; proxy of C++ wxDialog instance at _20faa901_p_wxDial
willcall = [(<bound method GetPhoneDialog.GetSMSSetting of <guiwidgets.GetPhoneDialog; prox
results = Keys ['canned_msg', 'groups', 'ringtone-index', 'sync', 'uniqueserial', 'wallpaper-index']
{'uniqueserial': '38e210645f6264ea68b617e077d4c8b1d85ef77a', 'sync': {'sms': 'OV
sync = Keys ['sms']
{'sms': 'OVERWRITE'}
st = 0
todo = [(<bound method WorkerThread.rebootcheck of <WorkerThread(BitPim helper, started

Frame getsms in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_lgvx4400.py at line 137
self = <com_lgvx5200.Phone instance at 0x028A1A58>
result = Keys ['canned_msg', 'groups', 'ringtone-index', 'sync', 'uniqueserial', 'wallpaper-index']
{'uniqueserial': '38e210645f6264ea68b617e077d4c8b1d85ef77a', 'sync': {'sms': 'OV

Frame _readsms in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_lgvx4400.py at line 143
res = Keys []
{}
self = <com_lgvx5200.Phone instance at 0x028A1A58>


-Joe Pham


______________________________________________________________________
Revolutionize the way you surf the Web!
Try NetZero HiSpeed 3G.
Visit http://www.netzero.com to sign up today!
Simon C
2005-10-25 13:24:45 UTC
Permalink
Post by Joe Pham
Documents\cell_apps\bitpim\com_lgvx4400.py", line 137, in getsms
result['sms']=self._readsms()
File "c:\Documents and Settings\dad\My
Documents\cell_apps\bitpim\com_lgvx4400.py", line 143, in _readsms
AttributeError: Phone instance has no attribute 'listfiles'
Were you using the PHONE_FS macro?
Joe Pham
2005-10-25 19:13:38 UTC
Permalink
Post by Simon C
Were you using the PHONE_FS macro?
Yes, I had PHONE_FS set.

-Joe Pham




______________________________________________________________________
Revolutionize the way you surf the Web!
Try NetZero HiSpeed 3G.
Visit http://www.netzero.com to sign up today!
Simon C
2005-10-25 19:23:48 UTC
Permalink
Post by Joe Pham
Post by Simon C
Were you using the PHONE_FS macro?
Yes, I had PHONE_FS set.
The DebugBrewProtocol class does not implement the
listfiles() method, this is the cause of the
expection. It should not affect a release build.
Joe Pham
2005-10-25 20:17:05 UTC
Permalink
The DebugBrewProtocol class does not implement the listfiles() method
Thanks, got it.

-Joe Pham



______________________________________________________________________
Revolutionize the way you surf the Web!
Try NetZero HiSpeed 3G.
Visit http://www.netzero.com to sign up today!

Loading...