Re: PM-8200: retrieving pictures and other features

Neal Norwitz <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
On Wed, May 11, 2005 at 11:51:57PM -0400, Stephen Wood wrote:
> I replied to this last week, but sourceforge was rejecting email from
> Gmail, and I never got around to replying from a different address.

I had the same problem when trying to register for this list.

> BitPim will retrieve the camera pictures from the PM-8200.  Just
> retrieve the wallpaper, the camera pictures will come with the
> wallpaper.

Ah.  Excellent the pictures downloaded fine, although it was quite
slow.  Is that because the phone is slow or could there have been
another problem?

It seemed like the numbers at the bottom (receiving X/Y) weren't
correct.  The second number was often 0 or some other non-apparent
#.  I didn't look at the source to see what it was supposed to
be displaying.  If I get a chance I'll try to look at it.

> What features would you like to add?

Well, you all have done such a good job, I don't think there are any. :-)

Downloading pictures and the address book are the biggest.  Uploading
the address book would probably be nice too.  I haven't tried that yet.

I suppose the biggest feature would be more doc.  Maybe I'll try to do
some.  My biggest problem was with getting USB setup.  This was on a
gentoo system.  Also, it was some work to get all the dependencies
installed.

None were that big of a deal, they just could have been easier.
I will probably get bitpim going on a different box, probably gentoo.
I'll try to keep some notes.

> Feel free to browse the BitPim source code (See
> http://www.bitpim.org/developer.html).  The protocol is essentially
> documented by the files p_sanyo.p, p_sanyonewer.p, p_sanyomedia.p and
> p_sanyo8200.p.

Yup, I looked at some of the code already.  It looked like it was in
pretty good shape.  There were a few changes I made.  I had to comment
out EPYDOC in c.sh for it to work.  Also the comment in p_sanyo8200.p
refers to the Sanyo SCP-5500, rather than the PM-8200.

I ran pychecker on some of the files and found a few potential problems:

com_lgtm520.py:402: Variable (dummy) used before being set
com_lgtm520.py:484: Object (index) has no attribute (append)
com_lgtm520.py:495: Function returns a value and also implicitly returns None
com_lgtm520.py:649: No global (speedial) found

comscan.py:56: Imported module (time) not used

database.py:13: Imported module (copy) not used
database.py:54: Passing a constant string to getattr, consider direct reference
database.py:60: Passing a constant string to getattr, consider direct reference
database.py:284: Passing a constant string to getattr, consider direct reference
database.py:284: Passing a constant string to setattr, consider direct reference
database.py:818: Module (time) re-imported
database.py:819: Module (os) re-imported
database.py:848: No global (phonebook) found

Cheers,
Neal


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.