Hi CobraSA,

please revert your changes in wikipedia.py and config.py. It is almost 
impossible to help you with modified  files and some of your errors results on 
these changes.
Next please enable api read access. At the moment api is read protected and 
results in an error. This is needed for the automatic generate_family_file
run generate_family_file.py with URL 
"http://nintendo-cartridges-database.the-chronicles.org/wiki";. Note that 
"/wiki" is needed since "nintendo-cartridges-database.the-chronicles.org" does 
not lead to the main page.

Greetings
xqt


----- Original Nachricht ----
Von:     CobraSA <[email protected]>
An:      Pywikipedia discussion list <[email protected]>
Datum:   25.12.2010 20:44
Betreff: Re: [Pywikipedia-l] setting my custom bot for my ncdb wiki

> You can access the wiki without an account.
> 
> From: John 
> Sent: Saturday, December 25, 2010 7:41 PM
> To: Pywikipedia discussion list 
> Subject: Re: [Pywikipedia-l] setting my custom bot for my ncdb wiki
> 
> can you create an account for: ?
> and email me the information?
> 
> 
> 
> On Sat, Dec 25, 2010 at 1:14 PM, CobraSA <[email protected]> wrote:
> 
>   Please insert URL to wiki:
> http://nintendo-cartridges-database.the-chronicles.or
>   g/wiki/Main_Page ncdb
> 
>   the g is on the next line I have entered 
>   http://nintendo-cartridges-database.the-chronicles.org/wiki/Main_Page
> ncdb
> 
>   It is just cut because when you copy paste command line, it does that
> 
> 
>   From: John 
>   Sent: Saturday, December 25, 2010 6:58 PM
>   To: Pywikipedia discussion list 
>   Subject: Re: [Pywikipedia-l] setting my custom bot for my ncdb wiki
> 
>   Ok you have NOT done it. The only URL that you have given was
> http://nintendo-cartridges-database.the-chronicles.or which is not a vaild
> URL, the valid version is
> http://nintendo-cartridges-database.the-chronicles.org (note the missing g)
> and that link is NOT to a wiki but rather a forum. Please do me a favor
> delete your existing ncdb family file, and go to your wiki's main page and
> copy/paste that address here. I will create either a working family file or
> a command that you will need to run to create it yourself (if it is on
> localhost).
> 
>   John
> 
> 
>   On Sat, Dec 25, 2010 at 12:48 PM, CobraSA <[email protected]> wrote:
> 
>     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
> 
> 
> 
> 
> ----------------------------------------------------------------------------
> --
> 
>   _______________________________________________
>   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
> 
> 
> --------------------------------
> 
> _______________________________________________
> 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