RE: Calendar Support for LG Phones

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <000901c5b0bf$8481fa40$6400a8c0@HOME>
Joe,

I ran a quick test on my 4400. There is one event in the phone's calender.
I got this error (attached). I have not tried to diagnose.
The line numbers in gui.py will not match up in this log, I have added some
code to my copy that will throw the line numbering off.

Simon



> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Joe Pham
> Sent: Saturday, September 03, 2005 10:28 AM
> To: [email protected]
> Subject: [BitPim-devel] Calendar Support for LG Phones
>
>
> I've added Calendar support to the LG-VX4400, on which code
> most other LG phones are based.  Specifically, the VX4400,
> 8100, and 4650 calendar feature should work out-of-the-box.
> I'm asking anyone who has access to the other LG phones and
> can run BitPim off source to test out the calendar feature on
> their phones (probably just Calendar read initially) and post
> the findings.  The goal is to have complete calendar support
> in place for all LG phones in the next BitPim release.
>
> Thanks,
>
> -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.txt (text/plain, 3.8 KB)
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "C:\projects\bitpim\gui.py", line 175, in run
    res=call()
  File "C:\projects\bitpim\gui.py", line 115, in __call__
    return apply(self.method, self.args+args, d)
  File "C:\projects\bitpim\gui.py", line 1705, in getdata
    i[1](results)
  File "C:\projects\bitpim\com_lgvx4400.py", line 919, in getcalendar
    sc.readfrombuffer(buf)
  File "C:\projects\bitpim\p_lgvx4400.py", line 1972, in readfrombuffer
    self.__field_events.readfrombuffer(buf)
  File "C:\projects\bitpim\prototypes.py", line 1080, in readfrombuffer
    x.readfrombuffer(buf)
  File "C:\projects\bitpim\p_lgvx4400.py", line 1703, in readfrombuffer
    self.__field_pos.readfrombuffer(buf)
  File "C:\projects\bitpim\prototypes.py", line 202, in readfrombuffer
    res|=buf.getnextbyte()<<shift
  File "C:\projects\bitpim\prototypes.py", line 1200, in getnextbyte
    raise IndexError("trying to read one byte beyond end of "+`len(self._data)`+" byte buffer")
IndexError: trying to read one byte beyond end of 62 byte buffer

Variables by last 8 frames, innermost last

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

Frame getdata in C:\projects\bitpim\gui.py at line 1705
          count =  1
              i =  (<bound method GetPhoneDialog.GetCalendarSetting of <guiwidgets.GetPhoneDialog; 
           self =  <WorkerThread(BitPim helper, started daemon)>
            req =  <guiwidgets.GetPhoneDialog; proxy of C++ wxDialog instance at _60fa7702_p_wxDial
       willcall =  [(<bound method GetPhoneDialog.GetCalendarSetting of <guiwidgets.GetPhoneDialog;
        results =  Keys ['groups', 'ringtone-index', 'sync', 'uniqueserial', 'wallpaper-index']
                   {'sync': {'calendar': 'OVERWRITE'}, 'wallpaper-index': {1: {'origin': 'builtin',
           sync =  Keys ['calendar']
                   {'calendar': 'OVERWRITE'}
             st =  0
           todo =  [(<bound method WorkerThread.rebootcheck of <WorkerThread(BitPim helper, started

Frame getcalendar in C:\projects\bitpim\com_lgvx4400.py at line 922
           self =  <com_lgvx4400.Phone instance at 0x0208EE40>
             sc =  <p_lgvx4400.schedulefile object at 0x020A7710>
             ex =  <p_lgvx4400.scheduleexceptionfile object at 0x0208C5B0>
     exceptions =  Keys []
                   {}
            buf =  <prototypes.buffer instance at 0x02161698>
         result =  Keys ['groups', 'ringtone-index', 'sync', 'uniqueserial', 'wallpaper-index']
                   {'sync': {'calendar': 'OVERWRITE'}, 'wallpaper-index': {1: {'origin': 'builtin',

Frame readfrombuffer in C:\projects\bitpim\p_lgvx4400.py at line 1972
           self =  <p_lgvx4400.schedulefile object at 0x020A7710>
            buf =  <prototypes.buffer instance at 0x02161698>

Frame readfrombuffer in C:\projects\bitpim\prototypes.py at line 1080
              x =  <p_lgvx4400.scheduleevent object at 0x02117FD0>
           self =  <prototypes.LIST object at 0x02117090>
            buf =  <prototypes.buffer instance at 0x02161698>

Frame readfrombuffer in C:\projects\bitpim\p_lgvx4400.py at line 1703
           self =  <p_lgvx4400.scheduleevent object at 0x02117FD0>
            buf =  <prototypes.buffer instance at 0x02161698>

Frame readfrombuffer in C:\projects\bitpim\prototypes.py at line 202
          shift =  24
           self =  <prototypes.UINTlsb object at 0x021174D0>
          dummy =  3
            buf =  <prototypes.buffer instance at 0x02161698>
            res =  0

Frame getnextbyte in C:\projects\bitpim\prototypes.py at line 1200
           self =  <prototypes.buffer instance at 0x02161698>
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.