You Are Here:

Community: Developer Discussion Boards

#1 Old Strange thing appears - 2005-08-24, 15:41

Join Date: May 2005
Posts: 33
pimol
Offline
Registered User
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
and it works, but if I try one of this statement:
Code:
print o
print o.content
stringa=o.as_vcaledar()
python crashes.
Actually, the most part of the entries works properly, i.e. I can do
Code:
stringa=cal.export_vcalendars((934,936))
but not (python app crashes)
Code:
stringa=cal.export_vcalendars((964,))
In addition, I'm sure some (or all!) of these entries doesn't sync with the PC. I can't be sure for all of them because I can't read content, but I read location, and some of these doesn't appears in outlook (sync with PC Suite).

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
Reply With Quote

#2 Old Re: Strange thing appears - 2005-08-25, 08:30

Join Date: Sep 2003
Posts: 209
Location: Finland
otsov
Offline
Regular Contributor
Quote:
Originally Posted by pimol
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

...

Any help?
Thanks for the detailed report, this will be checked. Filed as defect #0232.
Reply With Quote

#3 Old Arrow Re: Strange thing appears - 2005-08-27, 15:19

Join Date: May 2005
Posts: 33
pimol
Offline
Registered User
Quote:
Originally Posted by otsov
Thanks for the detailed report, this will be checked. Filed as defect #0232.
Some additional info. Problem is not related with bt_console, it happens testing with a infrared keyboard on Nokia 6600, too.

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.
Reply With Quote

#4 Old Re: Strange thing appears - 2005-12-01, 18:36

Join Date: May 2005
Posts: 33
pimol
Offline
Registered User
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 With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia