| Reply | « Previous Thread | Next Thread » |
|
I have developed an extension module on pys60 1.9.2 with S60 5th edition SDK. I am able to load and use the extension in 5th ed. emulator but trying to import it into target device's python runtime (Nokia 5800) fails with the not-too-specific "ImportError: Error in loading dll"
I'm using the high_capas devcert-signed version of python runtime and script shell and also signed my own sis containing the .pyd-file with the same certificate and high capabilities. Not sure though what capabilities do the runtime+script shell exactly have but for my own sis I used all those capabilities listed in PyS60_1_9_x_README.txt chapter 5 (included in pys60 src distribution). I also followed the instructions about file locations and made my sis to install the .pyd-file into c:\sys\bin I think the basics should be OK as I'm able to load and use the extension in emulator. What checks should I do in the first place in order to solve the problem? Is there any means to check that the sis-installer really copied the .pyd file into c:\sys\bin? Because I think that the same ImportError is given when the imported .pyd-file just does not exist. |
|
Quote:
Also, make sure that the init function is at ordinal 1. You might have to manually edit the .def file. ---- Mahesh PyS60 Team |
| mahesh.sayibabu |
| View Public Profile |
| Find all posts by mahesh.sayibabu |
|
Thanks for good tips. SISContents seems to be a handy tool. Everything in my sis seemed to be ok though, including structure and capabilities. I also checked the def-file and MODULE_INIT_FUNC was the first one there.
Don't know how to go on ![]() |
|
Is your pyd named "251_xxx.pyd" (Where xxx is the module name)?
import antigravity |
| ashwinurao |
| View Public Profile |
| Find all posts by ashwinurao |
|
Hello,
I'm facing a similar problem... How did you solve the issue? Pedro |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Dll deployment on device problem | iulian_moldovan | General Symbian C++ | 6 | 2006-02-14 14:05 |
| How to compile a dll for the target device? | nmnir | General Symbian C++ | 4 | 2006-01-18 07:42 |
| Bluetooth Security: What exactly is an untrusted device? | rahulmcs | Bluetooth Technology | 1 | 2005-12-02 07:26 |
| Problem building a dll for target device | rushj | General Symbian C++ | 1 | 2005-08-09 15:19 |
| On device, E32Dll will never be called (as dll entry point)? | trendin | General Symbian C++ | 2 | 2004-11-17 01:46 |