| Zoranzoki21 added a comment. |
In T182580#4000359, @Xqt wrote:Can't follow the Problem but there is a remaining problelm with the whitelsit
C:\pwb\GIT\core>py -2 pwb.py patrol -simulate -lang:sr -whitelist:user:Zoranzoki21/patrol_whitelist
givesNewpages: Reloading whitelist ERROR: 'object' object has no attribute 'nodes' Traceback (most recent call last): File "pwb.py", line 264, in <module> if not main(): File "pwb.py", line 257, in main run_python_file(filename, [filename] + args, argvu, file_package) File "pwb.py", line 120, in run_python_file main_mod.__dict__) File ".\scripts\patrol.py", line 529, in <module> main() File ".\scripts\patrol.py", line 514, in main bot.run(feed) File ".\scripts\patrol.py", line 302, in run self.treat(page) File ".\scripts\patrol.py", line 339, in treat if self.in_list(self.whitelist[username], title): TypeError: string indices must be integers <type 'exceptions.TypeError'> CRITICAL: Closing network session.Anyway ignoring it gave me 3510 patroled pages
C:\pwb\GIT\core>py -2 pwb.py patrol -simulate -lang:sr Newpages: Loading Корисник:Xqbot/patrol_whitelist ERROR: Page [[sr:Корисник:Xqbot/patrol whitelist]] doesn't exist. 0/3510 patrolled
Ok. It working with creating it empty page. But, I no know, how to whitelist user, to this can work. I tryed with example on enwiktionary (I think to I seen it there), but no work. patrol.py ignore it.
TASK DETAIL
EMAIL PREFERENCES
To: Zoranzoki21
Cc: Framawiki, Xqt, Aklapper, Dvorapa, Zoranzoki21, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Framawiki, Xqt, Aklapper, Dvorapa, Zoranzoki21, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
