Your message dated Thu, 31 Jul 2014 12:02:07 +0200
with message-id <20140731100207.GA28737@klow>
and subject line Re: Bug#562547: "r2e run" not "disk full" save
has caused the Debian Bug report #562547,
regarding rss2email: feeds.dat corrupted
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
562547: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562547
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rss2email
Version: 1:2.62-3
Severity: normal

I run r2e from my crontab. This morning I discovered that it had
corrupted its feeds.dat (which I am not attaching, but am happy to
send the maintainer privately), and now gives this error to r2e run:

Traceback (most recent call last):
  File "/usr/share/rss2email/rss2email.py", line 718, in <module>
    else: run()
  File "/usr/share/rss2email/rss2email.py", line 462, in run
    feeds, feedfileObject = load()
  File "/usr/share/rss2email/rss2email.py", line 418, in load
    feeds = pickle.load(feedfileObject)
cPickle.BadPickleGet: 11

The output from cron the first time it failed said simply:

Job r2e run >/dev/null 2>&1 terminated (exit status: 1)

A manual check suggests that there have been no new items in my
subscribed feeds for at least a couple of days.

The machine running my crontab has been up for a while, so wasn't
reset recently in the middle of an r2e run, for example.

Let me know if I can provide any other information.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rss2email depends on:
ii  python                       2.5.2-3     An interactive high-level object-o
ii  python-feedparser            4.1-11      Universal Feed Parser for Python
ii  python-support               0.8.4lenny1 automated rebuilding support for P

rss2email recommends no packages.

rss2email suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1:3.8-1

* Michelle Konzack <[email protected]> [140731 09:59]:
> Also should r2e verify before downloading articles, whether it can write
> a temporary file in the appropriaed sizes which then  is  moved  to  the
> original *.dat file.  All other actions are definitively crap.

Hello,

Now r2e can detect when the disk full and will avoid this kind of
corruption. It writes the new data file to a temporary file and rename
it in an atomic manner:

https://github.com/wking/rss2email/commit/466e843e

So I believe that this is taken care of. Otherwise, feel free to
reopen this bug.

Thanks for your report!

-- 
Etienne Millon

--- End Message ---

Reply via email to