Here's the stack and a bit of the trace...
$ 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'
Ran pdb to see what this was all about...
$ /usr/lib/python2.7/pdb.py /usr/bin/editmoin http://<personal_page_url>
> /usr/bin/editmoin(19)<module>()
-> """
(Pdb) b 442
Breakpoint 1 at /usr/bin/editmoin:442
(Pdb) r
Password for <my_moin_id>:
> /usr/bin/editmoin(442)get_session_cookie()
-> cookie.load(result.info()["set-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/0.9.8e-fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8
Vary: Cookie,User-Agent,Accept-Language
Not sure where set-cookie is coming from...?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/689328
Title:
editmoin always responds "error: body information not found"
To manage notifications about this bug go to:
https://bugs.launchpad.net/editmoin/+bug/689328/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs