You Are Here:

Community: Developer Discussion Boards

#1 Old PyS60 db format known? - 2008-01-28, 18:52

Join Date: Nov 2006
Posts: 501
neil.young
Offline
Super Contributor
Is there any PC tool in order to CRUD a PyS60 db?

Regards
Reply With Quote

#2 Old Re: PyS60 db format known? - 2008-01-28, 20:36

Join Date: Sep 2003
Posts: 50
dehlerm
Offline
Regular Contributor
The only one I'm aware of, and use myself, is a S60 emulator from a SDK.

HTH Martin
Reply With Quote

#3 Old Re: PyS60 db format known? - 2008-01-28, 20:55

Join Date: Nov 2006
Posts: 501
neil.young
Offline
Super Contributor
Yes, meanwhile I found the basic sample in S60 3rd SDK and manged to build a db. But I can't open the db in PyS60

import e32dbm
e32dbm.open(u'e:\\test.db')

SymbianError: [Errno -20] KErrCorrupt

This happens with the unchanged S60 sample as well as with any other prebuilt db in S60 sdk...

What might go wrong here?

Regards
Reply With Quote

#4 Old Re: PyS60 db format known? - 2008-01-28, 21:03

Join Date: Sep 2003
Posts: 50
dehlerm
Offline
Regular Contributor
Up to now I only used e32db (not e32dbm).
Reply With Quote

#5 Old Re: PyS60 db format known? - 2008-01-28, 21:18

Join Date: Nov 2006
Posts: 501
neil.young
Offline
Super Contributor
Same story with e32db. S60 3rd is the hell
Reply With Quote

#6 Old Re: PyS60 db format known? - 2008-01-28, 21:34

Join Date: Nov 2006
Posts: 501
neil.young
Offline
Super Contributor
Are u using S60 3rd FP1 ?
If so: Could you please generate and post a small database for double check?

Regards
Reply With Quote

#7 Old Re: PyS60 db format known? - 2008-01-28, 21:55

Join Date: Nov 2006
Posts: 501
neil.young
Offline
Super Contributor
BTW: KErrCorrupt is of course selfexplaning. The reason for this error? I have to have my db in the root dir or in other words: I'm not allowed to have it in a subdir...

What a braindamaged shitty mess...
Reply With Quote

#8 Old Re: PyS60 db format known? - 2008-01-29, 07:17

Join Date: Sep 2003
Posts: 50
dehlerm
Offline
Regular Contributor
I'm using a S60 3rd FP1 phone (6120) and the S60 3rd FP1 SDK (with E Series plugin).
I can't confirm that databases only can be created in root. At least C:\data\ and subdirectories work in my environment too. Havn't tested other locations.
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
[announce] PyS60 documentation in ebook format (.prc) ! cyke64 Python 11 2008-02-01 14:08
Recording audio in AMR format, SDK 3rd handle_cn General Symbian C++ 12 2007-11-03 09:16
how to distribute pys60 based apps? chall3ng3r Python 4 2007-03-27 15:13
Tip: Versioning and distribution issues in PyS60 otsov Python 0 2006-03-06 12:56
????????Convert Date format mehulgarnara Mobile Java Tools & SDKs 0 2005-04-15 08:34

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