Discussion:
[BitPim-devel] Fw: _max_id_index=999 in sms.py
Jim Turtora
2009-07-04 22:23:48 UTC
Permalink
can someone make me a test build where

_max_id_index=8000

in file sms.py?

thank you for your time,
Jim



----- Original Message -----
From: Jim Turtora
To: bitpim-***@lists.sourceforge.net
Sent: Sunday, May 24, 2009 7:50 PM
Subject: Fw: _max_id_index=999 in sms.py



----- Original Message -----
From: Jim Turtora
To: bitpim-***@lists.sourceforge.net
Sent: Tuesday, November 04, 2008 3:35 PM
Subject: _max_id_index=999 in sms.py



for Joe Pham??

This is my first posting. I'm not sure this doesn't belong in the developer group. Please inform me.

I am working with a verizon razr v3m with nearly 3,000 sms messages total in the inbox and outbox.

I have been trying to use bitpim to archive the text messages. I'm not able to do very much. The best I seem to be able to do is to go to the folders in /brew/mod/syncom2/msging/d,i,o and save the .att and .env files from there to my drive one at a time.

At this point, I haven't looked through much code and I haven't looked to see if there is code to interpret these files, but that's something I hope to do soon. For starters, I was trying to figure out why I can't collect messages to the bitpim program or save groups or zip sets to the drive, as the bitpim program interface implies I should be able to do.

So, I was looking through code and particularly sms.py. In "class SMSEntry(object):", I found the following of interest:

_id_index=0
_max_id_index=999

I immediately wondered if I didn't need something more like 9,999? Or, at least 3,000.

A little further down in the code I found this:

if SMSEntry._id_index<SMSEntry._max_id_index:
SMSEntry._id_index+=1
else:
SMSEntry._id_index=0

Am I way off base here, or... shouldn't this "else:" throw an error or warning and handle this overflow in another way?


As an aside, the phone is about 95% full. Performance of this phone suffers as the messages add up. It doesn't take many messages for this phone to show performance problems, but once it gets to about 80% plus, it becomes extremely tedious to use. Other bugs crop up, but this is for another posting.

Thank you for your time,
Jim
Sean Patrick Burke
2009-07-04 23:04:56 UTC
Permalink
Jim,
Bitpim works on three different platforms. Which one are you
operating on? You're best bet is to go to the developer page and "roll
your own."

--
Sean Patrick Burke
Post by Jim Turtora
can someone make me a test build where
_max_id_index=8000
in file sms.py?
thank you for your time,
Jim
----- Original Message -----
From: Jim Turtora
Sent: Sunday, May 24, 2009 7:50 PM
Subject: Fw: _max_id_index=999 in sms.py
----- Original Message -----
From: Jim Turtora
Sent: Tuesday, November 04, 2008 3:35 PM
Subject: _max_id_index=999 in sms.py
for Joe Pham??
This is my first posting. I'm not sure this doesn't belong in the
developer group. Please inform me.
I am working with a verizon razr v3m with nearly 3,000 sms messages
total in the inbox and outbox.
I have been trying to use bitpim to archive the text messages. I'm
not able to do very much. The best I seem to be able to do is to go
to the folders in /brew/mod/syncom2/msging/d,i,o and save the .att
and .env files from there to my drive one at a time.
At this point, I haven't looked through much code and I haven't
looked to see if there is code to interpret these files, but that's
something I hope to do soon. For starters, I was trying to figure
out why I can't collect messages to the bitpim program or save
groups or zip sets to the drive, as the bitpim program interface
implies I should be able to do.
So, I was looking through code and particularly sms.py. In "class
_id_index=0
_max_id_index=999
I immediately wondered if I didn't need something more like 9,999?
Or, at least 3,000.
SMSEntry._id_index+=1
SMSEntry._id_index=0
Am I way off base here, or... shouldn't this "else:" throw an
error or warning and handle this overflow in another way?
As an aside, the phone is about 95% full. Performance of this phone
suffers as the messages add up. It doesn't take many messages for
this phone to show performance problems, but once it gets to about
80% plus, it becomes extremely tedious to use. Other bugs crop up,
but this is for another posting.
Thank you for your time,
Jim
---
---
---
---------------------------------------------------------------------
_______________________________________________
BitPim-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Jim Turtora
2009-07-05 00:22:50 UTC
Permalink
Thanks. I figure I'll have to do that, but I've spent so much time testing and etc that I was trying to take a shortcut. It would be the fastest way to a real answer.

I'm using a Verizon v3m (which comes up as a v3c in phone info and a v3m in the status bar in bitpim 1.0.7.20081215 - Test) on wxpp.

There are about 350 messages in the inbox and 360 in the outbox. I think I succeded at clearing out all the pix from the phone (there were only a few) and I've gone through all the "i" and "o" folders and their sub folders and cleared the two .txt and three .jpg files I found in there, too. I'm able to look at wallpapers and I can get my address list, but when getting SMS bitpim just goes busy for a few moments and then craps out back to "ready" without any indication of anything at all.

Clearly, I'm not happy with those few lines of code in that sms.py file that I've mentioned before. That code should throw an error message when it hits 999 and then exit the routine. There's no comment anywhere about the arbitrary choice of 999, but I can make a few guesses, none of which leave me with a warm fuzzy.

take care,
Jim



----- Original Message -----
From: Sean Patrick Burke
To: bitpim-***@lists.sourceforge.net
Sent: Saturday, July 04, 2009 7:04 PM
Subject: Re: [BitPim-devel] Fw: _max_id_index=999 in sms.py


Jim,
Bitpim works on three different platforms. Which one are you operating on? You're best bet is to go to the developer page and "roll your own."
--
Sean Patrick Burke



On Jul 4, 2009, at 6:23 PM, "Jim Turtora" <***@msn.com> wrote:




can someone make me a test build where

_max_id_index=8000

in file sms.py?

thank you for your time,
Jim



----- Original Message -----
From: Jim Turtora
To: bitpim-***@lists.sourceforge.net
Sent: Sunday, May 24, 2009 7:50 PM
Subject: Fw: _max_id_index=999 in sms.py



----- Original Message -----
From: Jim Turtora
To: bitpim-***@lists.sourceforge.net
Sent: Tuesday, November 04, 2008 3:35 PM
Subject: _max_id_index=999 in sms.py



for Joe Pham??

This is my first posting. I'm not sure this doesn't belong in the developer group. Please inform me.

I am working with a verizon razr v3m with nearly 3,000 sms messages total in the inbox and outbox.

I have been trying to use bitpim to archive the text messages. I'm not able to do very much. The best I seem to be able to do is to go to the folders in /brew/mod/syncom2/msging/d,i,o and save the .att and .env files from there to my drive one at a time.

At this point, I haven't looked through much code and I haven't looked to see if there is code to interpret these files, but that's something I hope to do soon. For starters, I was trying to figure out why I can't collect messages to the bitpim program or save groups or zip sets to the drive, as the bitpim program interface implies I should be able to do.

So, I was looking through code and particularly sms.py. In "class SMSEntry(object):", I found the following of interest:

_id_index=0
_max_id_index=999

I immediately wondered if I didn't need something more like 9,999? Or, at least 3,000.

A little further down in the code I found this:

if SMSEntry._id_index<SMSEntry._max_id_index:
SMSEntry._id_index+=1
else:
SMSEntry._id_index=0

Am I way off base here, or... shouldn't this "else:" throw an error or warning and handle this overflow in another way?


As an aside, the phone is about 95% full. Performance of this phone suffers as the messages add up. It doesn't take many messages for this phone to show performance problems, but once it gets to about 80% plus, it becomes extremely tedious to use. Other bugs crop up, but this is for another posting.

Thank you for your time,
Jim

------------------------------------------------------------------------------

_______________________________________________
BitPim-devel mailing list
BitPim-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitpim-devel



--------------------------------------------------------------------------------
Loading...