$ editmoin http://<personal_page_url>
Password for <my_moin_id>:
Traceback (most recent call last):
File "/usr/bin/editmoin", line 503, in <module>
main()
File "/usr/bin/editmoin", line 497, in main
edit(argv[0], template)
File "/usr/bin/editmoin", line 459, in edit
cookiename, cookievalue = get_session_cookie(user, url)
File "/usr/bin/editmoin", line 442, in get_session_cookie
cookie.load(result.info()["set-cookie"])
File "/usr/lib/python2.7/rfc822.py", line 388, in __getitem__
return self.dict[name.lower()]
KeyError: 'set-cookie'
Here's the stack and a bit of the trace...
$ editmoin http://<personal_page_url> editmoin" , line 503, in <module> editmoin" , line 497, in main editmoin" , line 459, in edit cookie( user, url) editmoin" , line 442, in get_session_cookie load(result. info()[ "set-cookie" ]) python2. 7/rfc822. py", line 388, in __getitem__ name.lower( )]
Password for <my_moin_id>:
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
edit(argv[0], template)
File "/usr/bin/
cookiename, cookievalue = get_session_
File "/usr/bin/
cookie.
File "/usr/lib/
return self.dict[
KeyError: 'set-cookie'
Ran pdb to see what this was all about...
$ /usr/lib/ python2. 7/pdb.py /usr/bin/editmoin http://<personal_page_url> editmoin( 19)<module> () editmoin: 442 editmoin( 442)get_ session_ cookie( ) load(result. info()[ "set-cookie" ]) 0.9.8e- fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8 User-Agent, Accept- Language
> /usr/bin/
-> """
(Pdb) b 442
Breakpoint 1 at /usr/bin/
(Pdb) r
Password for <my_moin_id>:
> /usr/bin/
-> cookie.
(Pdb) print result.info()
Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
Date: Thu, 15 Sep 2011 17:50:39 GMT
Expires: Wed, 15 Sep 2010 17:50:40 GMT
Keep-Alive: timeout=15, max=100
Pragma: no-cache
Proxy-Connection: close
Server: Apache/2.2.3 (Oracle) DAV/2 SVN/1.4.4-dev PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/
Vary: Cookie,
Not sure where set-cookie is coming from...?