Bug#897284: rss2email: barfs "sax parsing error: :2:0: syntax error:" even on debian rss feeds

2018-08-29 Thread Olivier Berger
On Tue, May 01, 2018 at 11:48:37AM +0200, Gregor Zattler wrote:
> Dear Maintainer,
> 
> I configured r2e as described in the man page quick start and run
> it.  It did not work but gave this info:
> 
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
> 
> $ r2e -V -V -V -V -V -V -V -V -V -V -V run
> load feed configuration from ['/etc/xdg/rss2email.cfg', 
> '/home/grfz/.config/rss2email.cfg']
> loaded configuration from ['/home/grfz/.config/rss2email.cfg']
> load feed data from /home/grfz/.local/share/rss2email.json
> fetch debian-news (url -> https://www.debian.org/News/news)
> process debian-news (url -> https://www.debian.org/News/news)

May I suggest that you post an excerpt of r2e list ?

I think you probably misconfigured the Debian feed.

I think the trace should exhibit something like :
fetch debian-news (https://www.debian.org/News/news -> u...@example.com)

which gives me the impression that you mistyped the arguments of the r2e
add, using "url" instead of the URL of the feed and the URL instead of
the optional recipient of the mails.

Tell me if I'm guessing right.

Then this show-stopper bug could probably be closed.

Hope this helps

-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)



Bug#897284: rss2email: barfs "sax parsing error: :2:0: syntax error:" even on debian rss feeds

2018-05-01 Thread Gregor Zattler
Hi, this typo:
* Gregor Zattler  [2018-05-01; 11:48]:
> fetch debian-news2 (url -> http2://www.debian.org/News/news)
> process debian-news2 (url -> http2://www.debian.org/News/news)
> HTTP status 200
> could not get HTTP headers: debian-news2 (url -> 
> http2://www.debian.org/News/news)
> unrecognized version: debian-news2 (url -> http2://www.debian.org/News/news)
> sax parsing error: :2:0: syntax error: debian-news2 (url -> 
> http2://www.debian.org/News/news)

"http2" is a typo: it should read "http".  I reconfigured and got
the same error messages.  I also did the test on buster with the
same results.

Ciao; Gregor 



Bug#897284: rss2email: barfs "sax parsing error: :2:0: syntax error:" even on debian rss feeds

2018-05-01 Thread Gregor Zattler
Package: rss2email
Version: 1:3.9-4
Severity: grave
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I configured r2e as described in the man page quick start and run
it.  It did not work but gave this info:

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

$ r2e -V -V -V -V -V -V -V -V -V -V -V run
load feed configuration from ['/etc/xdg/rss2email.cfg', 
'/home/grfz/.config/rss2email.cfg']
loaded configuration from ['/home/grfz/.config/rss2email.cfg']
load feed data from /home/grfz/.local/share/rss2email.json
fetch debian-news (url -> https://www.debian.org/News/news)
process debian-news (url -> https://www.debian.org/News/news)
HTTP status 200
could not get HTTP headers: debian-news (url -> 
https://www.debian.org/News/news)
unrecognized version: debian-news (url -> https://www.debian.org/News/news)
sax parsing error: :2:0: syntax error: debian-news (url -> 
https://www.debian.org/News/news)
fetch debian-news2 (url -> http2://www.debian.org/News/news)
process debian-news2 (url -> http2://www.debian.org/News/news)
HTTP status 200
could not get HTTP headers: debian-news2 (url -> 
http2://www.debian.org/News/news)
unrecognized version: debian-news2 (url -> http2://www.debian.org/News/news)
sax parsing error: :2:0: syntax error: debian-news2 (url -> 
http2://www.debian.org/News/news)
save feed configuration to /home/grfz/.config/rss2email.cfg
save feed data to /home/grfz/.local/share/rss2email.json

   * What was the outcome of this action?

I got no rss emails.  This is true for rss feeds for instance of
The Guardian WebSite https://www.theguardian.com/ as two other
german newspaper websites.

   * What outcome did you expect instead?

To get some emails.


For this bug report I downloaded rss2email for buster and rebuild
it on stretch in order to test it.


Thanks for your attention, Gregor

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rss2email depends on:
ii  python3 3.5.3-1
ii  python3-feedparser  5.1.3-3
ii  python3-html2text   2016.9.19-1

Versions of packages rss2email recommends:
ii  python3-bs4  4.5.3-1

Versions of packages rss2email suggests:
pn  esmtp  

-- no debconf information