Discussion:
[Bitpim-devel] VX7000 users please test
Roger Binns
2004-09-18 06:42:20 UTC
Permalink
The VX7000 has a mode where it likes to return -1 as the number of
phonebook entries and similar garbage. It seems to do this once
incomplete phonebook reads happen (eg an exception in BitPim caused
a premature end to iterating entries). I have figured out a way
of being able to deal with -1 if needs be.

However it does seem that the phone is well behaved. Please do
the following:

- Reboot your phone (this makes the state normal)
- Get the phonebook repeatedly and feel free to do anything
in the filesystem view.

The idea is to see if it ever reverts to returning -1 for
the number of phonebook entries. I am hoping it won't.

BTW don't worry about the phone number types being wrong
or the wallpaper and ringtones picking up random names.

Roger
Mike Schiraldi
2004-09-19 01:15:01 UTC
Permalink
Post by Roger Binns
The idea is to see if it ever reverts to returning -1 for
the number of phonebook entries. I am hoping it won't.
I'm not sure what the pattern is, but sometimes i get the -1 and sometimes i
get the following. At the moment, i'm unable to get the -1 to happen. I'll
try to approach this scientifically and see if i can figure out if there's
any rhyme or reason to it.

Also, i haven't been able to "cvs up" today.. i get "[update aborted]: end
of file from server (consult above messages if any)" .. Does this happen
with SourceForge sometimes?


19:48:05.934 LG-VX4400: lg phonebook request Data - 10 bytes
<#! p_lg.pbreadentryrequest !#>
00000000 ff 13 03 01 00 00 00 00 00 00 ..........

19:48:06.038 LG-VX4400: lg phonebook response Data - 402 bytes
<#! p_lgvx4400.pbreadentryresponse !#>
00000000 ff 13 03 00 01 00 00 00 81 01 01 00 00 00 00 00 ................
00000010 4d 61 72 74 69 6e 00 00 00 00 00 00 00 00 00 00 Martin..........
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000080 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff 92 ................
00000090 00 01 03 00 00 00 39 31 37 xx xx xx xx xx xx xx ......917xxxxxxx
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000c0 00 00 00 00 00 00 00 32 31 32 xx xx xx xx xx xx .......212xxxxxx
000000d0 xx 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 x...............
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000190 90 01 ..

19:48:06.217 Exception: An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
File "/usr/src/bitpim/gui.py", line 150, in run
res=call()
File "/usr/src/bitpim/gui.py", line 90, in __call__
return apply(self.method, self.args+args, d)
File "/usr/src/bitpim/gui.py", line 1146, in getdata
i[1](results)
File "/usr/src/bitpim/com_lgvx4400.py", line 152, in getphonebook
res=self.sendpbcommand(req, self.protocolclass.pbreadentryresponse)
File "/usr/src/bitpim/com_lg.py", line 128, in sendpbcommand
res.readfrombuffer(buffer)
File "/usr/src/bitpim/p_lgvx4400.py", line 306, in readfrombuffer
self.__field_entry.readfrombuffer(buf)
File "/usr/src/bitpim/p_lgvx4400.py", line 722, in readfrombuffer
self.__field_entrysize.readfrombuffer(buf)
File "/tmp/bitpim/prototypes.py", line 193, 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 385 instead
Roger Binns
2004-09-19 01:45:05 UTC
Permalink
Post by Mike Schiraldi
Also, i haven't been able to "cvs up" today..
You need to pick up my updates otherwise you won't get very
far.
Post by Mike Schiraldi
i get "[update
aborted]: end
of file from server (consult above messages if any)" .. Does this happen
with SourceForge sometimes?
They do that to limit the load on the anonymous servers. You just
have to keep trying until it works.

Roger

Loading...