#317 sensor and N96

closed-invalid
Jukka Laurila
other (34)
5
2014-08-14
2008-10-14
Pedrini Eros
No

Dear All,
I'm trying to write a simple application in Python with my new N96 and the last version of Python for S60, but I'm not able to start because when I try to include sensor library (i.e. import sensor) the python core return me the following exception:

File "e:\python\testacc.py", line 24, in ?
import sensor
File "c:\resource\site.py", line 97, in platsec_import
return _original_import(name, globals, locals, fromlist)
File "c:\resource\sensor.py", line 20, in ?
import _sensor
File "c:\resource\site.py", line 112, in platsec_import
raise ImportError("No module named "+name)
ImportError: No module named _sensor

Someone can help me?

Thank you in advance for your help.

cheers,
Eros

Discussion

  • Pedrini Eros
    Pedrini Eros
    2009-01-27

    • milestone: 724258 -->
     
  • Jukka Laurila
    Jukka Laurila
    2009-01-27

    - 1.9.x errors should be reported in Maemo Garage, not here.

    - The sensor module isn't yet supported on S60 3rd edition FP2 devices, as mentioned in the release notes.

     
  • Jukka Laurila
    Jukka Laurila
    2009-01-27

    • status: open --> closed-invalid