Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User dumpling.ch's Avatar
    Join Date
    Jan 2008
    Posts
    9
    first My Drives :
    S60_3rd_SDK_MR
    PythonForS60_1_4_1_SDK_3rd
    Python2.4.2
    ensymble_0.26

    +

    N73
    PythonForS60_1_4_1
    PythonScriptShell_1_4_1
    when i run the snake example in emulator or in Python Script Shell ,every thing is OK!

    py2sis didn't work?
    so i try ensymble, i help me pack snake.py into sis. install in phone but when i run, it cause "system error 2"

  2. #2
    Super Contributor jethro.fn's Avatar
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524
    Well, seems to work just fine here.

    • Nokia N95, firmware V 12.0.013
    • PythonForS60_1_4_2_3rdEd.SIS
    • PythonScriptShell_1_4_2_3rdEd_unsigned_freedevcert.SIS, signed with devcert
    • ensymble_python2.4-0.26.py
    • Python 2.4.4 on a Debian Linux PC


    Package was generated with:

    Code:
    ensymble.py py2sis snake.py

  3. #3
    Registered User dumpling.ch's Avatar
    Join Date
    Jan 2008
    Posts
    9
    Thx..but
    I follow your format, it cause me the same problem...

    BTW:
    Windows XP
    N73-v3.0628.0.06
    the snake.py was code by UTF-8

  4. #4
    Super Contributor jethro.fn's Avatar
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524
    Quote Originally Posted by dumpling.ch View Post
    Thx..but
    I follow your format, it cause me the same problem...
    Can you put the SIS file on some web page so I can take a look at it?

  5. #5
    Registered User dumpling.ch's Avatar
    Join Date
    Jan 2008
    Posts
    9
    http://pickup.mofile.com/5537090057786407

    if the link doesn't work ,send me predestinatelove@126.com
    so that i can send the sis back to you!

  6. #6
    Super Contributor jethro.fn's Avatar
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524
    Quote Originally Posted by dumpling.ch View Post
    I downloaded the file. Your snake.py seems to have a Byte-Order-Mark (BOM) in the beginning, whereas the original snake.py does not. PyS60, which is based on Python 2.2, does not understand the BOM and fails to load the Python file. Python 2.2 is hard-coded to use the ISO-8859-1 character set, so this is what you should use when saving. If you need to represent characters outside of this character set in your programs, encode the characters using Python's Unicode facilities.

    More info on BOM:
    http://en.wikipedia.org/wiki/Byte_Order_Mark

  7. #7
    Registered User dumpling.ch's Avatar
    Join Date
    Jan 2008
    Posts
    9
    OH~the problem still exist ...

    I once open it on notepad and save it,now I follow your advice remove the 3 bytes at the beginnig.

    Now the script can run both phone and emulator, but when I pack it, the problem still not be sloved ...

    the new sis is here:
    http://pickup.mofile.com/7567417868306831

  8. #8
    Registered User dumpling.ch's Avatar
    Join Date
    Jan 2008
    Posts
    9
    I think i find the problem .

    I reinstall it to my phone memory. It work!!!

    Thank you all the same!

Similar Threads

  1. py2sis ensymble 3rd edition!!
    By mapkiller in forum Python
    Replies: 3
    Last Post: 2008-04-02, 17:05
  2. [announce] Ensymble v0.25
    By jethro.fn in forum Python
    Replies: 12
    Last Post: 2008-01-05, 19:34
  3. Replies: 13
    Last Post: 2008-01-04, 11:15
  4. HELP !auto-reply sms system (using 8250 & VB6)
    By dancingqueeneng in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2007-02-08, 07:08
  5. System Help with nokia pc connectivity SDK
    By gotka in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2004-07-06, 09:56

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