Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21825

Re: urllib.urlretrieve never returns???

References <4F649BFC.1080601@shopzeus.com> <CAPTjJmq+e1mpvbqCjJ3FsUkPtGcwTpSNgb9jDsO4trX9XDH6ew@mail.gmail.com> <4F64CA75.1060108@shopzeus.com>
Date 2012-03-18 04:53 +1100
Subject Re: urllib.urlretrieve never returns???
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.762.1332006806.3037.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Mar 18, 2012 at 4:31 AM, Laszlo Nagy <gandalf@shopzeus.com> wrote:
> You are right, I should have added "import traceback". However, I tried
> this:
>
>        except:
>            self.Log("Exception")
>
> and still nothing was logged. Another proof is that the number of threads is
> increased every time I press the button. So I'm 100% sure that urlretrieve
> does not return from the call.

Okay, was worth a shot! Hopefully someone else can help more.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: urllib.urlretrieve never returns??? Chris Angelico <rosuav@gmail.com> - 2012-03-18 04:53 +1100

csiph-web