(Now posting as member.)
I am new at running pywikipedia bots and running an update bot with the same structure/calls as in the script at:
http://ontoworld.org/wiki/Ontology_import#Alternative_import
The problem is that when I run the bot NO new page is created;
I have tested that the bot user/password works in the wiki.
Questions:
- Is there some other configuration setting which needs to be set ot
allow bots to make updates to the wiki?
- What other troubleshooting can I do to find out why this isn't
working?
Thanks in advance for your help.
Dave J.
The trace of this script is:
Checked for running processes. 2 processes currently running, including the current process. clone:en BOT ALLOWED? True cloneBot password Creating Works {{Tools-Models |Description=3D model building tool
}} Getting a page to check if we're logged in on clone:en Password for user cloneBot on clone:en: Warning: Problem with getpass. Passwords may be echoed. password Logging in to clone:en as cloneBot Should be logged in now Sleeping for 3.5 seconds, 2007-10-17 14:32:44 Creating page [[en:Works]] Pages that already exist; no overwrite. []
By the way:
There is an apparent code error in wikipedia.py at line, which I changed as follows:
## predata.append(("Content-type","application/x-www-form-urlencoded")) ## predata.append(("User-agent", useragent)) ## Mod by DHJ predata["Content-type"] = "application/x-www-form-urlencoded" predata["User-agent"] = useragent
This is somewhat suspicious that this error hasn't been found yet, if it part of the normal update process.