Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 221979

Summary: Please keyword dev-python/feedparser-4.1 and net-news/rawdog-2.11
Product: Gentoo Linux Reporter: Ali Polatel (RETIRED) <hawking>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED INVALID    
Severity: enhancement CC: hppa, s390
Priority: Normal Keywords: KEYWORDREQ
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ali Polatel (RETIRED) gentoo-dev 2008-05-13 18:56:25 UTC
+*rawdog-2.11 (13 May 2008)
+
+  13 May 2008; Ali Polatel <hawking@gentoo.org>
+  +files/rawdog-2.11-system-feedparser.patch, +rawdog-2.11.ebuild:
+  Version bump. Added patch to use system feedparser. Dropped hppa and s390
+  keywords due to feedparser lacking those keywords.
+

Please test and add keywords.
Thanks.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-13 19:26:58 UTC
What does this mean?

jeroen@elmer ~ $ rawdog -w
Traceback (most recent call last):
  File "/usr/bin/rawdog", line 31, in <module>
    launch()
  File "/usr/bin/rawdog", line 24, in launch
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 1511, in main
    rawdog.write(config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 1385, in write
    self.write_output_file(articles, article_dates, config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 1324, in write_output_file
    bits = self.get_main_template_bits(config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 1298, in get_main_template_bits
    print >>f, '<td>' + feed.get_html_link(config) + '</td>'
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 450, in get_html_link
    s = self.get_html_name(config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 444, in get_html_name
    r = string_to_html(self.url, config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 202, in string_to_html
    return sanitise_html(cgi.escape(s), "", True, config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 94, in sanitise_html
    html = feedparser._resolveRelativeURIs(html, baseurl, "UTF-8", type)
TypeError: _resolveRelativeURIs() takes exactly 3 arguments (4 given)
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2008-05-13 19:55:25 UTC
Ahh, turns out the feedparser rawdog uses is more uptodate then the system
version and has other tweaks.
Readded keywords and removed feedparser DEPEND.
Sorry about this.
/me fails...