You Are Here:

Community: Developer Discussion Boards

#1 Old help!help! - 2008-12-13, 15:55

Join Date: Nov 2008
Posts: 73
xiaobu
Offline
Regular Contributor
when i make a .sis ,the following problem occurs.
how to solve it? sERROR 'uidcrc' utility not found.please make sure you have the symbian SDK correctly installed and configured. please help me!
Reply With Quote

#2 Old Re: help!help! - 2008-12-13, 16:03

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
Quote:
Originally Posted by xiaobu View Post
when i make a .sis ,the following problem occurs.
how to solve it? sERROR 'uidcrc' utility not found.please make sure you have the symbian SDK correctly installed and configured. please help me!
Hi xiaobu,

Please describe better your problem. What are you using for making the .sis? Also, make sure that you always resume the thread's content on it's title


BR,

Rafael.
Reply With Quote

#3 Old Re: help!help! - 2008-12-13, 16:24

Join Date: Nov 2008
Posts: 73
xiaobu
Offline
Regular Contributor
Quote:
Originally Posted by Rafael T. View Post
Hi xiaobu,

Please describe better your problem. What are you using for making the .sis? Also, make sure that you always resume the thread's content on it's title


BR,

Rafael.
---------------------------------
oh,I'm so sorry,you know my english is so poor...
I make it as the wiki says"Info: How to make a standalone application (using py2sis) ",the link ishttp://www.mobilenin.com/pys60/info_...pplication.htm
and " ERROR 'uidcrc' uitility not found" occured.
how ?
Reply With Quote

#4 Old Re: help!help! - 2008-12-13, 16:51

Join Date: Nov 2008
Posts: 73
xiaobu
Offline
Regular Contributor
aha~ I have solved it! thanks!
Reply With Quote

#5 Old Re: help!help! - 2008-12-13, 16:58

Join Date: Nov 2008
Posts: 73
xiaobu
Offline
Regular Contributor
Quote:
Originally Posted by Rafael T. View Post
Hi xiaobu,

Please describe better your problem. What are you using for making the .sis? Also, make sure that you always resume the thread's content on it's title


BR,

Rafael.
-------------------------------------

I succeed in making a sis,but after install it,i can't run it on my phone! why?
Reply With Quote

#6 Old Re: help!help! - 2008-12-13, 17:44

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
Quote:
Originally Posted by xiaobu View Post
-------------------------------------

I succeed in making a sis,but after install it,i can't run it on my phone! why?
Have you installed it on the same memory you installed Python?


BR,

Rafael.
Reply With Quote

#7 Old Re: help!help! - 2008-12-13, 19:12

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by xiaobu View Post
-------------------------------------

I succeed in making a sis,but after install it,i can't run it on my phone! why?
hi xiaobu

what sort of error you are getting when you are running the app??.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#8 Old Re: help!help! - 2008-12-14, 03:43

Join Date: Nov 2008
Posts: 73
xiaobu
Offline
Regular Contributor
Quote:
Originally Posted by gaba88 View Post
hi xiaobu

what sort of error you are getting when you are running the app??.

Enjoy Pythoning
Gaba88
hi,
when i ciliked it,there was no response!white screen,then exit.
how should i can do?
Note:the sis is just 4kb,but my .py is 6kb!why?
Reply With Quote

#9 Old Re: help!help! - 2008-12-14, 03:44

Join Date: Nov 2008
Posts: 73
xiaobu
Offline
Regular Contributor
Quote:
Originally Posted by Rafael T. View Post
Have you installed it on the same memory you installed Python?


BR,

Rafael.
yes,in E:\
Reply With Quote

#10 Old Re: help!help! - 2008-12-14, 03:51

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
Quote:
Originally Posted by xiaobu View Post
hi,
when i ciliked it,there was no response!white screen,then exit.
how should i can do?
Note:the sis is just 4kb,but my .py is 6kb!why?
Can you show us the command you used for making the .sis?
Reply With Quote

#11 Old Re: help!help! - 2008-12-14, 03:58

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by xiaobu View Post
hi,
when i ciliked it,there was no response!white screen,then exit.
how should i can do?
Note:the sis is just 4kb,but my .py is 6kb!why?
hello xiaobu
first as rafael has demanded please psot the whole precedure you followed for making sis. Otherwise you have some more options.

if you are making sis for a 3rd edition device why dont you use ensymble for that.
Otherwise have a look at the python debugging techniques for standalone application.

Hope they help you
Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#12 Old Re: help!help! - 2008-12-14, 04:14

Join Date: Nov 2008
Posts: 73
xiaobu
Offline
Regular Contributor
Quote:
Originally Posted by Rafael T. View Post
Can you show us the command you used for making the .sis?
----
this:


Here is how you make a simple standalone app - a *.SIS file - out of your python script:

On your PC, create a folder named e.g. myapps (C:\myapps). This is your working directory.
Then save your python script e.g. named test.py which you want to turn into a standalone app inside the C:\myapps folder.

Open a command line terminal e.g. via windows: Start -> Run -> then type in: cmd
(It shows e.g. C:\Documents and Settings\Administrator> )

On the command line terminal go to your working directory, the myapps folder by typing:
cd C:\myapps
( C:\Documents and Settings\Administrator>cd C:\myapps
It should then show: C:\myapps> )

On the command line terminal type the command:
py2sis test.py myfirst.sis --uid=0x0FFFFFFF --appname=myfirst

(C:\myapps>py2sis test.py myfirst.sis --uid=0x0FFFFFFF --appname=myfirst )


What is what?
py2sis - an executable that does the file conversion, the rest are parameters: test.py - src - Source script - your python script
myfirst.sis - the name the resulting SIS file
uid=0x0FFFFFFF - Symbian UID for the app (can be between 0x0FFFFFFF and 0x0FFFFFFF)
appname - Name of your application (to appear when you run your app)

Hint: In case you get an error message like this when you run the above command: ERROR [Errno 2] No such file or directory: 'C:\\myapps\\templates\\pyapp_template.tmp' , then there is a quick way to get round. Copy the folder called templates (and its content) from the directory C:\Nokia\Tools\Python_for_Series_60\py2sis into the directory C:\myapps . Now you should be able to run the py2sis command successfully.



The resulting standalone app file is called myfirst.sis and is found in your C:\myapps folder. You can push this to your phone, install it and run. When running you can see that it uses a standard icon (puzzle image). If you want to have your own icon then go through the next part of text here below.

You can test the making of a standalone app with the commands above by using this example test.py script.
The resulting standalone app file is myfirst.sis.

-----------------
i make follow that!
but why it can't run on my phone?
Reply With Quote

#13 Old Re: help!help! - 2008-12-14, 06:12

Join Date: Nov 2008
Posts: 73
xiaobu
Offline
Regular Contributor
aha~ I solved !I can make a sis just using my phone!
thanks!
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
I need help!help me ! xiaobu Python 4 2008-12-08 15:57
HELP!!Help! Help!! ljfuzzy Web Technologies and Multimedia Content- Web 技术和多媒体内容 0 2004-02-12 13:54
Help!help!!! michael8008 Multimodecards 1 2003-07-01 13:51

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