| Reply | « Previous Thread | Next Thread » |
|
Hello.
I have an error when I try to make a HTTP Connection with the emulator.I'm starting develop with S60 and python for the first time and I have not much idea! ![]() The error appears in the emulator screen is: AttributeError: 'module' object has no attribute 'HTTPConnection' I have the file httplib.py in the correct folder. So I do not know what they can fail ... If anyone could help me,I would be greatly appreciated. Sorry if my English is not quite correct. Thanks, David |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
welcome to forum nokia python discussion boards. ![]() I think the problem might be with the settings for the connection in the emulator. It will be still great if you post some more details like what sdk version and some sample code etc. ![]() ![]() enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Quote:
Thank you very much for answering ![]() I'm using S60_3rd_Edition_SDK_Feature_Pack_2_v1_1_en with PythonForS60_1_4_5_SDK_3rdEd. An example code: import httplib conn = httplib.HTTPConnection("www.python.org") conn.request("GET", "/index.html") r1 = conn.getresponse() Should set up the connection settings in some way especial?? Thanks again |
|
Hi ,
Please use the code tag given as a '#' button on the top line of the window so that it maintain all white space. Regards. Jajal Mehul |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
your code seems correct. i guess you might have downloaded the sdk of PyS60 from sourceforge when the link was broken so try downloading that again and then try with your code. enjoy pythoning ![]() Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| [newbie here] Link error | xitpu | General Symbian C++ | 3 | 2007-01-24 17:53 |
| C-code..unable to make sis | Symbian_Neil | General Symbian C++ | 9 | 2006-12-02 08:55 |
| My BuilderX (with S60 SDK 2.1.NET MS version) cannot build ARMI UREL | danielvidonyi@hotmail.com | Symbian Tools & SDKs | 1 | 2006-05-04 22:30 |
| User break point error in Grid | ag24master | Symbian User Interface | 0 | 2003-08-07 09:20 |
| Unresolved external symbols problem | georgica1979 | Symbian User Interface | 1 | 2003-04-06 14:26 |