Comment #7 on issue 2322 by teki...@gmail.com: Unable to post reviews with
post-review (0.3.4): can not log in into Reviewboard (1.6.1)
http://code.google.com/p/reviewboard/issues/detail?id=2322
Workaround: copy the cookie from the browser.
A script for OSX:
#!/usr/bin/python
import plistlib
import os
import time
HOME=os.environ["HOME"]
COOKIES=plistlib.readPlist(HOME + "/Library/Cookies/Cookies.plist")
rbs = [x for x in COOKIES if x["Name"] == "rbsessionid"]
f = open(HOME + "/.post-review-cookies.txt", "w")
f.write(""" # Netscape HTTP Cookie File
# http://www.netscape.com/newsref/std/cookie_spec.html
# This is a generated file! Do not edit.
""")
for rb in rbs:
f.write("%s\tFALSE\t%s\tFALSE\t%d\t%s\t%s\n" % (rb["Domain"], rb["Path"],
int(time.mktime(rb["Expires"].timetuple())), rb["Name"], rb["Value"]))
f.close()
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en.