Hi CobraSA,
On 23 December 2010 08:40, CobraSA <CobraSA(a)live.com> wrote:
(in reverse order)
Why did you edit these? This is generally unnecessary - anything in
config.py can be set in user-config.py, and anything in family.py can
be set in ncdb_family.py. Wikipedia.py should be modular enough to
'just work'.
Here is my user-config.py
http://pastebin.com/AtFUHPeq
In families folder I created a file ncdb_family.py, content:
http://pastebin.com/0KW4EVBY These look OK on first sight.
I tried to follow the tutorial but I still run in
some trouble when I
use
File "d:\development\pymw\wikipedia.py", line 4789, in Site
def __init__(self, code, fam=ncdb, user=root, persistent_http =
False ):
You did not define variables called ncdb or root. Did you mean
fam="ncdb" and user="root"?
However, I would suggest using the original files. It is very hard for
other people to help you when files such as wikipedia.py, family.py
and config.py are changed. Try to only change things in user-config.py
and ncdb_family.py - the bot will then probably run fine.
Best regards,
Merlijn