On Sun, 05 Jul 2015 13:27:30 +0200 Petter Reinholdtsen wrote:

> Are anyone able to get editmoin working with wiki.debian.org now?

I found that removing or commenting this line fixes editmoin:

urlopener.addheader("Cookie", "MOIN_ID=%s" % cookievalue) 

I don't know why and I don't know if this breaks editmoin when it is
used against old versions of MoinMoin, but it probably would do that.

So I suspect that urllib.FancyURLopener or MoinMoin no longer likes it
when two Cookie headers are present. Probably the right fix would be to
rewrite editmoin using a more modern web client library like requests
or mechanize.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to