| Reply | « Previous Thread | Next Thread » |
|
Hello,
Ive tried to make a HTTP Connection with the emulator. But this fails with following error: conn = httlib.HTTPConnection("192.168.32.122") AttributeError: 'module' object has no attribute 'HTTPConnection' Btw Im using: S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 2, for C++, Beta Im doing also "import httplib" So it seems that the emulator is usable only for UI-applications because Networking is still not possible. Bad thing ... |
|
Hi ledil and welcome to the forum
![]() Try this: Code:
import httplib
conn = httplib.HTTPConnection("192.168.32.122")
Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
Quote:
So also this doesnt work I still dont know how to test it because I dont want to spend so much money to test this over GSM Thx, anyway ... |
|
Check you current folder for httplib.py files. if you have any files in this name then python will look this before going to lib folders. And hence you will get the error
|
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
welcome to the forum nokia discussion boards yes you are correct we cant save any script name with the name of available modules. 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 |
|---|---|---|---|---|
| Network connection not working on S60 2nd Ed FP2 emulator | jalakuri | Symbian Networking & Messaging | 7 | 2007-05-08 16:47 |
| Connection not working on phone, does on emulator | mattmatt | Symbian Networking & Messaging | 1 | 2007-03-15 16:41 |
| Application is working fine on device but not on emulator | Sharmilasrjasthi | General Symbian C++ | 21 | 2006-06-03 11:32 |
| working on emulator but not on mobile | Al Akaishi | Mobile Java Networking & Messaging & Security | 5 | 2006-03-23 08:16 |
| Fire key not working on emulator. | himsymbian | General Symbian C++ | 0 | 2005-05-25 10:28 |