You Are Here:

Community: Developer Discussion Boards

#1 Old Question Developing S60 3rd edition using Linux - 2006-07-09, 20:09

Join Date: Jun 2006
Posts: 3
stone4x4
Offline
Registered User
Wonderful news with the python beta for 3rd ed!

So I got my E61 and now I got Python on it! So now I'm ready to do some real stuff with it. But the first thing I noticed is that it's a pita to write/upload/run for every test and it would be nice to test it on my local machine first. So I downloaded pys60-compat from http://sourceforge.net/projects/pys60-compat/ , python-2.2.2 and wxPython and tried to setup everthing but it turnes out that --prefix options etc are not honored by wxPyhton so it got really messy and I gave up for today and thought maybe I should ask here.

So are there anyone here using Linux to develop on the S60? How have you setup things? What tools do you use etc...

Thanks in advance!
Reply With Quote

#2 Old Re: Developing S60 3rd edition using Linux - 2006-07-10, 12:35

Join Date: Jul 2006
Posts: 5
Location: berlin
zsoltbarat
Offline
Registered User
i still write and upload. i just found out that putting the script in E:/Phyton is enough to be executed via the shell. i have a N91 and i do it on linux. beside that i have also set up a windoze system for c++ and the emulator. to load it via the shell seems also the only way to run a script. otherwise they aren'r recoginzed as execs.
but thanks for the tip i will try the emulation too.
Reply With Quote

#3 Old Re: Developing S60 3rd edition using Linux - 2006-07-13, 16:35

Join Date: Jul 2006
Posts: 5
Location: berlin
zsoltbarat
Offline
Registered User
update: i just installed pys60-compat and wxPython. installation on gentoo is pretty easy since wxPython is in portage. pys60-compat has to be copied to a PYTHONPATH and you are ready to go. the use of pys60-compat seems to be a bit limited, currently. the audio-module for example isn't supported, but for testing the gui (listboxes, menus) it is allready usefull.
Reply With Quote

#4 Old Re: Developing S60 3rd edition using Linux - 2006-07-19, 14:19

Join Date: Feb 2005
Posts: 30
dnastase's Avatar
dnastase
Offline
Registered User
Works for me too, although only for python2.4

This is what you need to do for ubuntu:
download pys60-compat-0.4.tgz
sudo apt-get install python-wxgtk2.6 python-wxtools wx2.6-i18n

then in the script:
if 'linux2' == sys.platform:
sys.path.append('....../s60-compat')

and everything is fine.

I find it very usefull as copying it to my E70 and executing it there is more time consuming.
This way I catch immediately syntax errors and any GUI error.
Reply With Quote

#5 Old Re: Developing S60 3rd edition using Linux - 2006-07-28, 17:54

Join Date: Jul 2006
Posts: 7
nokiameister
Offline
Registered User
sorry, made a mistake
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
Python for S60 3rd Edition jplauril Python 82 2008-06-04 05:47
S60 2nd OR 3rd edition for new software development patil_ruturaj Symbian Tools & SDKs 1 2006-06-30 10:30
S60 2nd OR 3rd edition for new software development patil_ruturaj Mobile Java Tools & SDKs 3 2006-06-30 09:57
What is going on with Vibration on S60? amd_rikus Mobile Java General 3 2006-06-16 01:29
TTime : TInt64& Int64() problem in S60 3rd edition iulian_moldovan Symbian Tools & SDKs 3 2006-01-24 14:07

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