On Thu, Oct 06, 2011 at 10:44:32AM +0200, Etienne Millon wrote:
> tag 644453 + squeeze moreinfo
> thanks
> 
> Hello,
> 
> I cannot reproduce this bug. I have a few questions if you don't mind :
> 
>   - What are the exact steps you did ? just r2e run or after r2e new
>     and importing a feed ?

I had a .rss2email directory from another machine that I would
ultimately like to use, but I can reproduce this even with a new
config:

luke@localhost:~$ mv .rss2email/ rss2email
luke@localhost:~$ r2e new
luke@localhost:~$ r2e add 
http://feeds.arstechnica.com/arstechnica/index?format\x3dxml email@tld
Traceback (most recent call last):
  File "/usr/share/rss2email/rss2email.py", line 756, in <module>
    elif action == "add": add(*args)
  File "/usr/share/rss2email/rss2email.py", line 479, in add
    feeds, feedfileObject = load()
  File "/usr/share/rss2email/rss2email.py", line 445, in load
    fcntl.flock(feedfileObject.fileno(), locktype)
IOError: [Errno 38] Function not implemented
luke@localhost:~$ 

>   - Can you post your configuration file (make sure to anonymize it) ?

after the above, I end up with a .rss2email directory that contains only a 
feeds.dat file.

> 
> >     fcntl.flock(feedfileObject.fileno(), locktype)
> 
> This could be flock() or fileno() that triggers the exception. Can you
> try to run a copy of rss2email edited in the following way :
> 
> >     fn = feedfileObject.fileno()
> >     fcntl.flock(fn, locktype)

after the modification above, the traceback looks like:

Traceback (most recent call last):
  File "/usr/share/rss2email/r2e.py", line 750, in <module>
    else: run()
  File "/usr/share/rss2email/r2e.py", line 490, in run
    feeds, feedfileObject = load()
  File "/usr/share/rss2email/r2e.py", line 447, in load
    fcntl.flock(fn, locktype)
IOError: [Errno 38] Function not implemented

line 447 is the line fcntl.flock(fn, locktype)

thanks!!

Luke




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to