Mattschillinger / wikiteam

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

Wikis with poor-man's HTTP Basic Auth fail with HTTP 401 #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the current dumpgenerator.py on wiki.musicbrainz.org (no API, only 
index, at http://wiki.musicbrainz.org/)
2. Watch it fail

What is the expected output? What do you see instead?
Should start dumping. Instead, throws urllib2 error for HTTP 401

What version of the product are you using? On what operating system?
Current SVN, Arch Linux, Python 2.7.2

Please provide any additional information below.
Attached file fixes the problem for me (I've added --username and --password to 
config and then use them, when they're set, to add the proper Basic: HTTP 
header).

Original issue reported on code.google.com by mcewen....@gmail.com on 24 Oct 2011 at 8:03

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by nemow...@gmail.com on 29 Feb 2012 at 11:46

GoogleCodeExporter commented 8 years ago
I tried your script with username and password set and it fails for me the same 
way the base script does -- see 
https://groups.google.com/forum/?fromgroups=#!topic/wikiteam-discuss/YqTih3-IWLQ

Original comment by rbooksta...@gmail.com on 21 Mar 2013 at 4:10

GoogleCodeExporter commented 8 years ago

Original comment by ad...@alphacorp.tk on 12 Nov 2013 at 6:38