Trace/BPT trap when running feedparser inside a Thread object
Posted
by simao
on Stack Overflow
See other posts from Stack Overflow
or by simao
Published on 2010-04-10T20:44:52Z
Indexed on
2010/04/10
20:53 UTC
Read the original article
Hit count: 433
Hello,
I am trying to run a Thread to parse a list of links using the universal feed parser, but when I start the thread I get a Trace/BPT trap.
Here's the code I am using:
class parseRssFiles(Thread):
def __init__ (self,rssLinks):
Thread.__init__(self)
self.rssLinks = rssLinks
def run(self):
self.rssContents = [ feedparser.parse(link) for link in rssLinks]
Is there any other way to do this?
Link to the report generated by Mac OS X 10.6.2: http://simaom.com/trace.txt
Thanks
© Stack Overflow or respective owner