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

2006-04-20 Thread BartlebyScrivener
Not sure if this would cause it, but I also have both Wing and Komodo, and when I search for files named FeedParser, I get this: c:/Documents and Settings\Richard Dooling\Local Settings\Application Data\Wing IDE 2\cache\analysis\C\Python24\lib\email\FeedParser.py.ether c:/Program Files\ActiveStat

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

2006-04-20 Thread John Machin
On 20/04/2006 5:54 PM, 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. > [snip] > > With the exact same line of c

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

2006-04-20 Thread Serge Orlov
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:\Doc

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

2006-04-20 Thread Luke Plant
> With the exact same line of code in Komodo I get the correct output > which is "Sample Feed" > > Any idea what's wrong? My guess would be different PYTHONPATHs. Try this on each: >>> import sys >>> print sys.path They might even be using different python versions - but both of these are just

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

2006-04-20 Thread fyleow
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