| Reply | « Previous Thread | Next Thread » |
|
Hello All,
While trying to run python script using Berkley DB on device I am facing following Issue: ImportError: Permission denied (error -46). Possible cause: Check that bdb.pyd is compiled to have at lease same capabilities as this python interpreter process. This app is a python library: bdb.pyd, basically it is a wrapper written on top of openC port of berkeley DB for python. I Install bdb.pyd in c:\sys\bin on device using a sis file. Then I run python shell and type 'import bdb' following which error pops up (as above). --- To rectify I did following: 1) Try to sign bdb.pyd pacaged as sis file using ensymble and Python Script Shell using symbian online signed, with all permissions. After getting both of them signed with same set of capabilities, it stil throws the same error 2) Try to self sign python and bdb.pyd , same error. 3) Try to self sign python and online sign bdb.pyd , still throws same error. As of now I am not clear how we can solve this issue. bdb.pyd file uses UID: 0xEDFD7A0C it links against: LIBRARY python_appui.lib python222.lib --- Please help |
| sachingupta107 |
| View Public Profile |
| Find all posts by sachingupta107 |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
hi sachingupta107
why dont you put the pyd file in the directory e://python//lib. and then check it out. Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
My device does not have a memory card, Though looking at the error it seems python can find the module but there is some capabilities mismatch.
|
| sachingupta107 |
| View Public Profile |
| Find all posts by sachingupta107 |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
when you converted the pyd into sis using ensymble did you mentioned your capabilities in the ensymble. Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Thanks a lot gaba88 that was the issue, Problem Solved !
|
| sachingupta107 |
| View Public Profile |
| Find all posts by sachingupta107 |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
great that your problem got solved.
Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Quote:
![]() Is this python wrapper and the openC port of berkeley DB available somewhere ? Any links ? BR Cyke64 pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Problem Signing Misoalarm Module | rishabhgupta | Python | 8 | 2008-06-03 17:29 |
| Problem with importing project | nuker85 | General Symbian C++ | 4 | 2008-05-24 22:03 |
| racing condition problem with positioning module | oyuky | Python | 4 | 2008-05-22 09:50 |
| problem with N95 and positioning module | pablo_sg | Python | 3 | 2007-12-14 18:12 |
| S60 examples importing problem | chirag_cel | Symbian Tools & SDKs | 1 | 2006-11-08 06:32 |