|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Mistake in call history on LG DareHi,
Experimenting around, I figured out I need the following patch to get LG-Dare call history to download properly (Yes, 25 is an odd number, but the even 24 does not work as I can also see from the protocol log). I don't like testing by sending things to the phone, so I have no idea if it fixes that as well. Also I see that I can get back to a historical state in the call history: can I delete all the broken stuff that got into my database when I was testing all this, and how should I go about doing it? And what happened to generating the mac app? Can someone give me instructions for doing it: I tried running python2.5 buildrelease/makedist.py and changed the expected versions to what I have installed (bitpim does run without the packaging, so the new versions are probably fine) to make it compile; but when I open it all I get is something about import site or zipimporter or zlib not available. Do I need some flags or something to python2.5 when running it on makedist.py? Incidentally, in cli mode the bitpim app (last version that I downloaded: as I said I do not yet know how to build it; heck, I don't even know python) does two annoying things: it deletes leading / from local file names (even multiple ones), so that there is no way to give absolute paths, and the relative paths are relative to the application resource directory, which is quite annoying. Currently I get around it by a few ../../ etc., but this is truly annoying. So, when some helpful soul tells me how to make apps, they may be able to tell me how to fix that as well? Probably some change in how __boot__.py is Resources works? Thanks a lot, as usual, for a wonderful product. Tanmoy dhcp100:phones tanmoy$ svn diff Index: p_lgvx9700.p =================================================================== --- p_lgvx9700.p (revision 4759) +++ p_lgvx9700.p (working copy) @@ -54,7 +54,7 @@ 1 UINT pbnumbertype # 1=cell, 2=home, 3=office, 4=cell2, 5=fax, 6=vmail, 0xFF=not in phone book 4 UINT unk1 # always seems to be 0 4 UINT pbentrynum #entry number in phonebook - 24 DATA unk2 + 25 DATA unk2 # same as the VX-8560 without the unknown entry at the beginning of the file PACKET callhistory: Index: p_lgvx9700.py =================================================================== --- p_lgvx9700.py (revision 4759) +++ p_lgvx9700.py (working copy) @@ -2,6 +2,8 @@ """Various descriptions of data specific to LG VX9700""" +import pdb + # groups - same as VX-8700 # phonebook - LG Phonebook v1.0 (same as VX-8550) # schedule - same as VX-8550 @@ -365,11 +367,10 @@ self.__field_unk1.readfrombuffer(buf) self.__field_pbentrynum=UINT(**{'sizeinbytes': 4}) self.__field_pbentrynum.readfrombuffer(buf) - self.__field_unk2=DATA(**{'sizeinbytes': 24}) + self.__field_unk2=DATA(**{'sizeinbytes': 25}) self.__field_unk2.readfrombuffer(buf) self._bufferendoffset=buf.getcurrentoffset() - def __getfield_GPStime(self): return self.__field_GPStime.getvalue() @@ -507,7 +508,7 @@ if isinstance(value,DATA): self.__field_unk2=value else: - self.__field_unk2=DATA(value,**{'sizeinbytes': 24}) + self.__field_unk2=DATA(value,**{'sizeinbytes': 25}) def __delfield_unk2(self): del self.__field_unk2 -- http://tanmoy.tripod.com/ gpg key: http://tanmoy.tripod.com/tanmoy.asc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ BitPim-user mailing list BitPim-user@... Unsubscribe or change options at https://lists.sourceforge.net/lists/listinfo/bitpim-user There are several hundred people on this list. Please be courteous, on topic and follow the instructions before posting http://www.bitpim.org/help/support.htm |
| Free embeddable forum powered by Nabble | Forum Help |