Discussion:
[BitPim-devel] exception in com_lglg6200
Joe Pham
2006-03-16 04:47:21 UTC
Permalink
Got this when I ran detect phone.

-Joe Pham

BitPim version: trunk-bitpim-developer build
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\Joe\My Documents\cell_apps\bitpim\src\gui.py", line 218, in run
res=call()
File "c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\gui.py", line 158, in __call__
return apply(self.method, self.args+args, d)
File "c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\gui.py", line 2044, in detectphone
return phone_detect.DetectPhone(self).detect(using_port)
File "c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\phone_detect.py", line 241, in detect
self)
File "c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\phones\com_lgvx4400.py", line 900, in detectphone
p.eval_detect_data(res[port])
File "c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\phones\com_lglg6200.py", line 84, in eval_detect_data
if found:
UnboundLocalError: local variable 'found' referenced before assignment

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\Joe\My Documents\cell_apps\bitpim\src\gui.py at line 211
e = <exceptions.UnboundLocalError instance at 0x025B1620>
res = None
self = <WorkerThread(BitPim helper, started daemon)>
item = (<gui.Request instance at 0x01ED9FD0>, <gui.Callback instance at 0x01DE2A08>)
call = <gui.Request instance at 0x01ED9FD0>
ex = <exceptions.UnboundLocalError instance at 0x025B1620>
resultcb = <gui.Callback instance at 0x01DE2A08>
first = 0

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

Frame detectphone in c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\gui.py at line 2044
delay = 0
self = <WorkerThread(BitPim helper, started daemon)>
using_port = None

Frame detect in c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\phone_detect.py at line 241
likely_ports = ['COM5']
e = 'COM4'
models = ['Audiovox CDM-8900', 'LG-C2000 (Cingular)', 'LG-G4015 (AT&T)', 'LG-LG6200 (Bell
using_port = None
coms = [{'available': True, 'driverdate': (2005, 5, 3), 'description': 'Conexant D480 M
found_port = None
using_model = None
q = 'Done on port: COM3'
threads = [<Thread(Thread-1, stopped daemon)>, <Thread(Thread-2, stopped daemon)>]
t = <Thread(Thread-2, stopped daemon)>
found_model = None
x = Keys ['active', 'available', 'class', 'description', 'driverdate', 'driverdescription', 'driverprovider', 'driverversion', 'hardwareinstance', 'name']
{'available': True, 'driverdate': (2004, 6, 11), 'description': 'RIM Virtual Ser
model = 'LG-LG6200 (Bell Mobility)'
available_coms = ['COM3', 'COM4', 'COM5', 'COM6']
self = <phone_detect.DetectPhone object at 0x01EBA030>
available_modem_coms = ['COM3', 'COM4']

Frame detectphone in c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\phones\com_lgvx4400.py at line 904
res = Keys ['COM3', 'COM4', 'COM5']
{'COM3': {'mode_modem': True, 'mode_brew': False, 'firmwareresponse': None, 'esn
coms = [{'available': True, 'driverdate': (2005, 5, 3), 'description': 'Conexant D480 M
p = <phones.com_lglg6200.Phone instance at 0x029C4C38>
likely_ports = ['COM5']
_log = <phone_detect.DetectPhone object at 0x01EBA030>
port = 'COM5'

Frame eval_detect_data in c:\Documents and Settings\Joe\My Documents\cell_apps\bitpim\src\phones\com_lglg6200.py at line 84
res = Keys ['LG6200_version_data', 'esn', 'esn_file', 'firmware_version', 'firmwareresponse', 'lgpbinfo', 'manufacturer', 'mode_brew', 'mode_modem', 'model']
{'mode_modem': None, 'LG6200_version_data': None, 'esn_file': None, 'lgpbinfo':
self = <phones.com_lglg6200.Phone instance at 0x029C4C38>



_____________________________________________________________________
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

Loading...