[DRE-maint] Bug#722670: feed2imap: feed-item causes crash

Christoph Feenders debian at echti.de
Tue Apr 5 08:15:45 UTC 2016


Hi Antonio,

yes, I still have this problem using Debian Jessie.

The troublesome feed is available here:
http://iopscience.iop.org/0295-5075/?rss=1

The web-site does not seem very responsive and I have the feeling that
the error/problem only occurs in some kind of timeout condition when the
server stops answering in the middle of a request (see current log for
the feed below).


---
F, [2016-04-05T05:02:07.759207 #18809] FATAL -- : Error while parsing
EPL: #<RuntimeError: Illegal character '&' in raw string "
		  /*  Cutting the mustard -
http://responsivenews.co.uk/post/18948466399/cutting-the-mustard */
		
		  /* Below is the original if statement, from the link above. I have
amended it to turn of JS on all IE browsers less than 10.
		    This is due to a function in the iop.jquery.toolbar line 35/36.
Uses .remove which is not native js supported in IE9 or lower */
		  /*if('querySelector' in document
		    && 'localStorage' in window
		    && 'addEventListener' in window)*/
		
		  /* This is the updated selector, taken from:
https://justmarkup.com/log/2015/02/26/cut-the-mustard-revisited/ */
		    if('visibilityState' in document) {
		
		    /*! loadJS: load a JS. We are loading this command straight away,
before the body loads, so that IF a user has JS enabled, their show hide
panels will automatically be closed. */
		    /* If this isn't here, then these panels appear open while the
page is loading, then when the js loads at the bottom of the page, they
are shut. So the users sees open content, then hidden after a second or
2 when the js is loaded. Not nice */
		    document.write("">
/usr/lib/ruby/2.1.0/rexml/text.rb:155:in `block in check'
/usr/lib/ruby/2.1.0/rexml/text.rb:153:in `scan'
/usr/lib/ruby/2.1.0/rexml/text.rb:153:in `check'
/usr/lib/ruby/2.1.0/rexml/text.rb:120:in `initialize'
/usr/lib/ruby/2.1.0/rexml/parsers/treeparser.rb:46:in `new'
/usr/lib/ruby/2.1.0/rexml/parsers/treeparser.rb:46:in `parse'
/usr/lib/ruby/2.1.0/rexml/document.rb:287:in `build'
/usr/lib/ruby/2.1.0/rexml/document.rb:44:in `initialize'
/usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:64:in `new'
/usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:64:in `parse'
/usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:53:in `initialize'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:229:in `new'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:229:in `block in
initialize'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:223:in `each'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:223:in `initialize'
/usr/bin/feed2imap:48:in `new'
/usr/bin/feed2imap:48:in `<main>'
...
Illegal character '&' in raw string "
		  /*  Cutting the mustard -
http://responsivenews.co.uk/post/18948466399/cutting-the-mustard */
		
		  /* Below is the original if statement, from the link above. I have
amended it to turn of JS on all IE browsers less than 10.
		    This is due to a function in the iop.jquery.toolbar line 35/36.
Uses .remove which is not native js supported in IE9 or lower */
		  /*if('querySelector' in document
		    && 'localStorage' in window
		    && 'addEventListener' in window)*/
		
		  /* This is the updated selector, taken from:
https://justmarkup.com/log/2015/02/26/cut-the-mustard-revisited/ */
		    if('visibilityState' in document) {
		
		    /*! loadJS: load a JS. We are loading this command straight away,
before the body loads, so that IF a user has JS enabled, their show hide
panels will automatically be closed. */
		    /* If this isn't here, then these panels appear open while the
page is loading, then when the js loads at the bottom of the page, they
are shut. So the users sees open content, then hidden after a second or
2 when the js is loaded. Not nice */
		    document.write(""
Line: 62
Position: 1821
Last 80 unconsumed characters:
<style> (failed 349 times)



More information about the Pkg-ruby-extras-maintainers mailing list