×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    10

    Question Connection Timed out Error

    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. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,796

    Re: We need your help!

    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
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Bhavnagar
    Posts
    115

    Smile Re: We need your help!

    I have also this problem can u tell me other way 2 solve it denny

Similar Threads

  1. please help cell id
    By perthachy in forum Symbian
    Replies: 12
    Last Post: 2007-07-10, 13:14
  2. carbidec++ helloworld project problem
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2007-03-11, 12:40
  3. code warrior problems
    By mayankkedia in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2004-10-25, 06:59
  4. CEikDialog Question
    By AdamBeck in forum Symbian
    Replies: 2
    Last Post: 2004-09-30, 19:40
  5. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×