[wingide-users] Bug in wingide ?

Deepankar Sharma deepankar.sharma at gmail.com
Tue Jan 26 18:29:31 MST 2010


I am sorry I was not aware of this feature in Wing, once I disable the
pause at AssertionError things work as intended.

On Tue, Jan 26, 2010 at 8:13 PM, Chris Curvey <chris at chriscurvey.com> wrote:
> What does "does not work" mean?  Are you getting a stack trace?  An
> unexpected result?
> I ran your code in Wing, and it stopped at an AssertionError in
> feedparser.py.  That's normal -- Wing stops at some exceptions so you can
> figure out why they were raised.  You can control the exceptions that Wing
> stops at in Edit->Preferences, then look under Debugger/Exceptions.
> If you only want to ignore exceptions raised at a particular point, run your
> code and wait for the exception to be raised.  Then in the Exceptions tool,
> check the "ignore this exception location", then hit the debug button, and
> the program will run to completion.
> My results were just the string "Sample Feed"
>
> On Tue, Jan 26, 2010 at 7:47 PM, Deepankar Sharma
> <deepankar.sharma at gmail.com> wrote:
>>
>> The following code does not work in wingide but works on the command
>> line and in other ides. The code uses feedparser from
>> http://www.feedparser.org/
>>
>>
>> import feedparser
>> d = feedparser.parse("http://feedparser.org/docs/examples/atom10.xml")
>> print d.feed.title
>>
>>
>> sys.path from the wingide session is:
>> /home/nazaare
>> /usr/lib/python2.5
>> /usr/lib/python2.5/plat-linux2
>> /usr/lib/python2.5/lib-tk
>> /usr/lib/python2.5/lib-dynload
>> /usr/local/lib/python2.5/site-packages
>> /usr/lib/python2.5/site-packages
>> /usr/lib/python2.5/site-packages/Numeric
>> /usr/lib/python2.5/site-packages/PIL
>> /usr/lib/python2.5/site-packages/gst-0.10
>> /var/lib/python-support/python2.5
>> /usr/lib/python2.5/site-packages/gtk-2.0
>> /var/lib/python-support/python2.5/gtk-2.0
>>
>> However the same code runs when run from the command line -
>> nazaare at appserver:~$ python untitled-1.py
>> Sample Feed
>>
>> sys.path from the command line is:
>> /home/nazaare
>> /usr/lib/python2.5
>> /usr/lib/python2.5/plat-linux2
>> /usr/lib/python2.5/lib-tk
>> /usr/lib/python2.5/lib-dynload
>> /usr/local/lib/python2.5/site-packages
>> /usr/lib/python2.5/site-packages
>> /usr/lib/python2.5/site-packages/Numeric
>> /usr/lib/python2.5/site-packages/PIL
>> /usr/lib/python2.5/site-packages/gst-0.10
>> /var/lib/python-support/python2.5
>> /usr/lib/python2.5/site-packages/gtk-2.0
>> /var/lib/python-support/python2.5/gtk-2.0
>>
>>
>> Regards,
>> Deepankar
>> _________________________________________________
>> Wing IDE users list
>> http://wingware.com/lists/wingide
>
>
>
> --
> The source of your stress might be a moron
>


More information about the wingide-users mailing list