From: George G. <gg...@ve...> - 2004-02-13 13:51:30
|
OK i selected the 4500 and received this error when trying to get phone book data An unexpected exception has occurred. Please see the help for details on what to do. Traceback (most recent call last): File "C:\Projects\Bitpim\bitpim\gui.py", line 150, in run res=call() File "C:\Projects\Bitpim\bitpim\gui.py", line 91, in __call__ return apply(self.method, self.args+args, d) File "C:\Projects\Bitpim\bitpim\gui.py", line 1061, in getdata i[1](results) File "C:\Projects\Bitpim\bitpim\com_lgvx4400.py", line 163, in getphonebook res=self.sendpbcommand(req, self.protocolclass.pbreadentryresponse) File "C:\Projects\Bitpim\bitpim\com_lg.py", line 125, in sendpbcommand res.readfrombuffer(buffer) File "C:\Projects\Bitpim\bitpim\p_lgvx4400.py", line 67, in readfrombuffer self.__field_entry.readfrombuffer(buf) File "C:\Projects\Bitpim\bitpim\p_lgvx4400.py", line 471, in readfrombuffer self.__field_entrysize.readfrombuffer(buf) File "C:\Projects\Bitpim\bitpim\prototypes.py", line 186, in readfrombuffer raise ValueError("The value read should be a constant of %d, but was %d instead" % (self._constant, self._value)) ValueError: The value read should be a constant of 514, but was 546 instead Variables by last 8 frames, innermost last Frame run in C:\Projects\Bitpim\bitpim\gui.py at line 143 e = <prototypes.ValueError instance at 0x01B2B2B0> res = None self = <WorkerThread(BitPim helper, started daemon)> item = (<gui.Request instance at 0x019B2C38>, <gui.Callback instanc call = <gui.Request instance at 0x019B2C38> ex = <prototypes.ValueError instance at 0x01B2B2B0> resultcb = <gui.Callback instance at 0x019B2AF8> first = 0 Frame __call__ in C:\Projects\Bitpim\bitpim\gui.py at line 91 self = <gui.Request instance at 0x019B2C38> args = () d = {} kwargs = {} Frame getdata in C:\Projects\Bitpim\bitpim\gui.py at line 1061 count = 1 i = (<bound method GetPhoneDialog.GetPhoneBookSetting of <guiwid self = <WorkerThread(BitPim helper, started daemon)> req = <guiwidgets.GetPhoneDialog instance; proxy of C++ wxDialog i willcall = [(<bound method GetPhoneDialog.GetPhoneBookSetting of <guiwi results = {'sync': {'phonebook': 'OVERWRITE'}, 'wallpaper-index': {1: sync = {'phonebook': 'OVERWRITE'} st = 0 Frame getphonebook in C:\Projects\Bitpim\bitpim\com_lgvx4400.py at line 163 pbook = {} i = 0 res = <p_lg.pbinforesponse object at 0x01B0D0F0> numentries = 46 req = <p_lg.pbreadentryrequest object at 0x01B0D310> result = {'sync': {'phonebook': 'OVERWRITE'}, 'wallpaper-index': {1: self = <com_lgvx4500.Phone instance at 0x01AEED78> Frame sendpbcommand in C:\Projects\Bitpim\bitpim\com_lg.py at line 125 origdata = '\xff\x13\x02\xf0\x01\x00\x00\x00"\x02\x01\x00\x00\x00\x00\x d = 0 responseclass = <class 'p_lgvx4400.pbreadentryresponse'> buffer = <prototypes.buffer instance at 0x01B19AF8> res = <p_lgvx4400.pbreadentryresponse object at 0x01B0D270> callsetmode = True firsttwo = '\xff\x13' request = <p_lg.pbreadentryrequest object at 0x01B0D310> crc = '\xdb\xc1' data = '\xff\x13\x02\xf0\x01\x00\x00\x00"\x02\x01\x00\x00\x00\x00\x self = <com_lgvx4500.Phone instance at 0x01AEED78> Frame readfrombuffer in C:\Projects\Bitpim\bitpim\p_lgvx4400.py at line 67 buf = <prototypes.buffer instance at 0x01B19AF8> self = <p_lgvx4400.pbreadentryresponse object at 0x01B0D270> dict = {} Frame readfrombuffer in C:\Projects\Bitpim\bitpim\p_lgvx4400.py at line 471 buf = <prototypes.buffer instance at 0x01B19AF8> self = <p_lgvx4400.pbentry object at 0x01B0D670> dict = {'sizeinbytes': 2, 'constant': 514} Frame readfrombuffer in C:\Projects\Bitpim\bitpim\prototypes.py at line 186 shift = 16 self = <prototypes.UINTlsb object at 0x01B0D710> dummy = 1 buf = <prototypes.buffer instance at 0x01B19AF8> res = 546 -----Original Message----- From: bit...@li... [mailto:bit...@li...]On Behalf Of Roger Binns Sent: Friday, February 13, 2004 12:14 AM To: bit...@li... Subject: Re: [Bitpim-devel] Re: [vx4400support] New vx4500 yahoo forum http://groups.yahoo.com/group/LGVX4500/ > I tried retrieving Phone book datausing the 6000 setting and received this > exception. > buf=prototypes.buffer(self.getfilecontents("cam/pics.dat")) > BrewNoSuchFileException: No such file The 4500 doesn't have a camera (the 6000 does). You need to do a CVS update and pick the 4500. Roger ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Bitpim-devel mailing list Bit...@li... https://lists.sourceforge.net/lists/listinfo/bitpim-devel |