[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Straw-devel] Image Bug
From: |
Jan Alonzo |
Subject: |
Re: [Straw-devel] Image Bug |
Date: |
Tue, 28 Oct 2003 22:41:35 +1100 |
On Tue, 2003-10-28 at 02:46, Scott Douglas-Watson wrote:
> Hi
Hello,
> characters in start tag: u'@microsoft.com \\nhref', at line 37, column 37"
> src/lib/ImageCache.py:36:add_refer: something went wrong: only supports
> HTTP requests
> File "/usr/bin/straw", line 34, in ?
> s.mainloop()
> File "src/lib/Main.py", line 319, in mainloop
> gtk.main()
> File "src/lib/SubscribeDialog.py", line 175, in location_page_forward
> self._found_feeds = self.find_site(url)
> File "src/lib/SubscribeDialog.py", line 298, in find_site
> ps = self.parse_feed(data, feed)
> File "src/lib/SubscribeDialog.py", line 257, in parse_feed
> parsed = straw.SummaryParserMP().parse(data, feed)
> File "src/lib/SummaryParserMP.py", line 120, in parse
> item.add_image(i)
> File "src/lib/SummaryItem.py", line 51, in add_image
> self._add_image(image_name, restore = False)
> File "src/lib/SummaryItem.py", line 47, in _add_image
> straw.ImageCache.cache.add_refer(image_name, restore, self)
> File "src/lib/ImageCache.py", line 36, in add_refer
> logtb("something went wrong: ", str(e))
> src/lib/SummaryParserMP.py:123:parse: u'Exception Occurred: only
> supports HTTP requests'
> a local file in the description (ie
> href="file://somewhere/on/my/d/drive"). This causes an exception to be
> raised in ConnectionManager.request() (URLFetch.py line 58) which I
> think is fine, we just need to catch it again and handle it gracefully.
> I think this should either be caught in ImageCache.py (see lines 24 -
> 37) or in SummaryItem.py (lines 46 - 49) and the image assigned to the
We can do that but I really want to know why it is spitting an
exception. Can you isolate the gotdotnet feed? I just had a clean
checkout and all seems well here that's why if you can isolate the feed,
that would be ace.
Cheers,
--
.''`. Jan Alonzo <jmalonzo at spaceants dot org>
: :' : "A coincidence is a scientific anomaly"
`. `' -- Grisholm, CSI
`-