Check one of my previous message please. It didn’t work.

Even with the family file dlated


D:\Development\python>python generate_family_file.py
Usage: %s <url> <short name>
Example: %s http://www.mywiki.bogus/wiki/Main_Page mywiki
This will create the file families/mywiki_family.py
Please insert URL to wiki: http://nintendo-cartridges-database.the-chronicles.or
g/wiki/Main_Page ncdb
Please insert a short name (eg: freeciv): ncdb
Generating family file from http://nintendo-cartridges-database.the-chronicles.o
rg/wiki/Main_Page ncdb
Traceback (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 run
    w = 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 urlopen
    return urllib2.urlopen(req)
  File "D:\Development\python\lib\urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "D:\Development\python\lib\urllib2.py", line 383, in open
    response = 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_chain
    result = func(*args)
  File "D:\Development\python\lib\urllib2.py", line 1130, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "D:\Development\python\lib\urllib2.py", line 1103, in do_open
    r = h.getresponse()
  File "D:\Development\python\lib\httplib.py", line 950, in getresponse
    response.begin()
  File "D:\Development\python\lib\httplib.py", line 390, in begin
    version, status, reason = self._read_status()
  File "D:\Development\python\lib\httplib.py", line 354, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine

D:\Development\python>

Please help me.

From: John Doe 
Sent: Saturday, December 25, 2010 5:18 PM
To: Pywikipedia discussion list 
Subject: Re: [Pywikipedia-l] setting my custom bot for my ncdb wiki

You 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 <[email protected]> wrote:

  I have a great favor to ask to someone of you.
  Please send me a working package of python+pywikibot for your personal wiki
  So I just edit config and family and then it will work

  Please I beg you all this is the most simple solution.

  _______________________________________________
  Pywikipedia-l mailing list
  [email protected]
  https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l






--------------------------------------------------------------------------------
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to