https://bugzilla.wikimedia.org/show_bug.cgi?id=55996

       Web browser: ---
            Bug ID: 55996
           Summary: Gender-modified namespace problem in touch.py
           Product: Pywikibot
           Version: compat (1.0)
          Hardware: PC
                OS: Windows 7
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

It seems this user (User:Elvire) has gender specified as "female", and it
changes the default User namespace alias (Portuguese language: default is
Utilizador; female is Utilizadora).
The bot cannot find the gender-mapped page in the list of fetched pages:

>touch.py -family:wiktionary -lang:pt Utilizador_discussão:Elvire

'git' is not recognized as an internal or external command,
operable program or batch file.
Getting 1 page via API from wiktionary:pt...
BUG>> title Utilizadora Discussão:Elvire ([[pt:Utilizador Discussão:Elvire]])
no
t found in list
Expected one of: [[pt:Utilizadora Discussão:Elvire]]
Traceback (most recent call last):
  File "D:\Work\pywikipedia\pagegenerators.py", line 1234, in __iter__
    for loaded_page in self.preload(somePages):
  File "D:\Work\pywikipedia\pagegenerators.py", line 1253, in preload
    pywikibot.getall(site, pagesThisSite)
  File "D:\Work\pywikipedia\wikipedia.py", line 5512, in getall
    _GetAll(site, pages, throttle, force).run()
  File "D:\Work\pywikipedia\wikipedia.py", line 5128, in run
    self.oneDoneApi(vals)
  File "D:\Work\pywikipedia\wikipedia.py", line 5406, in oneDoneApi
    raise PageNotFound
PageNotFound



Pywikibot: wikipedia.py (r-1 (unknown), 1b27881, 2013/10/14, 11:11:46,
OUTDATED)

Release version: 1.0b1
Python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to