Re: LG VX7000 Update

Jungho Park <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
1. The lock byte for sms_in is 0x7d and the length is 1 byte 
(I attached inbox002_unlocked.dat and inbox002_locked.dat). 

2. I think Delete and repeat event are working now (I didn't 
test it before I sent it).

3. However, when you send calendar data with repeat yearly 
data, you will get an exception error. I attached the file 
(Exception_Send_Calendar_with_Yearly_repeat.txt).

4. Calendar entry editor shows a wrong date (see the 
attached jpeg image year is 12/31/2100 instead of 9/14/2005) 
for To entry (time is OK). I attahced my schedule.dat and 
schexception.dat.

5. I think the code can be a lot simplified but I am not 
familar with Python.

Jungho

---- Original message ----
>Date: Mon, 12 Sep 2005 22:38:28 GMT
>From: "Joe Pham" <[email protected]>  
>Subject: Re: [BitPim-devel] LG VX7000 Update  
>To: [email protected]
>
>>- Repeat Yearly is not supported.
>
>It's supported for the 4650.  How did you test it on the 
7000?
>
>>- Deleted or some events with Repeat have a strange 4 byte 
date, 
>>which causes exception error.
>
>Please post the exception text.
>
>>SMS
>>- Somehow, "Locked" does not work for Inbox.
>
>If you can, determine the offset & length of the 'Locked' 
field.
>
>Thanks for code contribution.
>
>-Joe Pham
>
>
>
>
>____________________________________________________________
__________
>NetZero Is Giving Away $3,000 A Day!
>Sign up for NetZero HiSpeed 3G with Instant On!
>Visit http://www.netzero.com/3Gsweeps TODAY for your chance 
to win!
>
>
>
>-------------------------------------------------------
>SF.Net email is Sponsored by the Better Software Conference 
& EXPO
>September 19-22, 2005 * San Francisco, CA * Development 
Lifecycle Practices
>Agile & Plan-Driven Development * Managing Projects & Teams 
* Testing & QA
>Security * Process Improvement & Measurement * 
http://www.sqe.com/bsce5sf
>_______________________________________________
>BitPim-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bitpim-devel
Exception_Send_Calendar_with_Yearly_repeat.txt (text/plain, 5.1 KB)
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "C:\CVS\bitpim\gui.py", line 173, in run
    res=call()
  File "C:\CVS\bitpim\gui.py", line 113, in __call__
    return apply(self.method, self.args+args, d)
  File "C:\CVS\bitpim\gui.py", line 1679, in senddata
    apply(func, args)
  File "C:\CVS\bitpim\gui.py", line 1708, in writecalendar
    return self.commphone.savecalendar(data, merge)
  File "C:\CVS\bitpim\com_lgvx7000.py", line 291, in savecalendar
    voice_files)
  File "C:\CVS\bitpim\com_lgvx7000.py", line 505, in set_cal
    voice_files)
  File "C:\CVS\bitpim\com_lgvx7000.py", line 491, in _set_cal_event
    self._set_repeat_event(event, entry, exceptions)
  File "C:\CVS\bitpim\com_lgvx7000.py", line 406, in _set_repeat_event
    rep_interval=rep.interval
  File "C:\CVS\bitpim\bpcalendar.py", line 335, in _get_interval
    raise AttributeError
AttributeError

Variables by last 8 frames, innermost last

Frame __call__ in C:\CVS\bitpim\gui.py at line 113
           self =  <gui.Request instance at 0x02B4D620>
           args =  ()
              d =  Keys []
                   {}
         kwargs =  Keys []
                   {}

Frame senddata in C:\CVS\bitpim\gui.py at line 1679
          count =  0
           self =  <WorkerThread(BitPim helper, started daemon)>
           args =  [{'wallpaper-index': {100: {'origin': 'images', 'vtype': 256, 'name': 'Bear_hear
             xx =  (<bound method WorkerThread.writecalendar of <WorkerThread(BitPim helper, starte
           dict =  Keys ['calendar', 'calendar_version', 'groups', 'ringtone-index', 'uniqueserial', 'wallpaper-index']
                   {'wallpaper-index': {100: {'origin': 'images', 'vtype': 256, 'name': 'Bear_heart
           func =  <bound method WorkerThread.writecalendar of <WorkerThread(BitPim helper, started
           todo =  [(<bound method WorkerThread.writecalendar of <WorkerThread(BitPim helper, start
           desc =  'Calendar'

Frame writecalendar in C:\CVS\bitpim\gui.py at line 1708
          merge =  False
           self =  <WorkerThread(BitPim helper, started daemon)>
           data =  Keys ['calendar', 'calendar_version', 'groups', 'ringtone-index', 'uniqueserial', 'wallpaper-index']
                   {'wallpaper-index': {100: {'origin': 'images', 'vtype': 256, 'name': 'Bear_heart

Frame savecalendar in C:\CVS\bitpim\com_lgvx7000.py at line 291
             sc =  <p_lgvx7000.schedulefile object at 0x02B4B790>
    voice_files =  Keys []
                   {}
           self =  <com_lgvx7000.Phone instance at 0x02AAB670>
           dict =  Keys ['calendar', 'calendar_version', 'groups', 'ringtone-index', 'uniqueserial', 'wallpaper-index']
                   {'wallpaper-index': {100: {'origin': 'images', 'vtype': 256, 'name': 'Bear_heart
          merge =  False

Frame set_cal in C:\CVS\bitpim\com_lgvx7000.py at line 505
 ringtone_index =  Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 100, 101, 102, 103, 104, 105, 106, 107]
                   {0: {'origin': 'builtin', 'name': 'Low Beep Once'}, 1: {'origin': 'builtin', 'na
              e =  <bpcalendar.CalendarEntry object at 0x02BBB690>
   _packet_size =  63
       cal_dict =  Keys ['356d9aa9006e00eb865e5968773ea65c90a9b491', '6478e5628c52ffb0abdab814e3a579be59f18b05']
                   {'356d9aa9006e00eb865e5968773ea65c90a9b491': <bpcalendar.CalendarEntry object at
              k =  '6478e5628c52ffb0abdab814e3a579be59f18b05'
           _pos =  65
           self =  <com_lgvx7000.Phone instance at 0x02AAB670>
     exceptions =  Keys [2]
                   {2: [(2005, 9, 14)]}
    voice_files =  Keys []
                   {}
       sch_file =  <p_lgvx7000.schedulefile object at 0x02B4B790>
          event =  <p_lgvx7000.scheduleevent object at 0x02B50530>

Frame _set_cal_event in C:\CVS\bitpim\com_lgvx7000.py at line 491
             rt =  6
 ringtone_index =  Keys [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 100, 101, 102, 103, 104, 105, 106, 107]
                   {0: {'origin': 'builtin', 'name': 'Low Beep Once'}, 1: {'origin': 'builtin', 'na
              e =  Keys ['name', 'origin']
                   {'origin': 'builtin', 'name': 'Ringtone 3'}
              k =  6
           self =  <com_lgvx7000.Phone instance at 0x02AAB670>
          entry =  <bpcalendar.CalendarEntry object at 0x02BBB690>
     exceptions =  Keys [2]
                   {2: [(2005, 9, 14)]}
    voice_files =  Keys []
                   {}
          event =  <p_lgvx7000.scheduleevent object at 0x02B50530>

Frame _set_repeat_event in C:\CVS\bitpim\com_lgvx7000.py at line 406
       rep_type =  'yearly'
        rep_val =  16
            rep =  <bpcalendar.RepeatEntry object at 0x02B4B830>
           self =  <com_lgvx7000.Phone instance at 0x02AAB670>
     day_bitmap =  0
     exceptions =  Keys [2]
                   {2: [(2005, 9, 14)]}
          entry =  <bpcalendar.CalendarEntry object at 0x02BBB690>
          event =  <p_lgvx7000.scheduleevent object at 0x02B50530>

Frame _get_interval in C:\CVS\bitpim\bpcalendar.py at line 335
           self =  <bpcalendar.RepeatEntry object at 0x02B4B830>
schedule.dat (application/octet-stream, 128 B) - not displayed
Calendar_Entry_Editor.jpg (image/pjpeg, 33.2 KB) - not displayed
schexception.dat (application/octet-stream, 8 B) - not displayed
inbox002_locked.dat (application/octet-stream, 4 KB) - not displayed
inbox002_unlocked.dat (application/octet-stream, 4 KB) - not displayed
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.