You Are Here:

Community: Developer Discussion Boards

#1 Old Why do I have to install script on same disk as python? - 2008-09-29, 23:02

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Desperate,

I've been trying to debug WHY do I HAVE TO install my (Unity) application SIS on same disk drive as the python interpreter. Couldn't find anything, not while dealing with pys60 scripts alone. Don't have Carbide.c++ Pro for debugging python itself

Does anyone know any features, which require SIS and python to be on same disk?

One strange thing is that I can run c:\python\unity.py without any problems, while my python shell and interpreter remain on e-drive.

What to do,

--jouni
Reply With Quote

#2 Old Re: Why do I have to install script on same disk as python? - 2008-09-30, 06:31

Join Date: Jan 2004
Posts: 368
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
Quote:
Originally Posted by JOM View Post
Desperate,

I've been trying to debug WHY do I HAVE TO install my (Unity) application SIS on same disk drive as the python interpreter. Couldn't find anything, not while dealing with pys60 scripts alone. Don't have Carbide.c++ Pro for debugging python itself
Is sys.path set correctly to point resource files on a proper drive?


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote

#3 Old Re: Why do I have to install script on same disk as python? - 2008-09-30, 06:51

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Talking about SIS files. Yes its mandatory for the Applications and PyS60 to be on the same drive.

Quote:
Originally Posted by jethro.fn View Post
There is still something strange going on with the Python runtime DLL. For some reason it still cannot reliably load Python scripts that are on different drive. There was an obvious bug in PyS60 which I reported on Sourceforge and it was corrected, but something else is still preventing application start-up.
Regarding the scripts, you have a choice, you can place them either in C:\Python or E:\Python. Scripts placed at both the paths are available through the RUN SCRIPT option in the shell. So simple enough.

Btw, JOM, as you might already know, unity works fine for me on the Memory Card

Best Regards,
Croozeus
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
How to install python S60 in sdk on PC? jalpesh_patel17 Python 57 2009-01-06 09:06
Python for S60.Read it once jalpesh_patel17 Python 0 2008-09-08 06:45
[moved] How install Python enviroment for PC emulator sujamuke Python 3 2008-08-14 18:56
help me write a python script psychologe Python 10 2008-01-17 12:12
install on e50: python not showing up belimawr Python 4 2007-02-20 13:03

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