| Reply | « Previous Thread | Next Thread » |
|
Hi all.
I'm going to test calendar module. I'm using bt_console in testing, and my python crash (python app close on the phone). The phone is a 6600 with 1.1.6 python (fast and not fast, is the same). May be I'm doing something wrong (and a little bug rise up) or my database is very strange? I wrote a simple code to test Code:
import calendar
cal=calendar.open()
for i in cal:
o=cal[i]
print i, o.type, o.location
Code:
print o print o.content stringa=o.as_vcaledar() Actually, the most part of the entries works properly, i.e. I can do Code:
stringa=cal.export_vcalendars((934,936)) Code:
stringa=cal.export_vcalendars((964,)) I tried with a cal.compact(), it returns 1. I tried with one of the doesnt-working-element with id=943: del cal[943] and after: o=cal[943] and I found again the element, and I cant read o.content; python app crashes. Is delete a logical or physical deletion? Can I read 'deleted' entries?? This evening I will try with local console on the phone, but I don't deceive myself. Any help? Pietro |
|
Quote:
|
|
Quote:
I tried with a new created database, and it works properly. I struck out my contact file, and I sync again with outlook and it's OK. After I removed a entry from outlook and I sync again, the problem raise. I tried to erase an entry into my 6600 (a anniversary, yearly): the error rise. So it seems to be enough the presence of a deleted entry to crash applications. Pietro PS: both the not working files are available for testing purpose. Email me if you need it.
Last edited by pimol : 2005-08-27 at 20:46.
|
|
3 months after, I still have the same problem also with 1.2. I did not find any referece to the "defect 0232" in any part of Python section of Nokia forum.
Nobody can help me? The app run perfectly in emulator with a test contact database... but I can't fix it in my phone! Pietro |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Strange thing with active objects(KRequestPending?) | carl_rocha | Symbian Networking & Messaging | 0 | 2004-05-25 15:33 |
| Strange bug on N3650 with Firmware 4.13 | NeoEgoism | General Discussion | 0 | 2004-05-03 13:13 |
| Recognition and strange document name | space2 | General Symbian C++ | 0 | 2003-12-10 11:28 |
| Strange NullpointerException | bell | Mobile Java General | 3 | 2003-05-19 07:58 |
| A very strange thing... | sbleriot | General Symbian C++ | 0 | 2003-02-26 13:21 |