You Are Here:

Community: Developer Discussion Boards

#1 Old Unhappy Using linux for development using PyS60 - 2008-08-18, 15:28

Join Date: Aug 2008
Posts: 10
kartiksinghal
Offline
Registered User
I am using Ubuntu 8.04 (Hardy) as the sole operating system on my PC.

My N72 doesn't get recognized even as a mass storage device while connected through cable. (It worked fine with Nokia PCSuite before, when I used Win XP).

I tried to establish bluetooth connection between the PC and the phone. It connects but sending a file shows "send failed" error on both sides.

So, final option left to me is to use the memory card and that's what I did for installing PyS60 on phone. But I can't find any tool to program in PyS60 on my PC (read: couldn't find an emulator).

What should I do? Taking out memory card again and again and reconnecting it is a really painful work if you have to write scripts. Please suggest something why I am unable to connect my phone with the PC, or what I have to do to use bluetooth for this connectivity.

Kartik
www.techglider.com
Reply With Quote

#2 Old Re: Using linux for development using PyS60 - 2008-08-18, 15:34

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Hi and welcome to the Python discussion board.

If you already have an emulator, you can download the PyS60 SDK (the thing you install in the emulator to have python on it) from here (PythonForS60_1_4_4_SDK_2ndEdFP3.zip). See this article for instructions on how to install it.
Reply With Quote

#3 Old Unhappy Re: Using linux for development using PyS60 - 2008-08-18, 16:13

Join Date: Aug 2008
Posts: 10
kartiksinghal
Offline
Registered User
Thanks for early reply,
I don't have an emulator.
and the SDK, I suppose, is meant to work on windows XP not on linux. So, it's futile to download it

PS: Did I forgot to mention I don't have windows on my PC and Ubuntu is one variant of linux?
Reply With Quote

#4 Old Re: Using linux for development using PyS60 - 2008-08-18, 16:43

Join Date: Feb 2008
Posts: 2,543
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 kartiksinghal View Post
Thanks for early reply,
I don't have an emulator.
and the SDK, I suppose, is meant to work on windows XP not on linux. So, it's futile to download it

PS: Did I forgot to mention I don't have windows on my PC and Ubuntu is one variant of linux?
hi kartiksinghal
as far as i know there is no SDKs for linux but i may be wrong.


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

Forum Nokia Python Wiki


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

#5 Old Re: Using linux for development using PyS60 - 2008-08-18, 16:51

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by gaba88 View Post
hi kartiksinghal
as far as i know there is no SDKs for linux but i may be wrong.
Correct, no linux SDK. However some people are developing on linux box. Just need a text editor and bluetooth connection. Did you search the forum, there were detailed instructions about how to setup bluetooth?

Good luck,

--jouni
Reply With Quote

#6 Old Re: Using linux for development using PyS60 - 2008-08-19, 00:25

Join Date: Jul 2007
Posts: 159
Location: Eindhoven, the Netherlands
hurenkam
Offline
Regular Contributor
Hi,

I'm also developing on a non-windows platform, I use a Macbook with OSX, and sometimes boot into Kubuntu 7.10. In my experience, KDE/Bluetooth works even better than the XP, nokia or mac bluetooth connection tools.
Perhaps your hardware is not well supported on Linux? You could probably pick-up a cheap bluetooth dongle to replace it.
For me connecting to my N95 via bluetooth has never been a problem on any platform (being XP, OSX or Linux). It

As for a decent IDE, that's a different story alltogether. I started out using Eclipse with the pys60compat libs, so that I could have some sort of compatible S60 environment on Linux. However pys60compat is not complete nor accurate, and although I worked together with the developers to get some improvements in, I have decided to move in a different direction.
Now, I just simply design my apps with complete seperation of logic and gui in mind, thus I can test a lot on the Linux/OSX platform. It also improves portability to different platforms :-)

I like Eclipse as a development platform, with Pydev, and a 'stubbed' UI (I use wxpython to implement an alternate ui), I can really test most of the features before running them on the actual platform. And since I wrapped an abstraction layer around the positioning api, I can also easily simulate GPS input on OSX/Linux/XP as well.
Eclipse is available on all major platforms (XP/OSX/Linux) so I have yet to find myself in a position where I could not use it.


Regards,
Mark.
Last edited by hurenkam : 2008-08-19 at 00:34.
Reply With Quote

#7 Old Re: Using linux for development using PyS60 - 2008-08-19, 00:53

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
Quote:
Originally Posted by hurenkam View Post
I like Eclipse as a development platform, with Pydev,
Here is a Wiki article on Eclipse + PyDev - Good choice to develop Python applications.

Best Regards,
Croozeus
Reply With Quote

#8 Old Thumbs up Re: Using linux for development using PyS60 - 2008-08-19, 02:45

Join Date: Aug 2008
Posts: 10
kartiksinghal
Offline
Registered User
said:
Quote:
For me connecting to my N95 via bluetooth has never been a problem on any platform (being XP, OSX or Linux)
N95 is a S60 3rd edition device. S60 3rd edition phones don't have any problems with connectivity (they even get connected as mass storage device). But I have N72 that's S60 2nd edition.

JOM said:
Quote:
Did you search the forum, there were detailed instructions about how to setup bluetooth?
I have searched a lot on the forums and also confirmed on LaunchPad that there is some bug in the bluetooth connectivity with my operating system i.e. Ubuntu 8.04. It works fine with Ubuntu 7.10 (or Kubuntu 7.10 for that matter). The problem will be resolved in the next version of Ubuntu, so, I will have to wait or downgrade to Ubuntu 7.10.

hurenkam said:
Quote:
In my experience, KDE/Bluetooth works even better than the XP, nokia or mac bluetooth connection tools.
Perhaps your hardware is not well supported on Linux? You could probably pick-up a cheap bluetooth dongle to replace it.
I agree that will work fine with Ubuntu 7.10 (read above). I only have a cheap bluetooth dongle only as bluetooth connectivity device for my Desktop PC and it's well supported. I am able to find the phone and setup services using the dongle. Maybe the problem is only because of that bug with Ubuntu 8.04.

Thanks to all of you who responded. I will try to setup Eclipse + PyDev and maybe even downgrade to Ubuntu 7.10.
Reply With Quote

#9 Old Re: Using linux for development using PyS60 - 2008-08-19, 21:18

Join Date: Dec 2007
Posts: 409
Location: Tempe, AZ
Send a message via Yahoo to shubhendra Send a message via Skype™ to shubhendra
shubhendra's Avatar
shubhendra
Offline
Forum Nokia Champion
Hey Kartik,
Please view this page for resolving bluetooth issues in Ubuntu 8.04 LTS,

http://vikashazrati.wordpress.com/20...ms-ubuntu-804/


IDEAS is all they need but still they think only Genius can give them that.
Reply With Quote

#10 Old Re: Using linux for development using PyS60 - 2008-08-20, 09:08

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by kartiksinghal View Post
I am using Ubuntu 8.04 (Hardy) as the sole operating system on my PC.
On a related note, the next version of Ubuntu, 8.10 (Intrepid) will have Ensymble directly available in the list of packages. Debian Testing has it too.
Reply With Quote

#11 Old Unhappy Re: Using linux for development using PyS60 - 2008-08-20, 23:33

Join Date: Aug 2008
Posts: 10
kartiksinghal
Offline
Registered User
Quote:
Originally Posted by jethro.fn View Post
On a related note, the next version of Ubuntu, 8.10 (Intrepid) will have Ensymble directly available in the list of packages. Debian Testing has it too.
Ensymble is meant for S60 3rd edition devices, I have a 2nd edition N72. So, no luck for me in Intrepid.
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
New to Python for S60 (PyS60)? Read this first! croozeus Python 2 2008-10-17 20:23
Amora: PyS60 app to control Linux savago Python 7 2007-09-29 17:20
Compiling pyS60 on linux bacademy Python 0 2007-04-14 15:27
Building pys60 on linux? sjh Python 2 2006-11-06 17:03
PyS60 in Linux mgade Python 9 2006-03-03 17:24

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