You Are Here:

Community: Developer Discussion Boards

#1 Old Ensymble-py2sis-system error 2 - 2008-01-31, 07:36

Join Date: Jan 2008
Posts: 9
dumpling.ch
Offline
Registered User
first My Drives :
Quote:
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"
Reply With Quote

#2 Old Re: Ensymble-py2sis-system error 2 - 2008-01-31, 17:31

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
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
Reply With Quote

#3 Old Re: Ensymble-py2sis-system error 2 - 2008-02-02, 07:28

Join Date: Jan 2008
Posts: 9
dumpling.ch
Offline
Registered User
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
Reply With Quote

#4 Old Re: Ensymble-py2sis-system error 2 - 2008-02-02, 11:01

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
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?
Reply With Quote

#5 Old Re: Ensymble-py2sis-system error 2 - 2008-02-02, 11:31

Join Date: Jan 2008
Posts: 9
dumpling.ch
Offline
Registered User
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!
Reply With Quote

#6 Old Re: Ensymble-py2sis-system error 2 - 2008-02-02, 19:24

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
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
Reply With Quote

#7 Old Re: Ensymble-py2sis-system error 2 - 2008-02-03, 06:51

Join Date: Jan 2008
Posts: 9
dumpling.ch
Offline
Registered User
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
Reply With Quote

#8 Old Re: Ensymble-py2sis-system error 2 - 2008-02-03, 07:29

Join Date: Jan 2008
Posts: 9
dumpling.ch
Offline
Registered User
I think i find the problem .

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

Thank you all the same!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
py2sis ensymble 3rd edition!! mapkiller Python 3 2008-04-02 18:05
[announce] Ensymble v0.25 jethro.fn Python 12 2008-01-05 20:34
[S60 3rd, Build problem]make (e=3): The system cannot find the path specified daveice General Symbian C++ 13 2008-01-04 12:15
HELP !auto-reply sms system (using 8250 & VB6) dancingqueeneng PC Suite API and PC Connectivity SDK 4 2007-02-08 08:08
System Help with nokia pc connectivity SDK gotka PC Suite API and PC Connectivity SDK 4 2004-07-06 10:56

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia