Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor KevinBoyd's Avatar
    Join Date
    Sep 2009
    Posts
    353
    I installed Python_1.9.7.sis and then PythonScriptShell_1.9.7_3_0.sis on my 5800XM, then I installed an app sis file all in the C:\\ drive. During installation the app gave me a message that its not compatible with the current phone however I still continued with the installation.
    I opened the ScriptShell and tried to run the script, however it gives me the error "ImportError: No module named pycamera"
    How do I install this module or what else could be the possible cause of this error.

  2. #2
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    Quote Originally Posted by KevinBoyd View Post
    I installed Python_1.9.7.sis and then PythonScriptShell_1.9.7_3_0.sis on my 5800XM,...
    Did you install in memory phone or card ? They need to be in the same drive (and probably your later application).

    Marcelo

  3. #3
    Regular Contributor KevinBoyd's Avatar
    Join Date
    Sep 2009
    Posts
    353
    Quote Originally Posted by marcelobarrosalmeida View Post
    Did you install in memory phone or card ? They need to be in the same drive (and probably your later application).

    Marcelo
    I installed it to the C drive but with file manager I found that 2 folders name python had been created one on C: drive and one on E: drive.
    I ran the file from he and got the error.
    Then I copied the files to the c drive python folder but still ran into the same errors.

  4. #4
    Nokia Developer Champion sajisoft's Avatar
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,062
    PyCam module is not provided with default python package. Your have to download it from (download PyCam-lib):
    httphttp://research.nokia.com/resear.../download.html
    But PyCam lib seems to be compiled for Pys60 1.4.x .If this is the case, then it will not work with Pys60 1.9.x. However, u can give it a try & let us know .

    Best Regards,
    SajiSoft

  5. #5
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    Quote Originally Posted by KevinBoyd View Post
    I installed it to the C drive but with file manager I found that 2 folders name python had been created one on C: drive and one on E: drive.
    I ran the file from he and got the error.
    Then I copied the files to the c drive python folder but still ran into the same errors.
    Very weird ... How about to remove everything (interpreter, shell, python apps), to delete both dirs, boot the phone and try again ?

  6. #6
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    Quote Originally Posted by sajisoft View Post
    PyCam module is not provided with default python package. Your have to download it from (download PyCam-lib):
    httphttp://research.nokia.com/resear.../download.html
    But PyCam lib seems to be compiled for Pys60 1.4.x .If this is the case, then it will not work with Pys60 1.9.x. However, u can give it a try & let us know .

    Best Regards,
    SajiSoft
    Ops, better to follow sajisoft tips ...

  7. #7
    Regular Contributor KevinBoyd's Avatar
    Join Date
    Sep 2009
    Posts
    353
    Quote Originally Posted by sajisoft View Post
    PyCam module is not provided with default python package. Your have to download it from (download PyCam-lib):
    httphttp://research.nokia.com/resear.../download.html
    But PyCam lib seems to be compiled for Pys60 1.4.x .If this is the case, then it will not work with Pys60 1.9.x. However, u can give it a try & let us know .

    Best Regards,
    SajiSoft
    Downloaded and installed it yet the problem persists.
    Infact while installing it told me that pycamera already exists!!!
    I think I read else where that old extensions don't work with the 1.9.x version, maybe I need to install 1.4.x or something like that. That's strange isn't it?
    I wonder if 1.4.x will work on the 5th edition phones?

  8. #8
    Nokia Developer Champion sajisoft's Avatar
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,062
    Quote Originally Posted by KevinBoyd View Post
    Downloaded and installed it yet the problem persists.
    Infact while installing it told me that pycamera already exists!!!
    I think I read else where that old extensions don't work with the 1.9.x version, maybe I need to install 1.4.x or something like that. That's strange isn't it?
    Ofcourse, Pys60 1.4.x modules doenst work with Pys60 1.9.x .Thus it will not work too.
    I wonder if 1.4.x will work on the 5th edition phones?
    Pys60 1.4.x works with 5th edition phone but it DOESNT have a full touch screen support (& thus not recommended).

    Best Regards,
    SajiSoft

  9. #9
    Regular Contributor KevinBoyd's Avatar
    Join Date
    Sep 2009
    Posts
    353
    Quote Originally Posted by sajisoft View Post
    Ofcourse, Pys60 1.4.x modules doenst work with Pys60 1.9.x .Thus it will not work too.

    Pys60 1.4.x works with 5th edition phone but it DOESNT have a full touch screen support (& thus not recommended).

    Best Regards,
    SajiSoft
    What could be the workaround?
    I tried the advice of uninstalling all the 1.9.x apps and runtime, rebooted and installed 1.4.x then all my apps started working.
    Now I wonder how to get the apps running on 1.9.x, anyway to recompile them with the new runtime?

  10. #10
    Nokia Developer Champion sajisoft's Avatar
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,062
    Quote Originally Posted by KevinBoyd View Post
    What could be the workaround?
    I tried the advice of uninstalling all the 1.9.x apps and runtime, rebooted and installed 1.4.x then all my apps started working
    I think Pys60 1.4.x and Pys60 1.9.x can co-exists on same phone.
    Code:
    Now I wonder how to get the apps running on 1.9.x, anyway to recompile them with the new runtime?
    Yes its the only way to get it working on Pys60 1.9.x. To recompile them u need Pys60 1.9.x SDK, Nokia SDK for C++ , carbide c++ IDE & u need a good knowledge of Symbian C++ & Carbide IDE . Wish u luck

    Best Regards,
    SajiSoft

  11. #11
    Regular Contributor KevinBoyd's Avatar
    Join Date
    Sep 2009
    Posts
    353
    Quote Originally Posted by sajisoft View Post
    Yes its the only way to get it working on Pys60 1.9.x. To recompile them u need Pys60 1.9.x SDK, Nokia SDK for C++ , carbide c++ IDE & u need a good knowledge of Symbian C++ & Carbide IDE . Wish u luck

    SajiSoft
    Now that really needs lots of luck!!

  12. #12
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    Quote Originally Posted by sajisoft View Post
    I think Pys60 1.4.x and Pys60 1.9.x can co-exists on same phone.
    Yes, you can !

  13. #13
    Regular Contributor KevinBoyd's Avatar
    Join Date
    Sep 2009
    Posts
    353
    Quote Originally Posted by sajisoft View Post
    Yes its the only way to get it working on Pys60 1.9.x. To recompile them u need Pys60 1.9.x SDK, Nokia SDK for C++ , carbide c++ IDE & u need a good knowledge of Symbian C++ & Carbide IDE . Wish u luck

    Best Regards,
    SajiSoft
    Can't I get a readymade pycamera module meant to work with the Pys60 1.9.x.
    Has someone already done the hard work, I mean instead of reinventing the wheel?

Similar Threads

  1. [Announce] pygame for S60 for PyS60 1.9.x
    By GameDude in forum Python
    Replies: 57
    Last Post: 2011-02-21, 23:18
  2. Buggy AMR Audio Recording. Please Help!!
    By jhamby in forum Symbian C++
    Replies: 8
    Last Post: 2009-07-07, 10:34
  3. Replies: 4
    Last Post: 2009-07-07, 10:07
  4. How to create a sis using ensymble and Python 1.9.4 ?
    By marcelobarrosalmeida in forum Python
    Replies: 10
    Last Post: 2009-05-27, 10:16
  5. Carbide.j 1.5 and Netbeans 5.5 beta 2
    By ovjo12 in forum Mobile Java Tools & SDKs
    Replies: 5
    Last Post: 2007-06-11, 05:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved