On Jul 2, 2013, at 5:18 PM, Merlijn van Deen <[email protected]> wrote:

> Hi William,
> 
> 
> On 2 July 2013 22:56, William H. Magill <[email protected]> wrote:
> The implication from everything I have read so far, is that I will need to 
> create a "Family" file to support this private wiki.
> This is correct.
>  
> Q1 -- Assuming this is necessary ...(which is the first question... is a 
> "FAMIILY" and family file necessary at all when running against a private 
> Wiki.
> 
> Reading the file families/README-family.txt" the first thing it suggests is 
> to run the script -- "generate_family_file.py". 
> Which is also correct
>  
> --- it fails consistently. 
> Which it shouldn't :-)
>  
> > python generate_family_file.py
> Traceback (most recent call last):
>   File "generate_family_file.py", line 36, in <module>
>     import config
>   File "/Users/magill/pywikipedia/config.py", line 606, in <module>
>     execfile(_filename)
>   File "./user-config.py", line 4, in <module>
>     usernames['mywiki']['en'] = u'magill-bot'
> KeyError: 'mywiki'
> 
> Basically, what is happening is that generate_family_file is loading your 
> user-config file, but your user-config file has an unrecognised family name 
> ('mywiki') in it. This should not happen, but as a workaround, try removing 
> your user-config, /then/ running generate_family_file.py and /then/ 
> generate_user_files.py.
> 
> I've opened a bug for this at 
> https://sourceforge.net/p/pywikipediabot/bugs/1639/

Yes, renaming the user-config file allowed the generate family file to work. I 
can now (apparently and successfully) login to lotro-wiki.com.... 

next step is to figure out what scripts (if any) are useful. ... lots more 
reading to do!

At this point, I think I've finished updating the Mac Installation page.

Thanks for all your help.

T.T.F.N.
William H. Magill                                                            

[email protected]
[email protected]
[email protected]









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

Reply via email to