mspieth / rssdler

Automatically exported from code.google.com/p/rssdler
4 stars 0 forks source link

cant for the life of me get it to accept my cookie file. #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. have put the netscape header etc, using correct syntax for the cookie

Here is my cookie file:
# HTTP Cookie File
# http://www.netscape.com/newsref/std/cookie_spec.html
# This is a generated file!  Do not edit.
# To delete cookies, use the Cookie Manager.

www.test.com    FALSE   /       FALSE   0       uid     10000

What is the expected output? What do you see instead?

20080626.02:14 DEBUG    testing cookieFile settings
20080626.02:14 DEBUG    attempting to load cookie type: MozillaCookieJar
20080626.02:14 CRITICAL Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/rssdler.py", line 532, in
cookieHandler
    else: cj.load(cFile)
  File "/usr/lib64/python2.4/cookielib.py", line 1723, in load
    self._really_load(f, filename, ignore_discard, ignore_expires)
  File "/usr/lib64/python2.4/_MozillaCookieJar.py", line 109, in _really_load
    raise LoadError("invalid Netscape format file %s: %s" %
LoadError: invalid Netscape format file /home/waldo/.rssdler/cookies.txt:
www.test.com    FALSE   /       FALSE   0       uid     10000
Cookies disabled. RSSDler will reload the cookies if you fix the problem

What version of the product are you using? On what operating system?

latest version of rssdler on centos5 64bit

Please provide any additional information below.

Original issue reported on code.google.com by noxs...@gmail.com on 26 Jun 2008 at 9:15

GoogleCodeExporter commented 8 years ago
I suspect that your cookiefile is handcrafted. Based on the pasted text, you 
have
spaces between the columns instead of a tab. Make sure to just use one 'tab' 
between
each column and you should be good to go. Either way, RSSDler just uses python's
cookielib for netscape cookies, and I am not aware of any bugs in its handling 
of
cookies.

Original comment by lostnihi...@gmail.com on 26 Jun 2008 at 2:53