Discussion:
[BitPim-devel] new brew filesystem
Joe Pham
2005-10-25 21:48:36 UTC
Permalink
This change caused the following exception for Samsun phones:

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 1632, in getdata
self.setupcomm()
File "c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\gui.py", line 1618, in setupcomm
self.commphone=self.dispatchto.phonemodule.Phone(self, comport)
File "c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_samsungscha310.py", line 70, in __init__
com_samsung.Phone.__init__(self, logtarget, commport)
File "c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_samsung.py", line 68, in __init__
com_brew.BrewProtocol.__init__(self)
File "c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_brew.py", line 917, in __init__
elif __debug__ and getattr(self.protocolclass, "BREW_FILE_SYSTEM", 0) == 2:
AttributeError: Phone instance has no attribute 'protocolclass'

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 0x0320B9E0>
res = None
self = <WorkerThread(BitPim helper, started daemon)>
item = (<gui.Request instance at 0x02695A58>, <gui.Callback instance at 0x0320BF08>)
call = <gui.Request instance at 0x02695A58>
ex = <exceptions.AttributeError instance at 0x0320B9E0>
resultcb = <gui.Callback instance at 0x0320BF08>
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 0x02695A58>
args = ()
d = Keys []
{}
kwargs = Keys []
{}

Frame getdata in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\gui.py at line 1632
self = <WorkerThread(BitPim helper, started daemon)>
req = <guiwidgets.GetPhoneDialog; proxy of C++ wxDialog instance at _3862c101_p_wxDial
todo = [(<bound method WorkerThread.rebootcheck of <WorkerThread(BitPim helper, started

Frame setupcomm in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\gui.py at line 1621
name = 'COM4'
self = <WorkerThread(BitPim helper, started daemon)>
comport = <commport.CommConnection instance at 0x0320B530>
autofunc = None
comcfg = Keys ['baud', 'hardwareflow', 'retryontimeout', 'softwareflow', 'timeout']
{'baud': 115200, 'hardwareflow': 0, 'softwareflow': 0, 'retryontimeout': 0, 'tim
klass = <class commport.CommConnection at 0x01D48EA0>

Frame __init__ in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_samsungscha310.py at line 70
logtarget = <WorkerThread(BitPim helper, started daemon)>
commport = <commport.CommConnection instance at 0x0320B530>
self = <com_samsungscha310.Phone instance at 0x0320B6C0>

Frame __init__ in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_samsung.py at line 68
logtarget = <WorkerThread(BitPim helper, started daemon)>
commport = <commport.CommConnection instance at 0x0320B530>
self = <com_samsungscha310.Phone instance at 0x0320B6C0>

Frame __init__ in c:\Documents and Settings\dad\My Documents\cell_apps\bitpim\com_brew.py at line 917
self = <com_samsungscha310.Phone instance at 0x0320B6C0>
phone_path = None



-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 23:05:04 UTC
Permalink
Post by Joe Pham
This change caused the following exception for
I've committed a fix.

Simon

Loading...