×

Discussion Board

Results 1 to 8 of 8

Hybrid View

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    Exclamation urllib.urlopen not working in 1.1.3 release

    Is anyone else having the same problem?

    Thanks,

    Anthony


    Connected.
    Python 2.2.2 (#0, Jun 14 2005, 11:39:41)
    [GCC 2.9-psion-98r2 (Symbian build 546)] on symbian_s60
    Type "copyright", "credits" or "license" for more information.
    Type "commands" to see the commands available in this simple line editor.
    >>> import urllib
    >>> site = urllib.urlopen(r'http://www.dslreports.com/rss.xml')
    >>> site.readlines()
    Traceback (most recent call last):
    File "<console>", line 1, in ?
    File "C:\system\libs\socket.py", line 466, in readlines
    line = self.readline()
    File "C:\system\libs\socket.py", line 451, in readline
    new = self._sock.recv(self._rbufsize)
    error: Attempt to use a closed socket
    >>>

  2. #2
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    Re: urllib.urlopen not working in 1.1.3 release

    Originally posted by tarlano
    Is anyone else having the same problem?
    Well, I am The new socket code apparently isn't as stable as I thought. Will take a look at that ASAP. Thanks for the report.

  3. #3
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Bangkok, Thailand
    Posts
    148
    I'd like to report another bug (not about urilib).
    The calendar module (2.0 SIS) search function (cal.find_instances(t1,t2,keyword))
    return only 1 result. I don't think this is what it is intended (but can't check with the doc )

  4. #4
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    Thanks for looking into this

    Jukka :-D

    Thanks for looking into this and thanks again for the select module..

    Anthony

  5. #5
    Registered User
    Join Date
    Mar 2005
    Posts
    1
    Originally posted by korakotc
    I'd like to report another bug (not about urilib).
    The calendar module (2.0 SIS) search function (cal.find_instances(t1,t2,keyword))
    return only 1 result. I don't think this is what it is intended (but can't check with the doc )

    -the method should return all the instances occurring on the first day (between the start and end dates) that contains matching instances.

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    7

    HTTPSConnections still not working

    More code that doesn't work for no apparent reason:

    Code:
    import httplib
    conn = httplib.HTTPSConnection("www.thawte.com")
    conn.connect()
    conn.request("GET","/cert-swap-offer.html")
    r = conn.getresponse()
    Python interpreter will exit after the last line. Can't get a working SSL connection whichever way I try. Anyone?

  7. #7
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    Re: Re: urllib.urlopen not working in 1.1.3 release

    Originally posted by jplauril
    Well, I am The new socket code apparently isn't as stable as I thought. Will take a look at that ASAP. Thanks for the report.
    Okay, this bug is now fixed and will appear in the next release, which should be posted within a few days.

  8. #8
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643
    Tracking number for the urllib bug is #198, and it is fixed in 1.1.5.

    No solution to the SSL bug (#207) yet.

    On the calendar bug: try 1.1.5 and if you still see it, please post a new thread about it.

    In general, try to create a new thread for each separate problem.

Posting Permissions

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