[wingide-users] wingide-users Digest, Vol 99, Issue 16
Francisco Javier Ortega Manso
mavikel at me.com
Wed Jul 25 03:06:52 MDT 2012
Good morning:
Can anyone tell me if Wing IDE is compatible with Mountain Lion?
Thanks,
Enviado desde mi iPad
El 24/07/2012, a las 20:00, wingide-users-request at wingware.com escribió:
> Send wingide-users mailing list submissions to
> wingide-users at wingware.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://wingware.com/mailman/listinfo/wingide-users
> or, via email, send a message with subject or body 'help' to
> wingide-users-request at wingware.com
>
> You can reach the person managing the list at
> wingide-users-owner at wingware.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of wingide-users digest..."
>
>
> Today's Topics:
>
> 1. Python or maybe a Wing IDE question. (Joe Goldthwaite)
> 2. Re: Python or maybe a Wing IDE question. (Chris Curvey)
> 3. Re: Python or maybe a Wing IDE question. (Wing IDE Support)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 23 Jul 2012 17:22:06 -0700
> From: Joe Goldthwaite <joe at goldthwaites.com>
> To: wingide-users at wingware.com
> Subject: [wingide-users] Python or maybe a Wing IDE question.
> Message-ID:
> <CA+FoDzpJhJuixYc_TqBk3OA8=hwZXwDGR1uE42LcyDgK1Gbcig at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Everyone,
>
> I'm trying to debug a django application and am running into a problem on
> this segment;
>
> try:
> request.session['user_obj']
> return HttpResponseRedirect('/myprofile/')
> except Exception as ex:
> pass
>
> The IDE is blowing up on the requst.session['user_obj'] line. Since that
> line in a try/except clause, shouldn't it just fall through instead of
> going into the debugger?
>
> One of two things is happening. Either the clause "except Exception as
> ex:" isn't trapping a key error or Wing is aborting on all errors even if
> it's handled in the code.
>
> The only reason I suspect the second is that many years ago when I was
> using Wing, I remember there was a setting that controlled whether or not
> the debugger was invoked on handled errors. I couldn't find any setting in
> Wing 4.1.7-1. I thought that except Exception would trap any runtime
> error. I could be wrong on that though.
>
> Any advice?
>
> Joe Goldthwaite.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: </pipermail/wingide-users/attachments/20120723/ecb32b90/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 23 Jul 2012 21:32:24 -0400
> From: Chris Curvey <chris at chriscurvey.com>
> To: Joe Goldthwaite <joe at goldthwaites.com>
> Cc: wingide-users at wingware.com
> Subject: Re: [wingide-users] Python or maybe a Wing IDE question.
> Message-ID:
> <CADfwSsATMbtb7W+b+dPVV7pjzBnNc6isyA71NegoERraNdBXSg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Jul 23, 2012 at 8:22 PM, Joe Goldthwaite <joe at goldthwaites.com> wrote:
>> Hi Everyone,
>>
>> I'm trying to debug a django application and am running into a problem on
>> this segment;
>>
>> try:
>> request.session['user_obj']
>> return HttpResponseRedirect('/myprofile/')
>> except Exception as ex:
>> pass
>>
>> The IDE is blowing up on the requst.session['user_obj'] line. Since that
>> line in a try/except clause, shouldn't it just fall through instead of going
>> into the debugger?
>>
>> One of two things is happening. Either the clause "except Exception as ex:"
>> isn't trapping a key error or Wing is aborting on all errors even if it's
>> handled in the code.
>>
>> The only reason I suspect the second is that many years ago when I was using
>> Wing, I remember there was a setting that controlled whether or not the
>> debugger was invoked on handled errors. I couldn't find any setting in Wing
>> 4.1.7-1. I thought that except Exception would trap any runtime error. I
>> could be wrong on that though.
>>
>> Any advice?
>
> I think the setting you are looking for is in
> Edit->Preferences->Debugger/Exceptions. At the top there is a
> drop-down for "Report Exceptions". My default is set to "when
> printed". (But I don't know what the right setting would be.)
>
> I'd never seen the "except Exception as ex" syntax. I'd always used
> "except Exception, e:" I guess I learned something today!
>
>>
>> Joe Goldthwaite.
>>
>>
>> _________________________________________________
>> Wing IDE users list
>> http://wingware.com/lists/wingide
>
>
>
> --
> e-Mail is the equivalent of a postcard written in pencil. This
> message may not have been sent by me, or intended for you. It may
> have been read or even modified while in transit. e-Mail disclaimers
> have the same force in law as a note passed in study hall. If your
> corporate attorney says that you need an disclaimer in your signature,
> you need a new corporate attorney.
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 24 Jul 2012 11:11:58 -0400
> From: Wing IDE Support <support at wingware.com>
> To: Joe Goldthwaite <joe at goldthwaites.com>
> Cc: wingide-users at wingware.com
> Subject: Re: [wingide-users] Python or maybe a Wing IDE question.
> Message-ID: <500EBB3E.9060100 at wingware.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 7/23/12 8:22 PM, Joe Goldthwaite wrote:
>> Hi Everyone,
>>
>> I'm trying to debug a django application and am running into a problem
>> on this segment;
>>
>> try:
>> request.session['user_obj']
>> return HttpResponseRedirect('/myprofile/')
>> except Exception as ex:
>> pass
>>
>> The IDE is blowing up on the requst.session['user_obj'] line.
>
> Is it stopping on a KeyError exception or something else? You do
> probably want to check that you're using the When Printed reporting mode
> in the Exception preferences.
>
> Thanks,
>
> John
>
>
>
> ------------------------------
>
> _________________________________________________
> Wing IDE users list
> http://wingware.com/lists/wingide
>
> End of wingide-users Digest, Vol 99, Issue 16
> *********************************************
More information about the wingide-users
mailing list