Discussion:
[BitPim-devel] Re: [bitpim-cvs-checkins] bitpim com_samsung_packet.py,1.3,1.4
Todd Imboden
2005-01-13 05:29:31 UTC
Permalink
After the most recent cvs update I'm getting this error

Traceback (most recent call last):
File "D:\bitpim\bitpim\gui.py", line 152, in run
res=call()
File "D:\bitpim\bitpim\gui.py", line 92, in __call__
return apply(self.method, self.args+args, d)
File "D:\bitpim\bitpim\gui.py", line 1148, in getdata
results=self.getfundamentals()
File "D:\bitpim\bitpim\gui.py", line 1142, in getfundamentals
self.commphone.getfundamentals(results)
File "D:\bitpim\bitpim\com_samsungspha620.py", line 64, in getfundamentals
results['uniqueserial']=sha.new(self.get_esn()).hexdigest()
File "D:\bitpim\bitpim\com_samsung_packet.py", line 184, in get_esn
res=self.sendpbcommand(req, self.protocolclass.esnresponse)
File "D:\bitpim\bitpim\com_samsung_packet.py", line 164, in sendpbcommand
response_lines=self.comm.sendatcommand(data, ignoreerror=ignoreerror)
TypeError: sendatcommand() got an unexpected keyword argument 'ignoreerror'

Variables by last 8 frames, innermost last

Frame __bootstrap in D:\Python24\lib\threading.py at line 442
self = <WorkerThread(BitPim helper, started daemon)>

Frame run in D:\bitpim\bitpim\gui.py at line 145
e = <exceptions.TypeError instance at 0x01E47B20>
res = None
self = <WorkerThread(BitPim helper, started daemon)>
item = (<gui.Request instance at 0x01E45C38>,
<gui.Callback instance at 0x01E45878>)
call = <gui.Request instance at 0x01E45C38>
ex = <exceptions.TypeError instance at 0x01E47B20>
resultcb = <gui.Callback instance at 0x01E45878>
first = 0

Frame __call__ in D:\bitpim\bitpim\gui.py at line 92
self = <gui.Request instance at 0x01E45C38>
args = ()
d = Keys []
{}
kwargs = Keys []
{}

Frame getdata in D:\bitpim\bitpim\gui.py at line 1148
self = <WorkerThread(BitPim helper, started daemon)>
req = <guiwidgets.GetPhoneDialog; proxy of C++ wxDialog
instance at _18babd01_p_wxDial
todo = [(<bound method WorkerThread.rebootcheck of
<WorkerThread(BitPim helper, started

Frame getfundamentals in D:\bitpim\bitpim\gui.py at line 1142
self = <WorkerThread(BitPim helper, started daemon)>
results = Keys []
{}

Frame getfundamentals in D:\bitpim\bitpim\com_samsungspha620.py at line 64
self = <com_samsungspha620.Phone instance at 0x01E46490>
results = Keys []
{}

Frame get_esn in D:\bitpim\bitpim\com_samsung_packet.py at line 184
self = <com_samsungspha620.Phone instance at 0x01E46490>
req = <p_samsungspha620.esnrequest object at 0x01E4A0F0>

Frame sendpbcommand in D:\bitpim\bitpim\com_samsung_packet.py at line 168
responseclass = <class 'p_samsungspha620.esnresponse'>
buffer = <prototypes.buffer instance at 0x01E46760>
self = <com_samsungspha620.Phone instance at 0x01E46490>
request = <p_samsungspha620.esnrequest object at 0x01E4A0F0>
ignoreerror = False
data = '+GSN'
Stephen Wood
2005-01-13 06:12:36 UTC
Permalink
Post by Todd Imboden
After the most recent cvs update I'm getting this error
...
File "D:\bitpim\bitpim\com_samsung_packet.py", line 164, in sendpbcommand
response_lines=self.comm.sendatcommand(data, ignoreerror=ignoreerror)
TypeError: sendatcommand() got an unexpected keyword argument 'ignoreerror'
I forgot to check an update to commport.py that adds the optional
ignoreerror argument to sendatcommand. I just checked it in.

Stephen

Loading...