You Are Here:

Community: Developer Discussion Boards

#1 Old Question Connection Timed out Error - 2008-01-31, 21:02

Join Date: Jan 2008
Posts: 10
dani2mobile
Offline
Registered User
Hi .. is this a bug or my code is buggy ???
This is my code:

import os
import appuifw, socket
import e32
import httplib, urllib

filename = u'c:\\goal.txt'
urllib.urlretrieve(u'http://www.danihome.dnsalias.org',filename)
data = file(filename)
f = data.read()
data.close()
appuifw.app.title = u'go4it on Mobile'
appuifw.app.body = appuifw.Canvas()
i = f.find('title')
while i != -1:
j = f.find('title',i + len('title') + 1)
k = f.find('reminder_type',i)
l = k + len('reminder_type') + 1
str = f[i+ len('title') + 1:j-2] + ' is ' + f[l: f.find('/>',l)]
appuifw.note(unicode(str), 'info')
i = f.find('title',j + len('title') + 1)

os.remove(filename)


I am running it as script in my pys60 interpreter ...
I am getting 'Connection Timed out Error'
However I am able to access the URL via web browser

Whats the issue ...???
Thanks in advance...

#2 Old Re: We need your help! - 2008-02-01, 15:59

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Hi dani and welcome to the PyS60 DibO,

I think someone already answered you here
For a new discussion please start a new thread rather then adding to other discussions...

Best Regards
Croozeus

#3 Old Smile Re: We need your help! - 2008-09-08, 06:53

Join Date: Sep 2008
Posts: 115
Location: Bhavnagar
Send a message via MSN to jalpesh_patel17 Send a message via Yahoo to jalpesh_patel17
jalpesh_patel17's Avatar
jalpesh_patel17
Offline
Regular Contributor
I have also this problem can u tell me other way 2 solve it denny
Closed Thread « 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
please help cell id perthachy General Symbian C++ 12 2007-07-10 14:14
carbidec++ helloworld project problem akhin Carbide.c++ IDE and plug-ins 0 2007-03-11 13:40
code warrior problems mayankkedia Carbide.c++ IDE and plug-ins 2 2004-10-25 07:59
CEikDialog Question AdamBeck General Symbian C++ 2 2004-09-30 20:40
User break point error in Grid ag24master Symbian User Interface 0 2003-08-07 09:20

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