Help! Identical code doesn't work in Wing IDE but does in Komodo.

Serge Orlov Serge.Orlov at gmail.com
Thu Apr 20 04:09:37 EDT 2006


fyleow wrote:
> I create a new Python file with the following using Wing IDE.
>
> import feedparser
> d = feedparser.parse("http://feedparser.org/docs/examples/atom10.xml")
> print d.feed.title
>
> I get this error when I debug.
>
> AssertionError:
>
> Traceback (innermost last):
>
> File "c:\Documents and Settings\abc\Application Data\Wing IDE
> 2\untitled-1.py", line 1, in ?
>   import feedparser
> File "c:\Documents and Settings\abc\Application Data\Wing IDE
> 2\untitled-1.py", line 2, in ?
>   d =
> feedparser.parse("http://feedparser.org/docs/examples/atom10.xml")
> File "C:\Python24\Lib\feedparser.py", line 2611, in parse
>   saxparser.parse(source)

[snip]

The traceback is wierd. It states that the first line of untitle-1.py
is calling the second line of the same file. That doesn't make sense.

> Any idea what's wrong?

Seems like it's an IDE specific bug.




More information about the Python-list mailing list