Check one of my previous message please. It didn’t work.Even with the family file dlatedD:\Development\python>python generate_family_file.pyUsage: %s <url> <short name>Example: %s http://www.mywiki.bogus/wiki/Main_Page mywikiThis will create the file families/mywiki_family.pyPlease insert URL to wiki: http://nintendo-cartridges-database.the-chronicles.org/wiki/Main_Page ncdbPlease insert a short name (eg: freeciv): ncdbGenerating family file from http://nintendo-cartridges-database.the-chronicles.org/wiki/Main_Page ncdbTraceback (most recent call last):File "generate_family_file.py", line 256, in <module>FamilyFileGenerator(*sys.argv[1:]).run()File "generate_family_file.py", line 60, in runw = Wiki(self.base_url)File "generate_family_file.py", line 217, in __init__data = urlopen(fromurl).read()File "generate_family_file.py", line 21, in urlopenreturn urllib2.urlopen(req)File "D:\Development\python\lib\urllib2.py", line 124, in urlopenreturn _opener.open(url, data, timeout)File "D:\Development\python\lib\urllib2.py", line 383, in openresponse = self._open(req, data)File "D:\Development\python\lib\urllib2.py", line 401, in _open'_open', req)File "D:\Development\python\lib\urllib2.py", line 361, in _call_chainresult = func(*args)File "D:\Development\python\lib\urllib2.py", line 1130, in http_openreturn self.do_open(httplib.HTTPConnection, req)File "D:\Development\python\lib\urllib2.py", line 1103, in do_openr = h.getresponse()File "D:\Development\python\lib\httplib.py", line 950, in getresponseresponse.begin()File "D:\Development\python\lib\httplib.py", line 390, in beginversion, status, reason = self._read_status()File "D:\Development\python\lib\httplib.py", line 354, in _read_statusraise BadStatusLine(line)httplib.BadStatusLineD:\Development\python>Please help me.From: John DoeSent: Saturday, December 25, 2010 5:18 PMSubject: Re: [Pywikipedia-l] setting my custom bot for my ncdb wikiYou just need to follow directions about running generate_family_files.py its not that hard, also my custom wiki follows a different setup than yours
Just run generate family files like you where told:
python generate_family_files.py URL_TO_YOUR_MAIN_PAGE ncdb
if your run the exact command above but replace URL_TO_YOUR_MAIN_PAGE with an actual URL it will work
On Sat, Dec 25, 2010 at 11:11 AM, CobraSA <CobraSA@live.com> wrote:
I have a great favor to ask to someone of you.Please send me a working package of python+pywikibot for your personal wikiSo I just edit config and family and then it will workPlease I beg you all this is the most simple solution.
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l