You Are Here:

Community: Developer Discussion Boards

#1 Old What does "Errno 2" mean? - 2007-04-30, 04:15

Join Date: Feb 2006
Posts: 3,734
Location: Beijing
Send a message via MSN to Cxt_programmer
Cxt_programmer
Offline
Forum Nokia Champion
V:\pys60-1_3_20_src\src\py2sis>C:\Python24\python py2sis.py snake.py --uid=0x012
34567 --sdk30 --caps="NetworkServices LocalServices ReadUserData WriteUserData"
--leavetemp
Creating SIS for SDK3.0 and later
Processing template V:\pys60-1_3_20_src\src\py2sis\build\Icons_aif.mk.template
Processing template V:\pys60-1_3_20_src\src\py2sis\build\PyTest.cpp.template
Processing template V:\pys60-1_3_20_src\src\py2sis\build\PyTest.rss.template
Processing template V:\pys60-1_3_20_src\src\py2sis\build\PyTest_reg.rss.template

Processing template V:\pys60-1_3_20_src\src\py2sis\build\app.mmp.template
Compiling...
Done.
ERROR [Errno 2] No such file or directory: '\\Epoc32\\release\\GCCE\\UREL\\snake
_0x01234567.exe'

What does "Errno 2" mean? How can I fix it?
Platform: S60 3rd MR


www.devdiv.net
I am a programmer.
I hope I can help you!

Cxt_programmer
Reply With Quote

#2 Old Re: What does "Errno 2" mean? - 2007-04-30, 09:38

Join Date: Feb 2005
Posts: 35
janimr
Offline
Registered User
Hi,
this is wild guess but maybe: No such file or directory .

Have you installed S60 SDK and substed it like:
subst l: c:\symbian\9.1\S60_3rd_MR
also set EPOCROOT=\

Also one possibility is that you haven't build the PyS60. (I got the same error when it wasn't configured)
Here are the commands that I use to set up PyS60:
Code:
subst l: C:\symbian\9.1\S60_3rd_MR

l:
set EPOCROOT=\
devices -setdefault @S60_3rd_MR:com.nokia.s60
cd \epoc32\include\
"c:\Program Files\GnuWin32\bin\patch.exe" -p1 < \python\src\pys60-fix-3rded-sdk.diff
cd \python\src\
python setup.py configure 30 SIGN_KEY=c:\temp\selfs.key SIGN_CERT=c:\temp\selfs.cer SIGN_PASS= SCRIPTSHELL_CAPABILITIES="LocalServices NetworkServices ReadUserData WriteUserData UserEnvironment" DLL_CAPABILITIES="LocalServices NetworkServices ReadUserData WriteUserData UserEnvironment" PYS60_VERSION_TAG=final
python setup.py build_emu
python setup.py build_device
python setup.py target_device
python setup.py target_emu
python setup.py bdist_sis
python setup.py install
- Janimr
Reply With Quote

#3 Old Re: What does "Errno 2" mean? - 2007-04-30, 11:01

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
Hi

Using ensymble makes things much easier. It's a Python script that does the same than py2sis and even more If you use it, you don't even need to have any SDK installed on your machine.

Check ensymble doc for more info.

LFD


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote

#4 Old Re: What does "Errno 2" mean? - 2008-01-24, 17:04

Join Date: Oct 2007
Posts: 1
mkson
Offline
Registered User
Quote:
Originally Posted by Cxt_programmer View Post
V:\pys60-1_3_20_src\src\py2sis>C:\Python24\python py2sis.py snake.py --uid=0x012
34567 --sdk30 --caps="NetworkServices LocalServices ReadUserData WriteUserData"
--leavetemp
Creating SIS for SDK3.0 and later
Processing template V:\pys60-1_3_20_src\src\py2sis\build\Icons_aif.mk.template
Processing template V:\pys60-1_3_20_src\src\py2sis\build\PyTest.cpp.template
Processing template V:\pys60-1_3_20_src\src\py2sis\build\PyTest.rss.template
Processing template V:\pys60-1_3_20_src\src\py2sis\build\PyTest_reg.rss.template

Processing template V:\pys60-1_3_20_src\src\py2sis\build\app.mmp.template
Compiling...
Done.
ERROR [Errno 2] No such file or directory: '\\Epoc32\\release\\GCCE\\UREL\\snake
_0x01234567.exe'

What does "Errno 2" mean? How can I fix it?
Platform: S60 3rd MR
I have the same problem, anyone?
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
Panic "CBA 2" means what ? amitkankani General Symbian C++ 0 2007-04-24 13:13
Series 60 "Feature Pack 2" SDK Steely1 Mobile Java General 0 2004-07-23 18:21

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