Here's a patch: --- /usr/share/rss2email/rss2email.py~ 2005-05-20 13:48:48.570630696 +0100 +++ /usr/share/rss2email/rss2email.py 2005-05-20 13:55:08.693843184 +0100 @@ -240,7 +240,15 @@ self.to = to def load(lock=1): - feedfileObject = open(feedfile, 'r') + if not os.path.exists(feedfile): + print "Feedfile does not exist. If you're using r2e for the first time, you" + print "have to run 'r2e new' first." + sys.exit(1) + try: + feedfileObject = open(feedfile, 'r') + except IOError, e: + print "Feedfile could not be opened: %s" % e + sys.exit(1) feeds = pickle.load(feedfileObject) if lock: fcntl.flock(feedfileObject.fileno(), fcntl.LOCK_EX)
-- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]