Hi Andy,

Are you sure that you aren't attempting to catch InvalidURLError without
having imported that name? Python does not check that exception patterns
have existing names until an exception (*any* exception is thrown) e.g.

>>> try: ... 1 ... except Foo: ... pass ... 1

>>> try: ... 1/0 ... except Foo: ... pass ... Traceback (most recent call
last): File "<stdin>", line 3, in <module> NameError: name 'Foo' is not
defined

Cheers,
Brian


On 27 July 2013 16:20, Andy Warner <andy.war...@gmail.com> wrote:

> Looks like it started at exactly 4pm Pacific. I have requests moments before 
> that were fine and everything after is throwing a name error for 
> InvalidURLError, so it is not just fetches failing, urlfetch is missing 
> libraries in webapp2.
>
>
> except InvalidURLError:
>
> NameError: global name 'InvalidURLError' is not defined
>
>
> On Saturday, July 27, 2013 4:06:27 PM UTC-7, Adam Sah wrote:
>>
>> ouch!
>>
>> adam
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to